PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Putting a table in a header



JoFramboos
05-09-2005, 16:26
I 'm trying t insert a table in my page headers, but latex seems to put the header always wrong.

This is what i do to make the table:

\newpagestyle{teststyle}{
\sethead{
{\footnotesize
\begin{tabular}{|p{2.6cm}|p{3.6cm}|p{3.6cm}|p{3.6c m}|}
\hline
\multicolumn{1}{|l|}{Kwaliteitshandboek} &
\multicolumn{3}{l|}{\thechapter.~\chaptertitle}\\
\multicolumn{1}{|l|}{} &
\multicolumn{3}{l|}{\hspace{3mm}\thesection ~\sectiontitle} \\
\hline
Opgesteld door: & Goedgekeurd door: & Paraaf: &
Datum Goedkeuring:\\
& & & 01-01-2005\\
Res. Avondrust & \large Deswert Luk & . . . . . . . . . . . . . . .
. &
Datum toepassing:\\
& & & 01-01-2005\\
\hline
\end{tabular}
}
}
{}
{}
}

The table is perfect, but it always apears on top of the text of my document. When i increase the headersize, the table just goos down as well...

These are my page settings:
\documentclass[a4paper,oneside,11pt]{book}

\usepackage[dvips]{graphicx}
\usepackage[dutch]{babel}
\usepackage{makeidx}
\usepackage{wrapfig}
\usepackage{url}
\usepackage{picins}
\usepackage[ansinew]{inputenc}
\usepackage[big, pagestyles]{titlesec}
\usepackage{eso-pic,graphicx}



\setlength{\topmargin}{1cm}
\setlength{\headheight}{10cm}

\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
\setlength{\parindent}{0pt} \sloppy \setlength{\textwidth}{15cm}
\setlength{\oddsidemargin}{0.5in}
\addtolength{\textheight}{54,4pt}
\renewcommand{\baselinestretch}{1.2}

Please help me out here ;)

JoFramboos
05-09-2005, 16:31
got it!
just have to put [b] next to my tabledefinition