| 1 |
\documentclass{article} |
| 2 |
|
| 3 |
%\let\oldpageref\pageref |
| 4 |
\usepackage[english,german]{babel} |
| 5 |
%\let\pageref\oldpageref |
| 6 |
|
| 7 |
\usepackage[ |
| 8 |
shortlop, |
| 9 |
under, |
| 10 |
% side, |
| 11 |
% top, |
| 12 |
% center, |
| 13 |
% bottom, |
| 14 |
]{photo} |
| 15 |
\oecaptionsep 2mm |
| 16 |
|
| 17 |
\usepackage{vmargin} |
| 18 |
\setmargins{30mm}{15mm}{150mm}{250mm}{10pt}{5mm}{}{10mm} |
| 19 |
\columnsep 5mm |
| 20 |
|
| 21 |
\parindent 0em |
| 22 |
\parskip 3ex |
| 23 |
|
| 24 |
\fboxsep 0mm |
| 25 |
\fboxrule 1pt |
| 26 |
|
| 27 |
\newcommand\captext{ |
| 28 |
abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc |
| 29 |
} |
| 30 |
\newcommand\capt{ |
| 31 |
abc abc abc abc abc abc abc |
| 32 |
} |
| 33 |
\newcommand\ph[1]{% |
| 34 |
%\fbox{\parbox{#1}{\rule[-0mm]{0mm}{0mm}}}% |
| 35 |
\fbox{\parbox{#1}{\leavevmode Mg\vrule width 0mm height 05mm depth 011mm}}% |
| 36 |
} |
| 37 |
|
| 38 |
|
| 39 |
\begin{document} |
| 40 |
|
| 41 |
\rule{\textwidth}{2mm} |
| 42 |
|
| 43 |
\listofphotos |
| 44 |
|
| 45 |
\newpage |
| 46 |
\rule{\textwidth}{1mm} |
| 47 |
|
| 48 |
\putphoto[l]{label1}{grapher}{\ph{0.8\textwidth}}{placement left. \captext} |
| 49 |
|
| 50 |
\putphoto[r]{label2}{grapher}{\ph{0.8\textwidth}}{placement right. \captext} |
| 51 |
|
| 52 |
\putphoto[i]{}{photographer}{\ph{0.8\textwidth}}{placement inside. \captext} |
| 53 |
|
| 54 |
\putphoto[o]{}{photographer}{\ph{0.8\textwidth}}{placement outside. \captext} |
| 55 |
|
| 56 |
\putphoto[o]{}{photographer}{\ph{0.8\textwidth}}{placement outside. \capt} |
| 57 |
|
| 58 |
\newpage |
| 59 |
\rule{\textwidth}{1mm} |
| 60 |
|
| 61 |
\putphoto[ot]{}{photographer}{\ph{70mm}}{placement outside. t caption. \capt} |
| 62 |
|
| 63 |
\putphoto[oc]{}{photographer}{\ph{70mm}}{placement outside. c caption. \capt} |
| 64 |
|
| 65 |
\putphoto[oc]{}{photographer}{\ph{70mm}}{placement outside. short c caption.} |
| 66 |
|
| 67 |
\putphoto[ob]{}{photographer}{\ph{70mm}}{placement outside. b caption. \capt} |
| 68 |
|
| 69 |
\putphoto[itu]{}{photographer}{\ph{70mm}}{placement inside. t caption. u. \capt} |
| 70 |
|
| 71 |
\putphoto[icu]{}{photographer}{\ph{70mm}}{placement inside. c caption. u. \capt} |
| 72 |
|
| 73 |
\putphoto[icu]{}{photographer}{\ph{70mm}}{inside. short c caption. u.} |
| 74 |
|
| 75 |
\putphoto[ibu]{}{photographer}{\ph{70mm}}{placement inside. b caption. u. \capt} |
| 76 |
|
| 77 |
\newpage |
| 78 |
\rule{\textwidth}{1mm} |
| 79 |
|
| 80 |
\putphoto[lst]{}{photographer}{\ph{70mm}}{photo l. t caption. taker s. \capt} |
| 81 |
|
| 82 |
\putphoto[lsc]{}{photographer}{\ph{70mm}}{photo l. c caption. taker s. \capt} |
| 83 |
|
| 84 |
\putphoto[lsc]{}{photographer}{\ph{70mm}}{photo l. c caption. taker s.} |
| 85 |
|
| 86 |
\putphoto[lsb]{}{photographer}{\ph{70mm}}{photo l. b caption. taker s. \capt |
| 87 |
\label{ph:photo}} |
| 88 |
|
| 89 |
\putphoto[rst]{}{photographer}{\ph{70mm}}{photo r. t caption. taker s. \capt} |
| 90 |
|
| 91 |
\putphoto[rsc]{}{photographer}{\ph{70mm}}{photo r. c caption. taker s. \capt} |
| 92 |
|
| 93 |
\putphoto[rsc]{}{photographer}{\ph{70mm}}{photo r. c caption. taker s.} |
| 94 |
|
| 95 |
\putphoto[rsb]{}{photographer}{\ph{70mm}}{photo r. b caption. taker s. \capt} |
| 96 |
|
| 97 |
\newpage |
| 98 |
\rule{\textwidth}{1mm} |
| 99 |
|
| 100 |
\putphoto{}{photographer}{\ph{70mm}}{defaults.} |
| 101 |
|
| 102 |
\putphoto{}{photographer}{\ph{70mm}}[lop caption]{lop cap, defaults.} |
| 103 |
|
| 104 |
%\clearpage % will start a new page and put floats there |
| 105 |
\defaultphotoplacement{hb} % will put floats "here" |
| 106 |
% everything else will mix up order of floats with fixed placements!! |
| 107 |
|
| 108 |
\begin{Photo}[i]{}{phogr}{Photo environment. i. caption for this.} |
| 109 |
\ph{70mm} |
| 110 |
\end{Photo} |
| 111 |
|
| 112 |
\begin{Photo}[i]{}{phogr}[Photo env lop cap]{Photo environment. i. caption.} |
| 113 |
\ph{70mm} |
| 114 |
\end{Photo} |
| 115 |
|
| 116 |
\putphoto{}{photographer}{\ph{70mm}}{defaults again.} |
| 117 |
|
| 118 |
\vspace{10mm} |
| 119 |
|
| 120 |
Testing cross-referencing: |
| 121 |
This is lower-case \phref{ph:photo}, and upper-case: \Phref{ph:photo}. |
| 122 |
|
| 123 |
\end{document} |