summaryrefslogtreecommitdiff
path: root/info/german/fancyhdr/bsp7.tex
diff options
context:
space:
mode:
Diffstat (limited to 'info/german/fancyhdr/bsp7.tex')
-rw-r--r--info/german/fancyhdr/bsp7.tex46
1 files changed, 46 insertions, 0 deletions
diff --git a/info/german/fancyhdr/bsp7.tex b/info/german/fancyhdr/bsp7.tex
new file mode 100644
index 0000000000..36b19b8184
--- /dev/null
+++ b/info/german/fancyhdr/bsp7.tex
@@ -0,0 +1,46 @@
+\documentclass[10pt,a5paper,twoside,titlepage]{article}
+\usepackage{german}
+\usepackage{graphicx}
+\usepackage[DIV12]{typearea}
+\usepackage{fancyhdr}
+\usepackage{pslatex}
+
+
+\pagestyle{fancy}
+\fancyhf{}
+\fancyhead[EL]{\thepage}% gerade Seiten, links
+\fancyhead[OR]{\thepage}% ungerade Seiten, rechts
+\fancyhead[ER,OL]{
+\begin{tabular}[b]{l}
+Beispiele zu \texttt{fancyhdr}\\
+Hans Friedrich Steffani\\
+Lehrstuhl Elektr. Masch. u. Antriebe
+\end{tabular}
+\includegraphics[height=3\baselineskip]{tulogo}
+}
+
+\title{Beispiele zu \texttt{fancyhdr}}
+\author{Hans Friedrich Steffani}
+
+\begin{document}
+\maketitle
+\section{Beispiel 7}
+\begin{verbatim}
+\pagestyle{fancy}
+\fancyhf{}
+\fancyhead[EL]{\thepage}% gerade Seiten, links
+\fancyhead[OR]{\thepage}% ungerade Seiten, rechts
+\fancyhead[ER,OL]{
+\begin{tabular}[b]{l}
+Beispiele zu \texttt{fancyhdr}\\
+Hans Friedrich Steffani\\
+Lehrstuhl Elektr. Masch. u. Antriebe
+\end{tabular}
+\includegraphics[height=3\baselineskip]{tulogo}
+}
+\end{verbatim}
+
+Dies ist nat"urlich ein schlechtes Beispiel.
+\input{beispiel}
+\end{document}
+