summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/textpos/t/t6.tex
blob: 91428161b0a372813fa58d0bd5fee5313c3ac92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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}