Debian Codegraph @

texmf-dist/doc/latex/gridset/gridsetexample.tex

raw
1 %%
2 %% This is file `gridsetexample.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% gridset.dtx (with options: `example')
8 %%
9 %% IMPORTANT NOTE:
10 %%
11 %% This is a generated file and you are not allowed to distribute it
12 %% without the source ot the work. See below about more informations
13 %% about the files the work consists of.
14 %%
15 %% Copyright (C) 2008-2024 Markus Kohm
16 %%
17 %% This work may be distributed and/or modified under the
18 %% conditions of the LaTeX Project Public License, either version 1.3c
19 %% of this license or (at your option) any later version.
20 %% The latest version of this license is in
21 %% http://www.latex-project.org/lppl.txt
22 %% and version 1.3c or later is part of all distributions of LaTeX
23 %% version 2005/12/01 or later.
24 %%
25 %% This work has the LPPL maintenance status "maintained".
26 %%
27 %% The author and current maintainer of this work is
28 %% Markus Kohm <[email protected]>.
29 %%
30 %% This work consists of the files gridset.dtx and README.md.
31 %%
32 %% Important Recommendation:
33 %% The LPPL requires that distributions of the Work contain all the files of
34 %% the Work (see ``Important Recommendations'' at lppl.txt).
35 %%
36 \ProvidesFile{gridsetexample.tex}
37 [2024-08-17 v0.4 grid - a.k.a. in-register - setting]
38 \documentclass[a4paper,12pt]{article}
39 \usepackage{gridset}
40 \usepackage{blindtext}
41 \raggedbottom
42
43 \pagestyle{myheadings}
44
45 \begin{document}
46 \markright{gridbase=\gridbase, gridinterval=\gridinterval\ without move down}%
47 \newcounter{Zeile}%
48 \makeatletter
49 \@whilenum \value{Zeile}<40\do {%
50 \stepcounter{Zeile}%
51 \theZeile. Zeile:
52 \SavePos{\thepage.\theZeile}\thegridinfo{\thepage.\theZeile}\par
53 }%
54 \makeatother
55 \clearpage
56 \setcounter{Zeile}{0}
57 \makeatletter
58 \@whilenum \value{Zeile}<20\do {%
59 \stepcounter{Zeile}%
60 \theZeile. Zeile:
61 \SavePos{\thepage.\theZeile}\theposinfo{\thepage.\theZeile}\par
62 }%
63 \makeatother
64 \clearpage
65 \parskip=.5\baselineskip
66 \setcounter{Zeile}{0}
67 \makeatletter
68 \@whilenum \value{Zeile}<20\do {%
69 \stepcounter{Zeile}%
70 \theZeile. Zeile:
71 \SavePos{\thepage.\theZeile}\theposinfo{\thepage.\theZeile}\par
72 }%
73 \makeatother
74 \clearpage
75 \markright{gridbase=\gridbase, gridinterval=\gridinterval\ with real move down
76 at vmode}%
77 \parskip=.5\baselineskip
78 \setcounter{Zeile}{0}
79 \makeatletter
80 \@whilenum \value{Zeile}<25\do {%
81 \stepcounter{Zeile}%
82 \vskipnextgrid\theZeile. Zeile: \theposinfo{vp!\thegridcnt}\par
83 }%
84 \makeatother
85 \clearpage
86 \markright{gridbase=\gridbase, gridinterval=\gridinterval\ with real move down
87 at hmode}%
88 \parskip=.5\baselineskip
89 \setcounter{Zeile}{0}
90 \makeatletter
91 \@whilenum \value{Zeile}<25\do {%
92 \stepcounter{Zeile}%
93 \theZeile. Zeile: \vskipnextgrid\theposinfo{vp!\thegridcnt}\par
94 }%
95 \makeatother
96 \clearpage
97 \parskip=0pt
98 \blindtext
99 \begin{itemize}
100 \item Test
101 \item Test
102 \end{itemize}
103 \vskipnextgrid\theposinfo{vp!\thegridcnt}\blindtext
104
105 \end{document}
106 \endinput
107 %%
108 %% End of file `gridsetexample.tex'.