summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-26 21:41:39 +0000
committerKarl Berry <karl@freefriends.org>2020-09-26 21:41:39 +0000
commit4cf6ce1de7e4eb7cd23871f3d8eca68849a79e56 (patch)
tree64e5f0868071ebab429e0ee66371423a6edb0209 /Master/texmf-dist/doc/latex/textpos/examples/t1.tex
parentf09725e0d1775da9c39734e7d8d4e56c20659054 (diff)
textpos (26sep20)
git-svn-id: svn://tug.org/texlive/trunk@56441 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/textpos/examples/t1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/textpos/examples/t1.tex24
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t1.tex b/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
index 8cb8bfc45ff..9ec75f092d7 100644
--- a/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
+++ b/Master/texmf-dist/doc/latex/textpos/examples/t1.tex
@@ -14,16 +14,7 @@
\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}
+\TPShowGrid{4}{4}
\begin{textblock}{3}(0,0)
\{3\}(0,0)
@@ -38,6 +29,19 @@
\{3\}[0.5,0.5](3,3)
\end{textblock}
+\begin{textblock}{1}[0,0](4,2)
+[0,0]
+\end{textblock}
+\begin{textblock}{1}[0,1](4,2)
+[0,1]
+\end{textblock}
+\begin{textblock}{1}[1,0](4,2)
+[1,0]
+\end{textblock}
+\begin{textblock}{1}[1,1](4,2)
+\hfill [1,1] % push this to the right of the box
+\end{textblock}
+
\begin{textblock}{2.5}(3,3)
\{2.5\}(3,3)
\end{textblock}