summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/textpos/examples/t1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/textpos/examples/t1.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t1.tex b/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
index 80bba4322a5..8cb8bfc45ff 100644
--- a/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
+++ b/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
@@ -14,6 +14,17 @@
\begin{document}
+\begin{textblock}{4}(0,0)
+ % make a grid on the page
+ \lineskip=0pt % abut boxes directly
+ \setbox1=\hbox to \TPHorizModule{\hfill \vrule height \TPVertModule}
+ \setbox0=\vbox to \TPVertModule{\noindent\copy1\copy1 \copy1 \vss\hrule}
+ \copy0
+ \copy0
+ \copy0
+ \copy0
+\end{textblock}
+
\begin{textblock}{3}(0,0)
\{3\}(0,0)
\end{textblock}
@@ -43,4 +54,13 @@
\{284.52756pt\}[0.5,0.5](50.0mm,2.5cm)
\end{textblock*}
+\TPReferencePosition{0.5,0.5}
+\begin{textblock}{1}(2,4)
+\{1\}(2,4)\hfil\break (refpos [0.5,0.5])
+\end{textblock}
+
+% The following is for testing the _experimental_ (in v1.9) discardcontent=true mode
+% \TPoptions{discardcontent=true}
+% Here is content
+
\end{document}