summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/textpos/t/t8.tex
blob: 25d05d8da941482728017a27dbf04dfb410c6fca (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
\documentclass{article}

\usepackage[showboxes]{textpos}
\setlength{\parindent}{0pt}

\begin{document}

\begin{textblock}{5}(0,0)
In this document we have figures~\ref{figa} and~\ref{figb}.
\end{textblock}

\begin{textblock}{5}(1,1)
  Here is a figure.
  \begin{figure}
  Text
  \caption{This is the first figure}
  \label{figa}
  \end{figure}
\end{textblock}

\begin{textblock}{5}(2,2)
  Here is another figure.
  \begin{figure}
  More text
  \caption{\label{figb}This is the second figure}
  \end{figure}
\end{textblock}

\begin{textblock}{5}(3,3)
  We can still refer to figures~\ref{figb} and~\ref{figa}.
\end{textblock}

\end{document}