projects
/
ibg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a223f3
)
Use pagestyle for standard page headings.
author
Glenn Hutchings
<zondo42@gmail.com>
Thu, 28 Apr 2016 19:29:41 +0000
(20:29 +0100)
committer
Glenn Hutchings
<zondo42@gmail.com>
Thu, 28 Apr 2016 19:29:41 +0000
(20:29 +0100)
config/preamble.tex
patch
|
blob
|
history
diff --git
a/config/preamble.tex
b/config/preamble.tex
index b4f8bcab981e2e010766b66afe1a71df33e8f736..30d6f20f6607f436499c3f3306e92cf5ec107eac 100644
(file)
--- a/
config/preamble.tex
+++ b/
config/preamble.tex
@@
-1,6
+1,6
@@
%% LaTeX preamble.
%% LaTeX preamble.
-\usepackage[left=2.5cm,right=2.5cm,top=3cm,bottom=
3
cm]{geometry}
+\usepackage[left=2.5cm,right=2.5cm,top=3cm,bottom=
2
cm]{geometry}
\usepackage{setspace}
\usepackage{emerald}
\usepackage{type1cm}
\usepackage{setspace}
\usepackage{emerald}
\usepackage{type1cm}
@@
-8,7
+8,7
@@
\usepackage{titlesec}
%% Set up page.
\usepackage{titlesec}
%% Set up page.
-\pagestyle{
fanc
y}
+\pagestyle{
empt
y}
\pagenumbering{roman}
\thispagestyle{fancy}
\pagenumbering{roman}
\thispagestyle{fancy}
@@
-22,13
+22,6
@@
%% Set section numbering depth.
\setcounter{secnumdepth}{0}
%% Set section numbering depth.
\setcounter{secnumdepth}{0}
-%% Set up headers and footers.
-\fancyhead{}
-\fancyfoot{}
-
-\renewcommand{\headrulewidth}{0.0pt}
-\renewcommand{\footrulewidth}{0.0pt}
-
%% Add page break before each section.
\newcommand{\sectionbreak}{\clearpage}
%% Add page break before each section.
\newcommand{\sectionbreak}{\clearpage}
@@
-57,7
+50,7
@@
%% License page
\def\licensepage{
%% License page
\def\licensepage{
- \
fancyfoot[C]{\pagefoot
}
+ \
pagestyle{plain
}
${title}
Authors: ${author}\par
${title}
Authors: ${author}\par
@@
-71,7
+64,8
@@
%% History page.
\def\historypage{
%% History page.
\def\historypage{
- \fancyfoot[C]{\pagefoot}
+ \pagestyle{plain}
+
\huge \textbf{Release history} \normalsize
\vspace{3em}
\huge \textbf{Release history} \normalsize
\vspace{3em}
@@
-90,13
+84,13
@@
%% Contents page.
\def\contentspage{
%% Contents page.
\def\contentspage{
- \
fancyfoot[C]{\pagefoot
}
+ \
pagestyle{plain
}
\tableofcontents
}
%% Main text.
\def\maintext{
\tableofcontents
}
%% Main text.
\def\maintext{
- \
fancyfoot[C]{\pagefoot
}
+ \
pagestyle{headings
}
\pagenumbering{arabic}
\renewcommand\thepage{\arabic{page}}
\setcounter{page}{1}
\pagenumbering{arabic}
\renewcommand\thepage{\arabic{page}}
\setcounter{page}{1}