File: t5.tex

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (59 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download
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
%%% Testing:spacing
\documentclass{article}

\usepackage{textpos}
%\usepackage[showboxes]{textpos}

\hoffset=0pt
\voffset=0pt
\oddsidemargin=0pt
\topmargin=0pt
\headheight=0pt
\headsep=0pt

\setlength{\TPHorizModule}{50pt}
\setlength{\TPVertModule}{\TPHorizModule}

\pagestyle{empty}

\begin{document}

\setlength{\parindent}{0pt}
\setlength{\parskip}{30pt}
\setlength{\baselineskip}{20pt}

% Make sure that all text appears precisely where it ought to.  The
% above dimensions mean that text appears in round-number locations.
%
% The \showbox puts detailed calculations in the log file
%
% Output of dvireport:
% c 97[a] 0,20pt
% c 121[y] 4.72223,20pt
% c 98[b] 0,28.8889pt
% c 121[y] 5.27777,28.8889pt
% c 99[c] 50,76.25pt
% c 100[d] 0,70pt
% c 121[y] 5.55556,70pt
%
% The most important thing is that `a' and `d' are 50pt
% apart, \parskip+\baselineskip


\showboxdepth=8
\showboxbreadth=8

\noindent ay
\vrule height 20pt depth 0pt width 0pt  % strut
\begin{textblock}{3}(0,0)
\noindent by
\end{textblock}
\begin{textblock}{2}(1,1)
\noindent cy
\end{textblock}
\noindent
dy

%\showlists               % put detailed diagnostics into log file

\end{document}