General ⇒ Table as a Header
Table as a Header
Can someone suggest how I can do this?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Table as a Header
hereś a simple example:
Code: Select all
\documentclass{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{lipsum}%just to generate some text
\renewcommand\headheight{24pt}
\lhead{\begin{tabular}{c|c}%
1a & 2a\\
1b & 2b
\end{tabular}}
\begin{document}
\chapter{Dummy Chapter}
\lipsum[1-20]
\end{document}