From 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 00:49:07 +0000 Subject: doc/latex git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/textpos/t/t6.tex | 86 ++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/textpos/t/t6.tex (limited to 'Master/texmf-dist/doc/latex/textpos/t/t6.tex') diff --git a/Master/texmf-dist/doc/latex/textpos/t/t6.tex b/Master/texmf-dist/doc/latex/textpos/t/t6.tex new file mode 100644 index 00000000000..91428161b0a --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/t/t6.tex @@ -0,0 +1,86 @@ +%%% Testing:colours, borders and margins +\documentclass{article} + +\usepackage{textpos} +\usepackage{color} + +\setlength{\TPHorizModule}{20pt} +\setlength{\TPVertModule}\TPHorizModule + +\setlength\parindent{0pt} +\pagestyle{empty} + +\begin{document} + +\definecolor{Blue}{rgb}{0.8,0.8,1.0} + +\begin{textblock}{4}(0,0) + \textblockcolour{Blue} + Blue +\end{textblock} + +\begin{textblock}{8}(14,6) + \hrule width 8\TPHorizModule + \vskip1\TPVertModule + \hrule width 4\TPHorizModule + \vskip1\TPVertModule + \hrule width 2\TPHorizModule + \vskip1\TPVertModule + \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. + + 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. +\end{textblock} + +\makeatletter + \TP@showboxestrue +\makeatother +\setlength\TPboxrulesize{0.25\TPHorizModule} + +\TPMargin{0.5\TPHorizModule} + +\begin{textblock}{4}(0,8) + \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. +\end{textblock} + +\TPMargin*{0.5\TPHorizModule} + +\begin{textblock}{4}(0,20) + \textblockcolour{Blue} + Blue +\end{textblock} + +\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. +\end{textblock} + + +\end{document} + -- cgit v1.2.3