From 65293db75e3702db6206732e71cc68adbb0075a7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 2 Mar 2010 00:44:35 +0000 Subject: geometry 5.2 (28feb10) git-svn-id: svn://tug.org/texlive/trunk@17268 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/geometry/geometry-samples.tex | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/doc/latex/geometry/geometry-samples.tex') 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 %% -- cgit v1.2.3