summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/photo
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
commitb4fc5f639874db951177ec539299d20908adb654 (patch)
tree52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/photo
parentdec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff)
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/photo')
-rw-r--r--Master/texmf-dist/doc/latex/photo/photo.pdfbin0 -> 161773 bytes
-rw-r--r--Master/texmf-dist/doc/latex/photo/photo_test.lop26
-rw-r--r--Master/texmf-dist/doc/latex/photo/photo_test.tex123
3 files changed, 149 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/photo/photo.pdf b/Master/texmf-dist/doc/latex/photo/photo.pdf
new file mode 100644
index 00000000000..12fc9ea45e4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/photo/photo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/photo/photo_test.lop b/Master/texmf-dist/doc/latex/photo/photo_test.lop
new file mode 100644
index 00000000000..cc0a14c57e5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/photo/photo_test.lop
@@ -0,0 +1,26 @@
+\contentsline {photo}{\numberline {1}{\ignorespaces placement left. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
+\contentsline {photo}{\numberline {2}{\ignorespaces placement right. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
+\contentsline {photo}{\numberline {3}{\ignorespaces placement inside. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
+\contentsline {photo}{\numberline {4}{\ignorespaces placement outside. abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc }}{2}
+\contentsline {photo}{\numberline {5}{\ignorespaces placement outside. abc abc abc abc abc abc abc }}{2}
+\contentsline {photo}{\numberline {6}{\ignorespaces placement outside. t caption. abc abc abc abc abc abc abc }}{3}
+\contentsline {photo}{\numberline {7}{\ignorespaces placement outside. c caption. abc abc abc abc abc abc abc }}{3}
+\contentsline {photo}{\numberline {8}{\ignorespaces placement outside. short c caption.}}{3}
+\contentsline {photo}{\numberline {9}{\ignorespaces placement outside. b caption. abc abc abc abc abc abc abc }}{3}
+\contentsline {photo}{\numberline {10}{\ignorespaces placement inside. t caption. u. abc abc abc abc abc abc abc }}{3}
+\contentsline {photo}{\numberline {11}{\ignorespaces placement inside. c caption. u. abc abc abc abc abc abc abc }}{3}
+\contentsline {photo}{\numberline {12}{\ignorespaces inside. short c caption. u.}}{3}
+\contentsline {photo}{\numberline {13}{\ignorespaces placement inside. b caption. u. abc abc abc abc abc abc abc }}{3}
+\contentsline {photo}{\numberline {14}{\ignorespaces photo l. t caption. taker s. abc abc abc abc abc abc abc }}{4}
+\contentsline {photo}{\numberline {15}{\ignorespaces photo l. c caption. taker s. abc abc abc abc abc abc abc }}{4}
+\contentsline {photo}{\numberline {16}{\ignorespaces photo l. c caption. taker s.}}{4}
+\contentsline {photo}{\numberline {17}{\ignorespaces photo l. b caption. taker s. abc abc abc abc abc abc abc }}{4}
+\contentsline {photo}{\numberline {18}{\ignorespaces photo r. t caption. taker s. abc abc abc abc abc abc abc }}{4}
+\contentsline {photo}{\numberline {19}{\ignorespaces photo r. c caption. taker s. abc abc abc abc abc abc abc }}{4}
+\contentsline {photo}{\numberline {20}{\ignorespaces photo r. c caption. taker s.}}{4}
+\contentsline {photo}{\numberline {21}{\ignorespaces photo r. b caption. taker s. abc abc abc abc abc abc abc }}{4}
+\contentsline {photo}{\numberline {22}{\ignorespaces defaults.}}{5}
+\contentsline {photo}{\numberline {23}{\ignorespaces lop caption}}{5}
+\contentsline {photo}{\numberline {24}{\ignorespaces Photo environment. i. caption for this.}}{5}
+\contentsline {photo}{\numberline {25}{\ignorespaces Photo env lop cap}}{5}
+\contentsline {photo}{\numberline {26}{\ignorespaces defaults again.}}{5}
diff --git a/Master/texmf-dist/doc/latex/photo/photo_test.tex b/Master/texmf-dist/doc/latex/photo/photo_test.tex
new file mode 100644
index 00000000000..843bebd57d8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/photo/photo_test.tex
@@ -0,0 +1,123 @@
+\documentclass{article}
+
+%\let\oldpageref\pageref
+\usepackage[english,german]{babel}
+%\let\pageref\oldpageref
+
+\usepackage[
+ shortlop,
+ under,
+ % side,
+ % top,
+ % center,
+ % bottom,
+ ]{photo}
+\oecaptionsep 2mm
+
+\usepackage{vmargin}
+\setmargins{30mm}{15mm}{150mm}{250mm}{10pt}{5mm}{}{10mm}
+\columnsep 5mm
+
+\parindent 0em
+\parskip 3ex
+
+\fboxsep 0mm
+\fboxrule 1pt
+
+\newcommand\captext{
+abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc
+}
+\newcommand\capt{
+abc abc abc abc abc abc abc
+}
+\newcommand\ph[1]{%
+ %\fbox{\parbox{#1}{\rule[-0mm]{0mm}{0mm}}}%
+ \fbox{\parbox{#1}{\leavevmode Mg\vrule width 0mm height 05mm depth 011mm}}%
+}
+
+
+\begin{document}
+
+\rule{\textwidth}{2mm}
+
+\listofphotos
+
+\newpage
+\rule{\textwidth}{1mm}
+
+\putphoto[l]{label1}{grapher}{\ph{0.8\textwidth}}{placement left. \captext}
+
+\putphoto[r]{label2}{grapher}{\ph{0.8\textwidth}}{placement right. \captext}
+
+\putphoto[i]{}{photographer}{\ph{0.8\textwidth}}{placement inside. \captext}
+
+\putphoto[o]{}{photographer}{\ph{0.8\textwidth}}{placement outside. \captext}
+
+\putphoto[o]{}{photographer}{\ph{0.8\textwidth}}{placement outside. \capt}
+
+\newpage
+\rule{\textwidth}{1mm}
+
+\putphoto[ot]{}{photographer}{\ph{70mm}}{placement outside. t caption. \capt}
+
+\putphoto[oc]{}{photographer}{\ph{70mm}}{placement outside. c caption. \capt}
+
+\putphoto[oc]{}{photographer}{\ph{70mm}}{placement outside. short c caption.}
+
+\putphoto[ob]{}{photographer}{\ph{70mm}}{placement outside. b caption. \capt}
+
+\putphoto[itu]{}{photographer}{\ph{70mm}}{placement inside. t caption. u. \capt}
+
+\putphoto[icu]{}{photographer}{\ph{70mm}}{placement inside. c caption. u. \capt}
+
+\putphoto[icu]{}{photographer}{\ph{70mm}}{inside. short c caption. u.}
+
+\putphoto[ibu]{}{photographer}{\ph{70mm}}{placement inside. b caption. u. \capt}
+
+\newpage
+\rule{\textwidth}{1mm}
+
+\putphoto[lst]{}{photographer}{\ph{70mm}}{photo l. t caption. taker s. \capt}
+
+\putphoto[lsc]{}{photographer}{\ph{70mm}}{photo l. c caption. taker s. \capt}
+
+\putphoto[lsc]{}{photographer}{\ph{70mm}}{photo l. c caption. taker s.}
+
+\putphoto[lsb]{}{photographer}{\ph{70mm}}{photo l. b caption. taker s. \capt
+\label{ph:photo}}
+
+\putphoto[rst]{}{photographer}{\ph{70mm}}{photo r. t caption. taker s. \capt}
+
+\putphoto[rsc]{}{photographer}{\ph{70mm}}{photo r. c caption. taker s. \capt}
+
+\putphoto[rsc]{}{photographer}{\ph{70mm}}{photo r. c caption. taker s.}
+
+\putphoto[rsb]{}{photographer}{\ph{70mm}}{photo r. b caption. taker s. \capt}
+
+\newpage
+\rule{\textwidth}{1mm}
+
+\putphoto{}{photographer}{\ph{70mm}}{defaults.}
+
+\putphoto{}{photographer}{\ph{70mm}}[lop caption]{lop cap, defaults.}
+
+%\clearpage % will start a new page and put floats there
+\defaultphotoplacement{hb} % will put floats "here"
+% everything else will mix up order of floats with fixed placements!!
+
+\begin{Photo}[i]{}{phogr}{Photo environment. i. caption for this.}
+\ph{70mm}
+\end{Photo}
+
+\begin{Photo}[i]{}{phogr}[Photo env lop cap]{Photo environment. i. caption.}
+\ph{70mm}
+\end{Photo}
+
+\putphoto{}{photographer}{\ph{70mm}}{defaults again.}
+
+\vspace{10mm}
+
+Testing cross-referencing:
+This is lower-case \phref{ph:photo}, and upper-case: \Phref{ph:photo}.
+
+\end{document}