-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample17.tex
50 lines (36 loc) · 1.07 KB
/
example17.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
\documentclass{article}
\usepackage{lipsum}
\usepackage{fourier-orns}
\usepackage{boxedminipage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength\headheight{14.4pt}
\renewcommand\headrule{\vspace{-6pt}\hrulefill
\raisebox{-2.1pt}
{\quad\decofourleft\decotwo\decofourright\quad}\hrulefill}
\renewcommand\footrule{\hrulefill
\raisebox{-2.1pt}
{\quad\decofourleft\decotwo\decofourright\quad}\hrulefill}
\begin{document}
\tableofcontents
\section{Introduction}
\begin{boxedminipage}{\textwidth}
This is example 17 in the fancyhdr documentation.\\
Using defaults in article class but with fourier decoration in \verb|\headrule| and \verb|\footrule|.
\begin{verbatim}
\usepackage{fourier-orns}
. . .
\renewcommand\headrule{\vspace{-6pt}\hrulefill
\raisebox{-2.1pt}
{\quad\decofourleft\decotwo\decofourright\quad}\hrulefill}
\renewcommand\footrule{\hrulefill
\raisebox{-2.1pt}
{\quad\decofourleft\decotwo\decofourright\quad}\hrulefill}
\end{verbatim}
\end{boxedminipage}
\subsection{The Problem}
\label{sec:problem}
\lipsum[1]
\subsection{Evaluation}
\lipsum
\end{document}