diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/geometry/geometry-samples.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/geometry/geometry-samples.tex | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/geometry/geometry-samples.tex b/Master/texmf-dist/doc/latex/geometry/geometry-samples.tex index e035f9f10dc..d51bd898465 100644 --- a/Master/texmf-dist/doc/latex/geometry/geometry-samples.tex +++ b/Master/texmf-dist/doc/latex/geometry/geometry-samples.tex @@ -23,8 +23,8 @@ %% This work consists of the files geometry.dtx and %% the derived files: geometry.{sty,ins,drv}, geometry-samples.tex. %% -\documentclass{article}% uses letterpaper by default -% \documentclass[a4paper]{article}% for A4 paper +\documentclass[12pt]{article}% uses letterpaper by default +% \documentclass[12pt,a4paper]{article}% for A4 paper %--------------------------------------------------------------- % Edit and uncomment one of the settings below %--------------------------------------------------------------- @@ -55,18 +55,16 @@ %--------------------------------------------------------------- % No need to change below %--------------------------------------------------------------- -\geometry{verbose,showframe}% options appended. -\newcommand\mynote{\marginpar% -[\raggedright\rule{\marginparwidth}{.7pt}\\A left side note.]% -{\raggedright\rule{\marginparwidth}{.7pt}\\A side note.}}% -\def\fox{A quick brown fox jumps over the lazy dog. } -\def\fivefoxes{\fox\fox\fox\fox\fox} -\def\manyfoxes{\fivefoxes\mynote\fivefoxes\par\fivefoxes\fivefoxes\par} -% \let\mynote\relax % removes marginal notes. +\geometry{verbose,showframe}% the options appended. +\usepackage{lipsum}% for dummy text of 150 paragraphs +\newcommand\mynote{\marginpar[\raggedright +A sample margin note in the left side.]% +{\raggedright A sample margin note.}}% +\newcommand\myfootnote{\footnote{This is a sample footnote text.}} \begin{document} -\manyfoxes\manyfoxes\manyfoxes\manyfoxes -\manyfoxes\manyfoxes\manyfoxes\manyfoxes -\manyfoxes\manyfoxes\manyfoxes\manyfoxes +\lipsum[1-2]\mynote\lipsum[3-4]\mynote +\lipsum[5-11]\mynote\lipsum[12]\myfootnote +\lipsum[13-22]\mynote\lipsum[23-32] \end{document} \endinput %% |