From b4fc5f639874db951177ec539299d20908adb654 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 00:44:40 +0000 Subject: doc 4 git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/photo/photo.pdf | Bin 0 -> 161773 bytes Master/texmf-dist/doc/latex/photo/photo_test.lop | 26 +++++ Master/texmf-dist/doc/latex/photo/photo_test.tex | 123 +++++++++++++++++++++++ 3 files changed, 149 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/photo/photo.pdf create mode 100644 Master/texmf-dist/doc/latex/photo/photo_test.lop create mode 100644 Master/texmf-dist/doc/latex/photo/photo_test.tex (limited to 'Master/texmf-dist/doc/latex/photo') 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 Binary files /dev/null and b/Master/texmf-dist/doc/latex/photo/photo.pdf 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} -- cgit v1.2.3