diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/genmisc/croptest.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/genmisc/croptest.tex | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/genmisc/croptest.tex b/Master/texmf-dist/tex/generic/genmisc/croptest.tex new file mode 100644 index 00000000000..06058b6861d --- /dev/null +++ b/Master/texmf-dist/tex/generic/genmisc/croptest.tex @@ -0,0 +1,44 @@ +% An illustration of cropmark.sty by Victor Eijkhout. +% This file belongs to cropmark.sty version 1.0 or later, +% it is both plain TeX and LaTeX compatible. + +\def\plainname{plain} +\ifx\fmtname\plainname + \input cropmark.sty +\else + \documentstyle[cropmark]{article} + \begin{document} +\fi + +\parindent=0pt +\def\page +{Left\hfill toP +\vfill +Bottom\hfill righT +\eject} + +% First illustrate the default settings + +\page + +% Now stretch a bit (this is necessary for LaTeX) + +\ifx\plainname\fmtname + \advance\croppadtop by 5pt + \advance\croppadbot by 5pt + \advance\croppadlr by 2pt +\else + \addtolength{\croppadtop}{-10pt} + \addtolength{\croppadbot}{15pt} + \addtolength{\croppadlr}{15pt} +\fi + +\page + +\edef\byebye{ +\if\fmtname\plainname + \noexpand\csname bye\noexpand\endcsname +\else + \noexpand\end{document} +\fi} +\byebye
\ No newline at end of file |