summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/textpos/examples/t6.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-03 00:15:52 +0000
committerKarl Berry <karl@freefriends.org>2007-04-03 00:15:52 +0000
commit5fc3f93a355634a0c215e3f163aa8ebde2033ba0 (patch)
tree99b7bb00c6dff6c7269ae1ed072068ae73cdadc8 /Master/texmf-dist/doc/latex/textpos/examples/t6.tex
parentdb7c29b795e61406c9a9fc1b6353694c3268774a (diff)
textpos update (22mar07)
git-svn-id: svn://tug.org/texlive/trunk@4105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/textpos/examples/t6.tex')
-rw-r--r--Master/texmf-dist/doc/latex/textpos/examples/t6.tex72
1 files changed, 41 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t6.tex b/Master/texmf-dist/doc/latex/textpos/examples/t6.tex
index 171a77fba4d..93e3cefaeb9 100644
--- a/Master/texmf-dist/doc/latex/textpos/examples/t6.tex
+++ b/Master/texmf-dist/doc/latex/textpos/examples/t6.tex
@@ -20,7 +20,7 @@
Blue
\end{textblock}
-\begin{textblock}{8}(14,6)
+\begin{textblock}{8}(14,0)
\hrule width 8\TPHorizModule
\vskip1\TPVertModule
\hrule width 4\TPHorizModule
@@ -30,56 +30,66 @@
\hrule width 1\TPHorizModule
\end{textblock}
-\begin{textblock}{8}(4,2)
- This package facilitates placing boxes at absolute positions on the
- \LaTeX\ page. There are several reasons why this might be useful, but
- the main one (or at least my motivating one) is to help produce a
- large-format conference poster.
+\begin{textblock}{12}(4,4)
+ This text is inside a box with a blue background. The text is flush
+ with the edge of the box, and the whole thing is twelve units wide.
- This package provides a single environment, which contains the text
- (or graphics, or table, or whatever) which is to be placed on the
- page, and which specifies where it is to be placed.
+ There's a second paragraph in here.
+ \begin{itemize}
+ \item Here is a list item. It should be appropriately narrower than
+ the text around it, and specifically not abut the border.
+ \item Here is a second item.
+ \end{itemize}
\end{textblock}
\TPshowboxestrue
\textblockrulecolour{red}
\setlength\TPboxrulesize{0.25\TPHorizModule}
-\TPMargin{0.5\TPHorizModule}
+\TPMargin{1\TPHorizModule}
-\begin{textblock}{4}(0,8)
+\begin{textblock}{4}(0,7)
\textblockcolour{Blue}
Blue
\end{textblock}
-\begin{textblock}{8}(4,10)
- This package facilitates placing boxes at absolute positions on the
- \LaTeX\ page. There are several reasons why this might be useful, but
- the main one (or at least my motivating one) is to help produce a
- large-format conference poster.
-
- This package provides a single environment, which contains the text
- which is to be placed on the
- page, and which specifies where it is to be placed.
+\begin{textblock}{12}(4,11)
+ This text is also inside a box with a blue background. However,
+ this time, there's a red border and a margin. The box as a whole is
+ twelve units wide, and the text is correspondingly narrower.
+ \begin{itemize}
+ \item Here is a list item. It should be appropriately narrower than
+ the text around it, and specifically not abut the border.
+ \item Here is a second item.
+ \end{itemize}
\end{textblock}
-\TPMargin*{0.5\TPHorizModule}
+\TPMargin*{1\TPHorizModule}
-\begin{textblock}{4}(0,20)
+\begin{textblock}{4}(0,19)
\textblockcolour{Blue}
Blue
\end{textblock}
\tekstblokroolkulur{Borders}
-\begin{textblock}{8}(4,22)
- This package facilitates placing boxes at absolute positions on the
- \LaTeX\ page. There are several reasons why this might be useful, but
- the main one (or at least my motivating one) is to help produce a
- large-format conference poster.
-
- This package provides a single environment, which contains the text
- (or graphics, or table, or whatever) which is to be placed on the
- page, and which specifies where it is to be placed.
+\begin{textblock}{12}(4,21)
+ Finally, here is some text on a blue background with an
+ unattractive green border. This time, the text is twelve units wide,
+ and the box, and its border, is consequently wider than that.
+ \begin{itemize}
+ \item Here is a list item. It should be appropriately narrower than
+ the text around it, and specifically not abut the border.
+ \item Here is a second item.
+ \end{itemize}
+ Here's some final text, and a quotation:
+ \begin{quotation}
+ \noindent
+ You shall see them on a beautiful quarto page, where a neat rivulet
+ of text shall meander through a meadow of
+ margin.
+ \hfil\penalty50\hskip2em\hbox{}\nobreak\hfil
+ \emph{--- Sheridan, The School for Scandal}\parfillskip=0pt
+ \end{quotation}
\end{textblock}