-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-betweenrules.tex
59 lines (43 loc) · 942 Bytes
/
test-betweenrules.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
51
52
53
54
55
56
57
58
59
\documentclass[openany]{book}
\usepackage{lipsum}
\usepackage{boxedminipage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength{\headheight}{35pt}
\renewcommand{\headrulewidth}{2pt}
\fancyhf{}
\fancyhead[C]{%
\headrule
\vspace{12pt}
Project Description
\vspace{8pt}
}
\begin{document}
\tableofcontents
\bigskip
\noindent
\begin{boxedminipage}{\textwidth}
This is test-betweenrules.tex.
It demonstrates a header with a rule above and below it. The rules are thicker.
The spacing is a bit more than usual, so \verb|\headheigth| is increased.
\begin{verbatim}
\setlength{\headheight}{35pt}
\renewcommand{\headrulewidth}{2pt}
\fancyhf{}
\fancyhead[C]{%
\headrule
\vspace{12pt}
Project Description
\vspace{8pt}
}
\end{verbatim}
\end{boxedminipage}
\chapter{Introduction}
\thispagestyle{fancy}
\lipsum[1]
\section{The Problem}
\label{sec:problem}
\lipsum[2-3]
\section{Evaluation}
\lipsum[3-5]
\end{document}