summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/textpos/examples/t9.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/textpos/examples/t9.tex')
-rw-r--r--macros/latex/contrib/textpos/examples/t9.tex16
1 files changed, 14 insertions, 2 deletions
diff --git a/macros/latex/contrib/textpos/examples/t9.tex b/macros/latex/contrib/textpos/examples/t9.tex
index b86cf38892..fec9ccbce7 100644
--- a/macros/latex/contrib/textpos/examples/t9.tex
+++ b/macros/latex/contrib/textpos/examples/t9.tex
@@ -7,6 +7,8 @@
\TPHorizModule=1cm
\TPVertModule=1cm
+\usepackage{color}
+
\begin{document}
Here is some text, which appears in the body of the page.
@@ -57,11 +59,21 @@ This text should appear surrounded by a box, level with, but along from, `Text 2
\end{textblock}
\newpage
-\TPoptions{absolute=true}
+\TPoptions{absolute=true,overlay=true} % the overlay option is ignored
+
+Page 3. Page 3. Page 3. Page 3. Page 3. Page 3. Page 3. Page 3.
+Page 3. Page 3. Page 3. Page 3. Page 3. Page 3. Page 3. Page 3.
-Page 3.
\begin{textblock}{5}(0,0)
This text appears at the extreme top-left of page three.
\end{textblock}
+\textblockcolour{yellow}
+\begin{textblock}{5}(4,4.5)
+ This text appears at (4,5). It appears \emph{below} the text: that
+ is, the \texttt{overlay=true} option is currently ignored (this
+ might potentially change in future, but I've no current plans to
+ implement that).
+\end{textblock}
+
\end{document}