Debian Codegraph @

texmf-dist/doc/latex/anysize/anysize.tex

raw
1 % Documentation for the anysize-Styleoption
2 \NeedsTeXFormat{LaTeX2e}
3
4 \documentclass[a4paper]{article}
5 \usepackage{anysize}
6 \usepackage{ae}
7
8 % Options for anysize
9 \marginsize{3cm}{3cm}{3cm}{3cm}
10
11 \newcommand{\anysize}{{\large a}{\small\bf n}{\sl y}{\Large\tt s}{\it i}{\sf\footnotesize z}e}
12
13 \begin{document}
14
15 \title{{\tt anysize.sty} ---
16 to set the margin sizes in \LaTeX}
17
18 \author{
19 first version: Michael Salzenberg,\\
20 conversion to \LaTeX2e{}: Thomas Esser,\\
21 documentation: Dirk Hillbrecht\thanks{eMail--addresses:
22 {\tt [email protected]}, {\tt [email protected]}}
23 }
24 \date{v1.0, Aug 13, 1994}
25 \maketitle
26 \thispagestyle{empty}
27
28 \section{Overview}
29
30 \anysize{} is a \LaTeX{} package set the papersize and the margins of
31 a document. These settings are done by one simple command.
32
33 \anysize{} is \LaTeX2e--compilant and does not run with the
34 obsolete \LaTeX{} 2.09 format.
35
36 Many thanks go to Michael Salzenberg, who made the first implementation of
37 this style. He does not want to be bothered with the wide-area-publication
38 of the style, so Thomas --- who converted it to \LaTeX2e{} --- and me,
39 who documented it properly (I hope {\tt :-)}), maintain it now. Therefore,
40 are only our email adresses are given.
41
42 \section{Usage}
43
44 \anysize{} is usually loaded by the \verb|\usepackage|--directive. The
45 style knows options for defining the paper size ({\tt a4paper}, {\tt a5paper}
46 etc.) and one additional option {\tt germanpar}, that changes the margins of
47 the paragraphes in the document particulary.
48
49 After inclusion of \anysize{}, there are two new commands available for the document preamble:
50
51 \begin{itemize}
52 \item \verb|\papersize{|{\it width}\verb|}{|{\it height}\verb|}|: sets the paper size. This command
53 should not be used anymore, as there are standardized style options for the standard paper sizes
54 to be passed through the \verb|\documentclass|--command in the header of the document.
55 \item \verb|\marginsize{|{\it left}\verb|}{|{\it right}\verb|}{|{\it
56 top}\verb|}{|{\it bottom}\verb|}|:
57 sets the margin sizes. This is the really interesting thing of the whole one. In two--sided
58 documents, left and right margin are those ones for the rectos. For the backs, they are swapped.
59 \end{itemize}
60
61 These are the default settings, as long as none of the above commands is given:
62 $$\mbox{\begin{tabular}{lr}
63 \multicolumn{2}{l}{paper size\footnotemark{}:} \\
64 \hline
65 width & 21,0 cm \\
66 height & 29,7 cm \\
67 \multicolumn{2}{l}{(DIN A4)} \\
68 \\
69 \end{tabular}}
70 \hspace{5em}
71 \mbox{\begin{tabular}{lr}
72 \multicolumn{2}{l}{margin sizes:} \\
73 \hline
74 left & 3,0 cm \\
75 right & 2,0 cm \\
76 top & 2,0 cm \\
77 bottom & 2,0 cm \\
78 \end{tabular}}$$
79
80 \footnotetext{only if there is no style option for the paper size}
81
82 \end{document}
83 %% Local Variables: ***
84 %% mode: LaTeX
85 %% TeX-command-default: LaTeX2e
86 %% End: ***