summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/textpos
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-28 01:20:39 +0000
committerKarl Berry <karl@freefriends.org>2009-11-28 01:20:39 +0000
commit18ede5cf6a3fe41c0616aa22feb9ccfd17d28e19 (patch)
treee4e051f390f88bb950650caad427c8a5d5c5d9ee /Master/texmf-dist/doc/latex/textpos
parenta691496c46e01ed22d4ad74df3a77874432d143e (diff)
textpos update 12oct09
git-svn-id: svn://tug.org/texlive/trunk@16217 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/textpos')
-rw-r--r--Master/texmf-dist/doc/latex/textpos/niepraschk-eso-pic.tex30
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/textpos/niepraschk-eso-pic.tex b/Master/texmf-dist/doc/latex/textpos/niepraschk-eso-pic.tex
index 10be9ec8af9..775941b990a 100644
--- a/Master/texmf-dist/doc/latex/textpos/niepraschk-eso-pic.tex
+++ b/Master/texmf-dist/doc/latex/textpos/niepraschk-eso-pic.tex
@@ -1,11 +1,11 @@
-% Rolf Niepraschk, nieprasck@ptb.de, 2002-11-24
+% Rolf Niepraschk <Rolf.Niepraschk@gmx.de>, 2009-10-10
% A funny demo for `textpos' with a backgroundgrid from `eso-pic'.
\documentclass[a4paper,draft]{article}
+\usepackage[colorgrid,texcoord]{eso-pic}[2002/11/16]
%\usepackage[absolute,showboxes]{textpos}
\usepackage[absolute]{textpos}
-\usepackage[colorgrid,texcoord]{eso-pic}[2002/11/16]
\usepackage{calc}
\newcommand\StartX{25mm} \newcommand\StartY{40mm}
@@ -20,28 +20,28 @@
\begin{textblock*}{\Wi}(\StartX,\StartY)%
\noindent\colorbox[rgb]{0,0,1}{%
- \begin{minipage}[c][\Hi - 2\fboxsep][c]{\linewidth - 2\fboxsep}%
+ \begin{minipage}[c][\Hi-2\fboxsep][c]{\linewidth-2\fboxsep}%
\centering\Huge\textbf{FOO}%
\end{minipage}}%
\end{textblock*}
-\begin{textblock*}{\Wii}(\StartX,\StartY + 20mm)%
+\begin{textblock*}{\Wii}(\StartX,\StartY+20mm)%
\noindent\colorbox[rgb]{0,1,0}{%
- \begin{minipage}[c][\Hii - 2\fboxsep][c]{\linewidth - 2\fboxsep}%
+ \begin{minipage}[c][\Hii-2\fboxsep][c]{\linewidth-2\fboxsep}%
\centering\Huge\textbf{BAR}%
\end{minipage}}%
\end{textblock*}
-\begin{textblock*}{\Wii}(\StartX + \Wi - \Wii,\StartY + 20mm)%
+\begin{textblock*}{\Wii}(\StartX+\Wi-\Wii,\StartY+20mm)%
\noindent\colorbox[rgb]{1,1,0}{%
- \begin{minipage}[c][\Hii - 2\fboxsep][c]{\linewidth - 2\fboxsep}%
+ \begin{minipage}[c][\Hii-2\fboxsep][c]{\linewidth-2\fboxsep}%
\centering\Huge\textbf{BAR}%
\end{minipage}}%
\end{textblock*}
\begin{textblock*}{\Wi}(\StartX,\Wi)%
\noindent\colorbox[rgb]{1,0,1}{%
- \begin{minipage}[c][\Hi - 2\fboxsep][c]{\linewidth - 2\fboxsep}%
+ \begin{minipage}[c][\Hi-2\fboxsep][c]{\linewidth-2\fboxsep}%
\centering\Huge\textbf{FOO}%
\end{minipage}}%
\end{textblock*}
@@ -49,7 +49,7 @@
\begin{textblock*}{\Wiii}(75mm,70mm)%
\setlength\fboxrule{2pt}%
\noindent\fbox{%
- \begin{minipage}{\linewidth - 2\fboxsep - 2\fboxrule}%
+ \begin{minipage}{\linewidth-2\fboxsep-2\fboxrule}%
\Large\itshape
Text Text Text Text Text
Text Text Text Text Text
@@ -64,22 +64,22 @@
\begin{textblock*}{\Wiii}(75mm,130mm)%
\setlength\fboxrule{2pt}%
\noindent\fbox{%
- \begin{minipage}[c][\Hi - 2\fboxsep - 2\fboxrule]%
- {\linewidth - 2\fboxsep - 2\fboxrule}%
+ \begin{minipage}[c][\Hi-2\fboxsep-2\fboxrule]%
+ {\linewidth-2\fboxsep-2\fboxrule}%
\centering\Huge\textbf{\LaTeX}
\end{minipage}}%
\end{textblock*}
-\begin{textblock*}{\Wi}(\StartX,\StartY + 160mm)%
+\begin{textblock*}{\Wi}(\StartX,\StartY+160mm)%
\noindent\colorbox[rgb]{0,1,1}{%
- \begin{minipage}[c][\Hi - 2\fboxsep][c]{\linewidth - 2\fboxsep}%
+ \begin{minipage}[c][\Hi-2\fboxsep][c]{\linewidth-2\fboxsep}%
\centering\Huge\textbf{FOOBAR}%
\end{minipage}}%
\end{textblock*}
-\begin{textblock*}{\Wi}(\StartX,\StartY + 200mm)%
+\begin{textblock*}{\Wi}(\StartX,\StartY+200mm)%
\noindent\colorbox[rgb]{1,0,0}{%
- \begin{minipage}[c][\Hi - 2\fboxsep][c]{\linewidth - 2\fboxsep}%
+ \begin{minipage}[c][\Hi-2\fboxsep][c]{\linewidth-2\fboxsep}%
\centering\Huge\textbf{BAZ}%
\end{minipage}}%
\end{textblock*}