1 |
sashby |
1.1 |
%=====================================================================================
|
2 |
|
|
% Style file:
|
3 |
|
|
%=====================================================================================
|
4 |
|
|
\usepackage{fancyhdr}
|
5 |
|
|
\usepackage{a4}
|
6 |
|
|
\usepackage{epsfig}
|
7 |
|
|
\usepackage{html}
|
8 |
|
|
\usepackage{makeidx}
|
9 |
|
|
\usepackage{Vmargin}
|
10 |
|
|
% -------------------------
|
11 |
|
|
% Set the LaTeX unit to mm
|
12 |
|
|
% -------------------------
|
13 |
|
|
\setlength{\unitlength}{1mm}
|
14 |
|
|
% -------------------------
|
15 |
|
|
% -------------------------------------------------------------
|
16 |
|
|
% Set up the page - left, top, right, bottom,
|
17 |
|
|
% headheight, headsep, footheight,footskip.
|
18 |
|
|
% -------------------------------------------------------------
|
19 |
|
|
\setpapersize{A4}
|
20 |
|
|
% Slightly tweak outside margin:
|
21 |
sashby |
1.3 |
%\setmarginsrb{30mm}{10mm}{20mm}{40mm}{10mm}{15mm}{0pt}{10mm}
|
22 |
sashby |
1.1 |
% -------------------------------------------------------------
|
23 |
|
|
% Use fancy headings
|
24 |
|
|
% -------------------------------------------------------------
|
25 |
|
|
\pagestyle{fancy}
|
26 |
|
|
%
|
27 |
|
|
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
|
28 |
|
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
29 |
|
|
%
|
30 |
|
|
\lhead[\fancyplain{}{\small\sffamily\bfseries\thepage}]
|
31 |
|
|
{\fancyplain{}{\small\sffamily\bfseries\rightmark}}%
|
32 |
|
|
%
|
33 |
|
|
\rhead[\fancyplain{}{\small\sffamily\bfseries\leftmark}]
|
34 |
|
|
{\fancyplain{}{\small\sffamily\bfseries\thepage}}%
|
35 |
|
|
%
|
36 |
|
|
\cfoot{}
|
37 |
sashby |
1.2 |
%
|
38 |
|
|
\renewcommand{\section}{\@startsection {section}{1}{\z@}%
|
39 |
|
|
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
40 |
|
|
{2.3ex \@plus.2ex}%
|
41 |
|
|
{\reset@font\Large\bfseries\rmfamily}}
|
42 |
|
|
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
|
43 |
|
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
44 |
|
|
{1.5ex \@plus .2ex}%
|
45 |
|
|
{\reset@font\large\bfseries\rmfamily}}
|
46 |
|
|
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
|
47 |
|
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
48 |
|
|
{1.5ex \@plus .2ex}%
|
49 |
|
|
{\reset@font\normalsize\bfseries\rmfamily}}
|
50 |
sashby |
1.1 |
% -------------------------------------------------------------
|
51 |
|
|
% TOC `sees' subsubsections
|
52 |
|
|
% -------------------------------------------------------------
|
53 |
|
|
\setcounter{tocdepth}{3}
|
54 |
|
|
\setcounter{secnumdepth}{10}
|
55 |
|
|
% -------------------------------------------------------------
|
56 |
|
|
% Footnote ruler
|
57 |
|
|
% -------------------------------------------------------------
|
58 |
|
|
\renewcommand{\footnoterule}{\vspace*{-3pt}%
|
59 |
|
|
\qquad\hrulefill\qquad\vspace*{2.6pt}}
|
60 |
|
|
\addtolength{\skip\footins}{3mm}
|
61 |
|
|
% -------------------------------------------------------------
|
62 |
|
|
% Set text normal size
|
63 |
|
|
% -------------------------------------------------------------
|
64 |
|
|
\normalsize
|
65 |
|
|
% -------------------------------------------------------------
|
66 |
|
|
% Bold table and figure numbers
|
67 |
|
|
% -------------------------------------------------------------
|
68 |
|
|
\def\fnum@figure{{\bfseries \figurename~\thefigure}}
|
69 |
|
|
\def\fnum@table{{\bfseries \tablename~\thetable}}
|
70 |
|
|
% -------------------------------------------------------------
|
71 |
|
|
% Change counter depth so subsubsection (x.x.x.x) aren't
|
72 |
|
|
% numbered:
|
73 |
|
|
% -------------------------------------------------------------
|
74 |
|
|
\setcounter{secnumdepth}{2}
|
75 |
|
|
% -------------------------------------------------------------
|
76 |
|
|
% -------------------- The End --------------------------------
|
77 |
|
|
% -------------------------------------------------------------
|