1 \documentclass[a4paper]{article
}
2 % generated by Docutils <http://docutils.sourceforge.net/>
3 \usepackage{fixltx2e
} % LaTeX patches, \textsubscript
4 \usepackage{cmap
} % fix search and cut-and-paste in Acrobat
6 \usepackage[T1]{fontenc}
7 \usepackage[utf8
]{inputenc}
10 \setcounter{secnumdepth
}{0}
11 \usepackage{longtable,ltcaption,array
}
12 \setlength{\extrarowheight}{2pt
}
13 \newlength{\DUtablewidth} % internal use in tables
15 %%% Custom LaTeX preamble
17 \usepackage{mathptmx
} % Times
18 \usepackage[scaled=
.90]{helvet
}
21 %%% User specified packages and stylesheets
23 %%% Fallback definitions for Docutils-specific commands
25 % transition (break, fancybreak, anonymous section)
26 \providecommand*
{\DUtransition}[1][class-arg
]{%
27 \hspace*
{\fill}\hrulefill\hspace*
{\fill}
28 \vskip 0.5\baselineskip
32 \ifthenelse{\isundefined{\hypersetup}}{
33 \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue
]{hyperref
}
35 \urlstyle{same
} % normal text font (alternatives: tt, rm, sf)
38 pdftitle=
{Some Tests for the LaTeX Writer
},
42 \title{\phantomsection%
43 Some Tests for the LaTeX Writer
%
44 \label{some-tests-for-the-latex-writer
}}
52 These tests contain unusual combinations of syntax elements which may cause
53 trouble for the LaTeX writer but do not need to be tested with other writers.
56 \section{Block Quotes
%
62 This block quote comes directly after the section heading and is
63 followed by a paragraph.
65 This is the second paragraph of the block quote and it contains
66 some more text filling up some space which would otherwise be
70 \raggedleft —Attribution
78 This block quote does not have an attribution.
82 This is another paragraph.
86 Another block quote at the end of the section.
91 \section{More Block Quotes
%
92 \label{more-block-quotes
}%
97 Block quote followed by a transition.
102 %___________________________________________________________________________
117 Image with
20\% width:
119 \includegraphics[width=
0.200\linewidth]{../../../docs/user/rst/images/title.png
}
121 Image with
100\% width:
123 \includegraphics[width=
1.000\linewidth]{../../../docs/user/rst/images/title.png
}
126 \section{Rowspanning tables
%
127 \label{rowspanning-tables
}%
130 Several rowspanning cells in a table.
134 In LaTeX,
\textquotedbl{}overwritten
\textquotedbl{} cells need to be defined as empty cells.
136 Docutils (similarily to HTML) uses is the
\textquotedbl{}Exchange Table Model
\textquotedbl{} (also known
137 as CALS tables, see docs/ref/soextblx.dtd) which defines only the remaining
138 cells in a row
\textquotedbl{}affected
\textquotedbl{} by multirow cells.
140 Therefore, visit
\_entry() is only called for the remaining cells and the
141 LaTeX writer needs bookkeeping to write out the required number of extra
144 \setlength{\DUtablewidth}{\linewidth}
145 \begin{longtable*
}[c
]{|p
{0.075\DUtablewidth}|p
{0.133\DUtablewidth}|p
{0.133\DUtablewidth}|p
{0.086\DUtablewidth}|
}
159 &
\multirow{2}{0.13\DUtablewidth}{%
161 } &
\multirow{3}{0.13\DUtablewidth}{%
186 \setlength{\DUtablewidth}{\linewidth}
187 \begin{longtable*
}[c
]{|p
{0.098\DUtablewidth}|p
{0.098\DUtablewidth}|p
{0.063\DUtablewidth}|
}
197 \multirow{2}{0.10\DUtablewidth}{%
199 } &
\multirow{2}{0.10\DUtablewidth}{%
211 \setlength{\DUtablewidth}{\linewidth}
212 \begin{longtable*
}[c
]{|p
{0.098\DUtablewidth}|p
{0.063\DUtablewidth}|
}
220 \multirow{2}{0.10\DUtablewidth}{%
232 \setlength{\DUtablewidth}{\linewidth}
233 \begin{longtable*
}[c
]{|p
{0.063\DUtablewidth}|p
{0.110\DUtablewidth}|p
{0.063\DUtablewidth}|
}
245 &
\multirow{2}{0.11\DUtablewidth}{%
260 \setlength{\DUtablewidth}{\linewidth}
261 \begin{longtable*
}[c
]{|p
{0.063\DUtablewidth}|p
{0.110\DUtablewidth}|
}
271 &
\multirow{2}{0.11\DUtablewidth}{%
281 \setlength{\DUtablewidth}{\linewidth}
282 \begin{longtable*
}[c
]{|p
{0.063\DUtablewidth}|p
{0.110\DUtablewidth}|
}
286 &
\multirow{2}{0.11\DUtablewidth}{%
302 \setlength{\DUtablewidth}{\linewidth}
303 \begin{longtable*
}[c
]{|p
{0.063\DUtablewidth}|p
{0.156\DUtablewidth}|p
{0.110\DUtablewidth}|
}
307 &
\multirow{2}{0.16\DUtablewidth}{%
309 } &
\multirow{2}{0.11\DUtablewidth}{%
319 \setlength{\DUtablewidth}{\linewidth}
320 \begin{longtable*
}[c
]{|p
{0.098\DUtablewidth}|p
{0.063\DUtablewidth}|p
{0.110\DUtablewidth}|
}
322 \multirow{2}{0.10\DUtablewidth}{%
326 &
\multirow{2}{0.11\DUtablewidth}{%
336 \setlength{\DUtablewidth}{\linewidth}
337 \begin{longtable*
}[c
]{|p
{0.098\DUtablewidth}|p
{0.063\DUtablewidth}|
}
339 \multirow{2}{0.10\DUtablewidth}{%