Debian Codegraph @

texmf-dist/doc/latex/typogrid/testtypogrid.tex

raw
1 \documentclass[draft,a4paper]{article}
2 %\usepackage[columns=4,headings=false,margin=false]{typogrid}
3 \usepackage[columns=4,colorgrid]{typogrid}
4 \usepackage[dvips]{geometry}
5 \flushbottom
6 \long\def\text{This is a sample text without any meaning. It contains
7 some arbitrary text. But I don't know more. I really have no idea
8 what I could now write. This is the next try to build a new
9 sentence. Somehow, I have to fill the page with arbitrary text.\par}
10
11 \pagestyle{headings}
12
13 \begin{document}
14 \text
15 \text
16 \text
17 \text
18 \text
19 \section{Test}
20 \text
21
22 \noindent\rule{\gridwidth}{2pt}
23
24 \text
25 \text
26 \marginpar[This is left margin text.]{This is right margin text.}
27 \text
28 \text
29 \text
30 \text
31 \text
32 \text
33 \typogridsetup{columns=6,margin=false}%
34 \text
35
36 \noindent\rule{\gridwidth}{2pt}
37
38 \text
39 \text
40 \text
41 \text
42 \text
43 \text
44 \text
45 \begin{figure}
46 \centering
47 \thicklines
48 \framebox[2\gridwidth][c]{Hello}%
49 \caption{A figure fitting into the grid}%
50 \label{fig:grid}%
51 \end{figure}
52
53 \end{document}