summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-24 20:45:16 +0000
committerKarl Berry <karl@freefriends.org>2023-01-24 20:45:16 +0000
commit685138596f5a193370ef43a3a67a087216794740 (patch)
tree15bf0e7450e1252a58567f1456018edf430c6d34 /Master/texmf-dist/doc/latex
parent80c93c8f00f58020c56174ee314ad783b1bd44af (diff)
sidecap (24jan23)
git-svn-id: svn://tug.org/texlive/trunk@65618 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/sidecap/README.md (renamed from Master/texmf-dist/doc/latex/sidecap/README)10
-rw-r--r--Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex122
-rw-r--r--Master/texmf-dist/doc/latex/sidecap/scraggeddemo.tex128
-rw-r--r--Master/texmf-dist/doc/latex/sidecap/sidecap.pdfbin156630 -> 325718 bytes
4 files changed, 130 insertions, 130 deletions
diff --git a/Master/texmf-dist/doc/latex/sidecap/README b/Master/texmf-dist/doc/latex/sidecap/README.md
index 7838eedf0d1..3ff7337544d 100644
--- a/Master/texmf-dist/doc/latex/sidecap/README
+++ b/Master/texmf-dist/doc/latex/sidecap/README.md
@@ -1,3 +1,4 @@
+LaTeX package that defines figure/table environments with side labeling
The sidecap package.
@@ -5,11 +6,4 @@ This package defines the new environments SCfigure and SCtable, analogous to
figure and table, which make it easy to typeset captions sideways. The package
knows the options outercaption, innercaption, leftcaption and rightcaption.
-Please send enhancements and corrections to:
-
- Rolf Niepraschk, Rolf.Niepraschk@ptb.de
- Hubert Gaesslein,
-
- 2003/05/04
-
-
+2023/01/24
diff --git a/Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex b/Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex
deleted file mode 100644
index 22b5dd9ff81..00000000000
--- a/Master/texmf-dist/doc/latex/sidecap/sc-test-common.tex
+++ /dev/null
@@ -1,122 +0,0 @@
-
-% `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
diff --git a/Master/texmf-dist/doc/latex/sidecap/scraggeddemo.tex b/Master/texmf-dist/doc/latex/sidecap/scraggeddemo.tex
new file mode 100644
index 00000000000..0b190108d5c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sidecap/scraggeddemo.tex
@@ -0,0 +1,128 @@
+
+% Rolf Niepraschk, 2002-05-18
+
+\listfiles
+
+\documentclass[12pt,a4paper,twoside]{article}
+\usepackage[bf,footnotesize]{caption2}
+%\usepackage[leftcaption,ragged]{sidecap}
+\usepackage[innercaption,ragged]{sidecap}
+%\usepackage[innercaption,raggedright,origragged]{sidecap}
+
+
+\renewcommand\tablename{Tab.} \renewcommand\figurename{Fig.}
+\setlength{\belowcaptionskip}{\abovecaptionskip}
+\setlength{\parindent}{0pt}
+
+% --- ???? -----
+\setcounter{topnumber}{4}
+\renewcommand{\topfraction}{.8}
+\setcounter{bottomnumber}{4}
+\renewcommand{\bottomfraction}{.7}
+\setcounter{totalnumber}{10}
+\renewcommand{\textfraction}{.1}
+\renewcommand\floatpagefraction{.7}
+
+\setlength\emergencystretch{20pt}
+
+\setlength\unitlength{1cm}
+\newcommand{\FIGi}{%
+ \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}}
+}
+
+\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{\SHORTCAPi}{%
+ Schematischer Aufbau usw.}
+
+\newcommand{\CAPi}{%
+ Schematischer Aufbau eines Diodenlasers. Ober- und Unterseite des Kristalls
+ sind metallisch kontaktiert, die Vorder- und R\"uckseite verspiegelt. Die
+ Dicke der aktiven Zone (pn-\"ubergang) liegt in der Gr\"o{\ss}enordnung von
+ 5\,$\mu$m.}
+
+\makeatletter
+
+\newcommand*\justified{%
+ % \let\SC@justify\relax % geht nicht
+ \centering
+ }
+
+\makeatother
+
+\begin{document}
+
+\section*{The \texttt{SideCap} package (scraggeddemo)}
+
+\begin{figure}[bhp]
+ \centering
+ \FIGi%
+ \caption[\SHORTCAPi]{\CAPi}\label{fig:A}%
+\end{figure}
+
+\begin{SCfigure}[1.2][bhp]
+ \FIGi%
+ \caption[\SHORTCAPi]{\justified\CAPi}\label{fig:B}%
+\end{SCfigure}
+
+\begin{SCfigure}[1.2][bhp]
+ \FIGi%
+ \caption[\SHORTCAPi]{\CAPi}\label{fig:C}%
+\end{SCfigure}
+
+\begin{SCfigure}[][bhp]
+ \FIGi%
+ \caption[\SHORTCAPi]{\CAPi}\label{fig:D}%
+\end{SCfigure}
+
+\begin{SCtable}
+ \caption[\SHORTCAPi]{\CAPi}\label{tab:A}%
+ \FIGi%
+\end{SCtable}
+
+\begin{table}
+ \centering
+ \caption[\SHORTCAPi]{\CAPi}\label{tab:B}%
+ \TABi%
+\end{table}
+
+\begin{SCtable}
+ \caption[\SHORTCAPi]{\CAPi}\label{tab:C}%
+ \TABi%
+\end{SCtable}
+
+\end{document}
+
+
+
+
+
+
+
+
diff --git a/Master/texmf-dist/doc/latex/sidecap/sidecap.pdf b/Master/texmf-dist/doc/latex/sidecap/sidecap.pdf
index 5482eef650f..d8510924a4a 100644
--- a/Master/texmf-dist/doc/latex/sidecap/sidecap.pdf
+++ b/Master/texmf-dist/doc/latex/sidecap/sidecap.pdf
Binary files differ