summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex')
-rw-r--r--Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex122
1 files changed, 122 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex b/Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex
new file mode 100644
index 00000000000..22b5dd9ff81
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex
@@ -0,0 +1,122 @@
+
+% `sc-test-comon.tex', part of the LaTeX package `sidecap'
+% 2003-02-21
+% Rolf Niepraschk and Hubert G\"a\ss{}lein -- niepraschk@ptb.de
+
+\setlength{\emergencystretch}{20pt}
+\renewcommand{\textfraction}{0}
+\renewcommand{\topfraction}{1}
+\renewcommand{\bottomfraction}{1}
+\setcounter{bottomnumber}{4}
+\setcounter{topnumber}{4}
+\setcounter{totalnumber}{8}
+
+\errorcontextlines100
+
+\renewcommand\tablename{Tab.} \renewcommand\figurename{Fig.}
+
+\setlength{\belowcaptionskip}{\abovecaptionskip}
+
+\setlength\columnseprule{.4pt}
+
+\newcommand{\FIG}[2][]{%
+ \begingroup
+ \def\xxx{#1}%
+ \ifx\xxx\empty
+ \setlength{\unitlength}{\linewidth}%
+ \addtolength{\unitlength}{-2\fboxrule}%
+ \setlength{\unitlength}{.1\unitlength}%
+ \else
+ \setlength{\unitlength}{#1}%
+ \fi%
+ \setlength{\fboxsep}{0pt}%
+ \ifcase#2\relax
+ \or%
+ \fbox{%
+ \begin{picture}(4,6)%
+ \put(1,5){\circle{1}}%
+ \put(3,5){\circle{1}}%
+ \put(2,3){\circle{1}}%
+ \put(1,1){\circle{1}}%
+ \put(3,1){\circle{1}}%
+ \end{picture}}%
+ \or%
+ \fbox{%
+ \begin{picture}(10,4)%
+ \put(1,3){\circle{1}}%
+ \put(9,3){\circle{1}}%
+ \put(5,2){\circle{1}}%
+ \put(1,1){\circle{1}}%
+ \put(9,1){\circle{1}}%
+ \end{picture}}%
+ \or% (doesn't make a difference to use [b] or [t] or [c] here !!!)
+ \begin{minipage}{5\unitlength}%
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text.
+ \end{minipage}%
+ \or% (doesn't make a difference to use [b] or [t] or [c] here !!!)
+ \begin{minipage}{5\unitlength}%
+ \strut
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text
+ text text text text text text text text.
+ \unskip\strut
+ \end{minipage}%
+ \fi
+ \endgroup
+}
+
+\newcommand{\TABi}{%
+ \begin{tabular}{@{} | c | c c c c c | @{}} \hline
+ \multicolumn{1}{| c} {1}
+ & 2 & 3 & 4 & 5 & 6 \\ \cline{2-6}
+ 2 & 4 & 6 & 8 & 10 & 12 \\
+ 3 & 6 & 9 & 12 & 15 & 18 \\
+ 4 & 8 & 12 & 16 & 20 & 24 \\
+ 5 & 10 & 15 & 20 & 25 & 30 \\
+ 6 & 12 & 18 & 24 & 30 & 36 \\
+ 7 & 14 & 21 & 28 & 35 & 42 \\
+ 8 & 16 & 24 & 32 & 40 & 48 \\
+ 9 & 18 & 27 & 36 & 45 & 54 \\
+ 10 & 20 & 30 & 40 & 50 & 60 \\
+ 11 & 22 & 33 & 44 & 55 & 66 \\
+ 12 & 24 & 36 & 48 & 60 & 72 \\
+ 13 & 26 & 39 & 52 & 65 & 78 \\
+ 14 & 28 & 42 & 56 & 70 & 84 \\
+ \hline
+ \end{tabular}%
+}
+
+
+\newcommand{\CAPi}{%
+ The dazed brown fox quickly gave 12345--67890 jumps!
+ The dazed brown fox quickly gave 12345--67890 jumps!
+}
+
+\newcommand{\CAPii}{%
+ The dazed brown fox quickly gave 12345--67890 jumps!
+ The dazed brown fox quickly gave 12345--67890 jumps!
+ The dazed brown fox quickly gave 12345--67890 jumps!
+ The dazed brown fox quickly gave 12345--67890 jumps!
+}
+
+\newcommand{\SHORTCAPi}{%
+ The dazed brown fox etc.}
+
+\newcommand*{\MARKER}
+ {\noindent\strut\vrule\hrulefill~text area
+ (\ifthenelse{\isodd{\thepage}}{odd}{even} page)~\hrulefill\vrule%
+ \marginpar{\strut\vrule\hrulefill~margin area~\hrulefill\vrule}}
+
+\endinput