summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/textpos/examples/t8.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/textpos/examples/t8.tex')
-rw-r--r--Master/texmf-dist/doc/latex/textpos/examples/t8.tex15
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t8.tex b/Master/texmf-dist/doc/latex/textpos/examples/t8.tex
index c86083410a9..aa0d74e5d3e 100644
--- a/Master/texmf-dist/doc/latex/textpos/examples/t8.tex
+++ b/Master/texmf-dist/doc/latex/textpos/examples/t8.tex
@@ -12,18 +12,25 @@
Here is some text.
\marginpar{\dots with a marginal note}
+\begin{figure}
+Hello, this is a normal figure
+\caption[short normal 1]{\label{normal1}long normal 1}
+\end{figure}
+
\begin{textblock}{5}(0,5)
In this document we have figures~\ref{figa} and~\ref{figb}.
\end{textblock}
+\tracingcommands=2 \tracingmacros=2
\begin{textblock}{5}(1,6)
Here is a figure.
\begin{figure}
Text
- \caption[this is figure 1]{This is the first figure}
+ \caption[short textblock caption]{This is the first textblock figure (with short)}
\label{figa}
\end{figure}
\end{textblock}
+\tracingcommands=0 \tracingmacros=0
\begin{textblock}{5}(2,7)
Here is another figure.%error: \marginpar{\dots and a marginpar in block}
@@ -31,7 +38,7 @@ In this document we have figures~\ref{figa} and~\ref{figb}.
%\begin{minipage}{4cm} Hello minipage\marginpar{ping!}\end{minipage}
\begin{figure}
More text
- \caption{\label{figb}This is the second figure}
+ \caption{\label{figb}This is the second textblock figure (no short)}
\end{figure}
\end{textblock}
@@ -42,9 +49,9 @@ In this document we have figures~\ref{figa} and~\ref{figb}.
Here is text, just before the outer figure.
\begin{figure}
\hrule
-Figure Text
+This is another normal figure
\hrule
-\caption[final figure]{\label{figc}This is the final figure}
+\caption[short normal 2]{\label{figc}This is the final figure, with short}
\end{figure}
\end{document}