diff options
author | Norbert Preining <preining@logic.at> | 2008-01-17 07:37:48 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-01-17 07:37:48 +0000 |
commit | f68c780d6454f39b2b65fd74df409817b7c2fe8b (patch) | |
tree | 251ae19c12f7a2cc2da35b008f9559f499ca58d2 /Master/texmf-dist/doc/latex/textpos/examples | |
parent | 3ad540de17823d46730b0ded939b821a7ed0918a (diff) |
update textpos from ctan
git-svn-id: svn://tug.org/texlive/trunk@6283 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/textpos/examples')
-rw-r--r-- | Master/texmf-dist/doc/latex/textpos/examples/t8.tex | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t8.tex b/Master/texmf-dist/doc/latex/textpos/examples/t8.tex index 25d05d8da94..c86083410a9 100644 --- a/Master/texmf-dist/doc/latex/textpos/examples/t8.tex +++ b/Master/texmf-dist/doc/latex/textpos/examples/t8.tex @@ -1,3 +1,5 @@ +%%% Testing: floats + \documentclass{article} \usepackage[showboxes]{textpos} @@ -5,29 +7,44 @@ \begin{document} -\begin{textblock}{5}(0,0) +\listoffigures + +Here is some text. +\marginpar{\dots with a marginal note} + +\begin{textblock}{5}(0,5) In this document we have figures~\ref{figa} and~\ref{figb}. \end{textblock} -\begin{textblock}{5}(1,1) +\begin{textblock}{5}(1,6) Here is a figure. \begin{figure} Text - \caption{This is the first figure} + \caption[this is figure 1]{This is the first figure} \label{figa} \end{figure} \end{textblock} -\begin{textblock}{5}(2,2) - Here is another figure. +\begin{textblock}{5}(2,7) + Here is another figure.%error: \marginpar{\dots and a marginpar in block} + % perhaps the following ought to be OK + %\begin{minipage}{4cm} Hello minipage\marginpar{ping!}\end{minipage} \begin{figure} More text \caption{\label{figb}This is the second figure} \end{figure} \end{textblock} -\begin{textblock}{5}(3,3) +\begin{textblock}{5}(3,8) We can still refer to figures~\ref{figb} and~\ref{figa}. \end{textblock} +Here is text, just before the outer figure. +\begin{figure} +\hrule +Figure Text +\hrule +\caption[final figure]{\label{figc}This is the final figure} +\end{figure} + \end{document} |