ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/tex/manual/style.sty
Revision: 1.3
Committed: Wed Nov 9 12:46:11 2005 UTC (19 years, 6 months ago) by sashby
Branch: MAIN
CVS Tags: V1_1_7, V1_1_6, V1_1_5, V1_1_4, V1_1_3, V1_1_2, V1_1_0_reltag8, V1_1_0_reltag7, V1_1_0_reltag6, V1_1_1, V1_1_0_reltag5, V1_1_0_reltag4, V1_1_0_reltag3, V1_1_0_reltag2, V1_1_0_reltag1, V1_1_0_reltag, V1_0_3-p4, V1_1_0_cand3, V1_1_0_cand2, V1_1_0_cand1, HEAD_SM_071214, forV1_1_0, v103_xml_071106, V1_0_3-p3, V1_0_3-p2, V1_1_0, v110p1, V110p6, V110p5, V110p4, V110p3, V110p2, V110p1, V1_0_3-p1, V1_0_3
Branch point for: HEAD_BRANCH_SM_071214, v200branch, v103_with_xml
Changes since 1.2: +1 -1 lines
Log Message:
Fix to formatting of manual so that page numbers don't disappear.

File Contents

# User Rev Content
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     % -------------------------------------------------------------