summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/semioneside
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
commit007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch)
tree90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/semioneside
parent950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff)
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/semioneside')
-rw-r--r--Master/texmf-dist/doc/latex/semioneside/README27
-rw-r--r--Master/texmf-dist/doc/latex/semioneside/example.tex60
-rw-r--r--Master/texmf-dist/doc/latex/semioneside/figure.mp65
-rw-r--r--Master/texmf-dist/doc/latex/semioneside/semioneside.pdfbin0 -> 148416 bytes
4 files changed, 152 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/semioneside/README b/Master/texmf-dist/doc/latex/semioneside/README
new file mode 100644
index 00000000000..9e56c9370af
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/semioneside/README
@@ -0,0 +1,27 @@
+
+This is version 0.41 of the semioneside package, providing
+support for one sided layout with figures etc. on left-hand
+pages. Please refer to semioneside.pdf to learn more about
+this package.
+
+To install the package and to build documentation
+follow this steps:
+
+1. Run 'tex semioneside.ins' to extract the style file
+ semioneside.sty, a MetaPost source file figure.mp and an
+ example LaTeX file example.tex.
+2. Run 'mpost -tex=latex figure' to build the graphic.
+3. Run 'latex semioneside.dtx' (or pdflatex).
+4. Run 'makeindex -s gind.ist -o semioneside.ind semioneside.idx'.
+ to build the documentation index.
+5. Run 'makeindex -s gglo.ist -o semioneside.gls semioneside.glo'
+6. Again run latex or pdflatex on semioneside.dtx to build the
+ final documentation.
+
+Now move semioneside.sty, semioneside.dvi|pdf and example.tex
+somewhere into your tex path, e.g., texmf/tex/latex/semioneside/
+and texmf/doc/latex/semioneside/ and don't forget to refresh the
+file name data base.
+
+Stephan Hennig
+stephanhennig@arcor.de
diff --git a/Master/texmf-dist/doc/latex/semioneside/example.tex b/Master/texmf-dist/doc/latex/semioneside/example.tex
new file mode 100644
index 00000000000..3d0d491dffa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/semioneside/example.tex
@@ -0,0 +1,60 @@
+%%
+%% This is file `example.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% semioneside.dtx (with options: `example')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2005 by Stephan Hennig <stephanhennig@arcor.de>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.2 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+\documentclass{article}
+\usepackage{semioneside}
+\usepackage[english]{babel}
+\usepackage{blindtext}
+\begin{document}
+\section{Example}
+\Blindtext[3]
+\renewcommand{\leftpagecontent}{
+ \begin{figure}
+ \centering
+ \rule{4cm}{2cm}
+ \caption{A picture.}
+ \label{fig:picA}
+ \end{figure}
+}
+\Blindtext[3]
+A reference to figure~\ref{fig:picB} on p.~\pageref{fig:picB}.
+\renewcommand{\leftpagecontent}{
+ \begin{figure}
+ \centering
+ \rule{3cm}{2cm}
+ \caption{A second picture.}
+ \label{fig:picB}
+ \end{figure}
+ \begin{figure}
+ \centering
+ \rule{4cm}{5cm}
+ \caption{A third picture.}
+ \label{fig:picC}
+ \end{figure}
+}
+\Blindtext[6]
+A reference to figure~\ref{fig:picA} on p.~\pageref{fig:picA}
+\semionesideoff
+\end{document}
+\endinput
+%%
+%% End of file `example.tex'.
diff --git a/Master/texmf-dist/doc/latex/semioneside/figure.mp b/Master/texmf-dist/doc/latex/semioneside/figure.mp
new file mode 100644
index 00000000000..87563f069e6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/semioneside/figure.mp
@@ -0,0 +1,65 @@
+%%
+%% This is file `figure.mp',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% semioneside.dtx (with options: `figure')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2005 by Stephan Hennig <stephanhennig@arcor.de>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.2 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+verbatimtex
+\documentclass{article}
+\begin{document}
+\footnotesize
+etex
+prologues := 1;
+beginfig(1);
+ numeric pwd, pht, pdx;
+ pwd = 110bp;
+ pht = 110bp;
+ pdy = .1*pht;
+ spht = .6pht;
+
+ pickup pencircle scaled .8bp;
+ draw ( (0bp,0bp)--(2pwd,0bp)--(2pwd,spht)..{dir 190}(pwd,spht)..(0bp,spht)--cycle ) shifted (0bp,pht+pdy);
+ draw ( (pwd,0bp)--(pwd,spht) ) shifted (0bp,pht+pdy);
+ draw unitsquare xscaled 2pwd yscaled pht;
+ draw (pwd,0bp)--(pwd,pht);
+ draw ( (0bp,0bp)--(2pwd,0bp)--(2pwd,-spht)..{dir 190}(pwd,-spht)..(0bp,-spht)--cycle ) shifted (0bp,-pdy);
+ draw ( (pwd,0bp)--(pwd,-spht) ) shifted (0bp,-pdy);
+
+ label.top(btex left hand page etex, (.5pwd,spht) shifted (0bp,pht+2pdy));
+ label.top(btex right hand page etex, (1.5pwd,spht) shifted (0bp,pht+2pdy));
+ label.top(btex \parbox{100pt}{\itshape\dotfill\ running text \dotfill} etex, (1.5pwd,0bp) shifted (0bp,pht+pdy));
+ label.rt(btex \begin{tabular}{@{}l@{}}page\\break\end{tabular} etex, (2pwd,0bp) shifted (.5pdy,pht+pdy));
+ label.llft(btex \begin{tabular}[c]{@{}l@{}}called via\\\texttt{\textbackslash afterpage}\end{tabular} $\left\{\mathrm{\raisebox{-2\baselineskip}{\rule{0pt}{4\baselineskip}}}\right.$ etex, (0bp,pht) shifted (-.25pdy,0bp));
+ label.bot(btex \parbox{100pt}{\ttfamily\textbackslash leftpagecontrolstart\par\textbackslash leftpagecontent\par\textbackslash leftpagecontrolend\par\textbackslash clearpage} etex, (.5pwd,pht));
+ label.bot(btex \parbox{100pt}{\texttt{\textbackslash rightpagecontrolstart}\par\dotfill\ \textit{running text} \dotfill} etex, (1.5pwd,pht));
+ label.top(btex \parbox{100pt}{\itshape\dotfill\ running text \dotfill} etex, (1.5pwd,0bp));
+ label.rt(btex \begin{tabular}{@{}l@{}}page\\break\end{tabular} etex, (2pwd,0bp) shifted (.5pdy,0bp));
+ label.llft(btex \begin{tabular}[c]{@{}l@{}}called via\\\texttt{\textbackslash afterpage}\end{tabular} $\left\{\mathrm{\raisebox{-2\baselineskip}{\rule{0pt}{4\baselineskip}}}\right.$ etex, (0bp,-pdy) shifted (-.25pdy,0bp));
+ label.bot(btex \parbox{100pt}{\ttfamily\textbackslash leftpagecontrolstart\par\textbackslash leftpagecontent\par\textbackslash leftpagecontrolend\par\textbackslash clearpage} etex, (.5pwd,-pdy));
+ label.bot(btex \parbox{100pt}{\texttt{\textbackslash rightpagecontrolstart}\par\dotfill\ \textit{running text} \dotfill} etex, (1.5pwd,-pdy));
+
+ pickup pencircle scaled .4bp;
+ drawarrow (.25pwd,pht-45pt){dir -45}..(.8pwd,pht-30pt)..{right}(.99pwd,.95pht);
+ drawarrow ( (.25pwd,pht-45pt){dir -45}..(.8pwd,pht-30pt)..{right}(.99pwd,.95pht) ) shifted (0bp,-pht-pdy);
+endfig;
+
+end
+\endinput
+%%
+%% End of file `figure.mp'.
diff --git a/Master/texmf-dist/doc/latex/semioneside/semioneside.pdf b/Master/texmf-dist/doc/latex/semioneside/semioneside.pdf
new file mode 100644
index 00000000000..a5187401db8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/semioneside/semioneside.pdf
Binary files differ