summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/grfpaste/grfp2.tex
blob: 4ccc866cba639fd96739a7d02de2b1319d5e15a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\documentclass{article}

\setlength\textheight{5cm}
\setlength\textwidth{5cm}
\setlength\oddsidemargin{0cm}

\usepackage[writepages]{grfpaste}

\pagestyle{headings}

\def\xa{aa bb cc dd ee }
\def\xb{\xa\xa\xa\xa\xa\xa\par\xa\xa\xa}
\begin{document}

\tableofcontents

\section{Intro}
\xb

\section{More}
\xb

\begin{table}
  \begin{tabular}{|ll|}
aaa&bbb\\
aaa&bbb\\
aaa&bbb\\
  \end{tabular}
  \caption{test one}
\end{table}
\begin{table}
  \begin{tabular}{|ll|}
1&2\\
3&4\\
5&6\\
  \end{tabular}
  \caption{test two}
\end{table}

\section{Yet more}
\xb\xb
\end{document}