1 |
210 |
ja_rd |
\ProvidesPackage{ionstyle}
|
2 |
|
|
|
3 |
|
|
\let\STARTCODE\relax
|
4 |
|
|
\let\STOPCODE\relax
|
5 |
|
|
\STARTCODE
|
6 |
|
|
\usepackage{fix-cm}
|
7 |
|
|
\usepackage{fourier}%................... Roman+math - Utopia
|
8 |
|
|
\usepackage[scaled=.92]{helvet}%........ Sans serif - Helvetica
|
9 |
|
|
\usepackage[T1]{fontenc}
|
10 |
|
|
\usepackage{color}
|
11 |
|
|
\definecolor{ChapGrey}{rgb}{0.6,0.6,0.6}
|
12 |
|
|
\newcommand{\LargeFont}{% Needs a 'stretchable' font
|
13 |
|
|
\usefont{\encodingdefault}{\rmdefault}{b}{n}%
|
14 |
|
|
\fontsize{60}{80}\selectfont\color{ChapGrey}}
|
15 |
|
|
\makeatletter
|
16 |
|
|
\makechapterstyle{GreyNum}{%
|
17 |
|
|
\renewcommand{\chapnamefont}{\large\sffamily\bfseries\itshape}
|
18 |
|
|
\renewcommand{\chapnumfont}{\LargeFont}
|
19 |
|
|
\renewcommand{\chaptitlefont}{\Huge\sffamily\bfseries\itshape}
|
20 |
|
|
\setlength{\beforechapskip}{0pt}
|
21 |
|
|
\setlength{\midchapskip}{40pt}
|
22 |
|
|
\setlength{\afterchapskip}{60pt}
|
23 |
|
|
\renewcommand\chapterheadstart{\vspace*{\beforechapskip}}
|
24 |
|
|
\renewcommand\printchaptername{%
|
25 |
|
|
\begin{tabular}{@{}c@{}}
|
26 |
|
|
\chapnamefont \@chapapp\\}
|
27 |
|
|
\renewcommand\chapternamenum{\noalign{\vskip 2ex}}
|
28 |
|
|
\renewcommand\printchapternum{\chapnumfont\thechapter\par}
|
29 |
|
|
\renewcommand\afterchapternum{%
|
30 |
|
|
\end{tabular}
|
31 |
|
|
\par\nobreak\vskip\midchapskip}
|
32 |
|
|
\renewcommand\printchapternonum{}
|
33 |
|
|
\renewcommand\printchaptertitle[1]{%
|
34 |
|
|
{\chaptitlefont{##1}\par}}
|
35 |
|
|
\renewcommand\afterchaptertitle{\par\nobreak\vskip \afterchapskip}
|
36 |
|
|
\renewcommand{\chaptername}{Section}
|
37 |
|
|
}
|
38 |
|
|
\makeatother
|
39 |
|
|
\chapterstyle{GreyNum}
|
40 |
|
|
\STOPCODE
|
41 |
|
|
\setlength\afterchapskip {\onelineskip }
|
42 |
|
|
\setlength\beforechapskip {\onelineskip }
|
43 |
|
|
\usepackage{lipsum}
|
44 |
|
|
|
45 |
|
|
\usepackage{graphicx} % needed for including graphics e.g. EPS, PS
|
46 |
|
|
\usepackage{multirow}
|
47 |
|
|
\usepackage{moreverb}
|
48 |
|
|
\usepackage{needspace}
|
49 |
|
|
\usepackage{alltt}
|
50 |
|
|
\topmargin -1.5cm % read Lamport p.163
|
51 |
|
|
\oddsidemargin -0.04cm % read Lamport p.163
|
52 |
|
|
\evensidemargin -0.04cm % same as oddsidemargin but for left-hand pages
|
53 |
|
|
\textwidth 16.59cm
|
54 |
|
|
\textheight 21.94cm
|
55 |
|
|
%\pagestyle{empty} % Uncomment if don't want page numbers
|
56 |
|
|
\parskip 7.2pt % sets spacing between paragraphs
|
57 |
|
|
%\renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines
|
58 |
|
|
\parindent 15pt % sets leading space for paragraphs
|
59 |
|
|
\usepackage[utf8]{inputenc}
|
60 |
|
|
\usepackage{booktabs}
|
61 |
|
|
\usepackage{tabularx} % Flexible tables
|
62 |
221 |
ja_rd |
\hypersetup{%
|
63 |
|
|
pdfborder = {0 0 0}
|
64 |
|
|
}
|