summaryrefslogtreecommitdiff
path: root/pypers/europython05/table.tex
diff options
context:
space:
mode:
Diffstat (limited to 'pypers/europython05/table.tex')
-rwxr-xr-xpypers/europython05/table.tex115
1 files changed, 115 insertions, 0 deletions
diff --git a/pypers/europython05/table.tex b/pypers/europython05/table.tex
new file mode 100755
index 0000000..6c47294
--- /dev/null
+++ b/pypers/europython05/table.tex
@@ -0,0 +1,115 @@
+\documentclass[10pt,a4paper,english]{article}
+\usepackage{babel}
+\usepackage{ae}
+\usepackage{aeguill}
+\usepackage{shortvrb}
+\usepackage[latin1]{inputenc}
+\usepackage{tabularx}
+\usepackage{longtable}
+\setlength{\extrarowheight}{2pt}
+\usepackage{amsmath}
+\usepackage{graphicx}
+\usepackage{color}
+\usepackage{multirow}
+\usepackage{ifthen}
+\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
+\usepackage[DIV12]{typearea}
+%% generator Docutils: http://docutils.sourceforge.net/
+\newlength{\admonitionwidth}
+\setlength{\admonitionwidth}{0.9\textwidth}
+\newlength{\docinfowidth}
+\setlength{\docinfowidth}{0.9\textwidth}
+\newlength{\locallinewidth}
+\newcommand{\optionlistlabel}[1]{\bf #1 \hfill}
+\newenvironment{optionlist}[1]
+{\begin{list}{}
+ {\setlength{\labelwidth}{#1}
+ \setlength{\rightmargin}{1cm}
+ \setlength{\leftmargin}{\rightmargin}
+ \addtolength{\leftmargin}{\labelwidth}
+ \addtolength{\leftmargin}{\labelsep}
+ \renewcommand{\makelabel}{\optionlistlabel}}
+}{\end{list}}
+\newlength{\lineblockindentation}
+\setlength{\lineblockindentation}{2.5em}
+\newenvironment{lineblock}[1]
+{\begin{list}{}
+ {\setlength{\partopsep}{\parskip}
+ \addtolength{\partopsep}{\baselineskip}
+ \topsep0pt\itemsep0.15\baselineskip\parsep0pt
+ \leftmargin#1}
+ \raggedright}
+{\end{list}}
+% begin: floats for footnotes tweaking.
+\setlength{\floatsep}{0.5em}
+\setlength{\textfloatsep}{\fill}
+\addtolength{\textfloatsep}{3em}
+\renewcommand{\textfraction}{0.5}
+\renewcommand{\topfraction}{0.5}
+\renewcommand{\bottomfraction}{0.5}
+\setcounter{totalnumber}{50}
+\setcounter{topnumber}{50}
+\setcounter{bottomnumber}{50}
+% end floats for footnotes
+% some commands, that could be overwritten in the style file.
+\newcommand{\rubric}[1]{\subsection*{~\hfill {\it #1} \hfill ~}}
+\newcommand{\titlereference}[1]{\textsl{#1}}
+% end of "some commands"
+\input{style.tex}
+\title{Example table}
+\author{}
+\date{}
+\hypersetup{
+pdftitle={Example table}
+}
+\raggedbottom
+\begin{document}
+\maketitle
+
+
+\setlength{\locallinewidth}{\linewidth}
+\begin{quote}
+
+\begin{longtable}[c]{|p{0.11\locallinewidth}|p{0.10\locallinewidth}|p{0.10\locallinewidth}|}
+\hline
+
+Item
+ &
+400 x 3
+ &
+1200E
+ \\
+\hline
+
+Tax
+ &
+20{\%}
+ &
+240E
+ \\
+\hline
+
+Other
+ &
+150 x 3
+ &
+450E
+ \\
+\hline
+\multicolumn{2}{|l|}{
+Special
+} &
+60E
+ \\
+\hline
+\multicolumn{2}{|l|}{
+Total
+} &
+1950E
+ \\
+\hline
+\end{longtable}
+\end{quote}
+
+\end{document}
+