Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/doc/latex/geometry/geometry-test.tex

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


\documentclass{article}

\usepackage[a4paper]{geometry}
\usepackage{showframe}

%\geometry{ textwidth=15cm, marginparwidth=3cm, verbose}
%\geometry{reset, top=0cm }
%\geometry{text={6in,8in}, top=1.2in, 
%             left=2cm, nohead, verbose}
%\geometry{ hdivide={1cm,*,2cm}, vdivide={3cm,8in,} nohead}
\geometry{ verbose, margin=10pt, noheadfoot}

\begin{document}

% \printparam
\def\fox{A quick brown fox jumps over the lazy dog.}
\def\foxes{\fox\ \fox\ \fox\ \fox\ \fox\ \fox\ \fox} 
\def\note{This is a marginal note.}
\def\notes{\note\ \note\ \note\ \note\ \note}
\def\mpi{\marginpar{\footnotesize\notes}}
\def\mpii{\marginpar[\footnotesize$\Rightarrow$ 
This is a \textbf{left-side} 
marginal note. \notes]
{\footnotesize$\Leftarrow$\ \notes}}

% comment out the two lines below to use maginal notes.
\let\mpi\relax
\let\mpii\relax

\foxes
\vfill
\centerline{$\vdots$}
\vfill
\foxes\ \foxes
\mpi
\foxes
\vfill
\centerline{$\vdots$}
\vfill
\foxes
\clearpage

\foxes\ \foxes
\mpii
\foxes\ \foxes
\vfill
\centerline{$\vdots$}
\vfill
\foxes
\end{document}


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.