summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/sshdbk10.sty
blob: c1a75f7349dc334edf21b423d7efdf84361719ef (plain)
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
% Save file as: SSHDBK10.STY           Source: FILESERV@SHSU.BITNET  
% SSHDBK10.STY: Sans Serif headings for BK10 style
% Change the headings to be in Sans Serif typefaces, 
% Also, take all sizes down a notch (huge, not Huge etc.).
% The changes are flagged thus.
%                         ^^^^
%
%----------------------------- part ---------------------------------------
% From book.sty:
%
\def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax \refstepcounter{part}
\addcontentsline{toc}{part}{\thepart \hspace{1em}#1}\else
\addcontentsline{toc}{part}{#1}\fi \markboth{}{}
 {\centering \ifnum \c@secnumdepth >-2\relax \Large\sf Part \thepart \par
%					     ^^^^^^^^^
\vskip 20pt \fi \huge \sf #1\par}\@endpart} 
%		^^^^^^^^^
\def\@endpart{\vfil\newpage \if@twoside \hbox{} \thispagestyle{empty} 
 \newpage 
 \fi \if@tempswa \twocolumn \fi} 
\def\@spart#1{{\centering \huge \sf #1\par}\@endpart}
%			  ^^^^^^^^^
%
%----------------------------- chapter -----------------------------------
% From bk10.sty:
%
\def\@makechapterhead#1{ \vspace*{50pt} { \parindent 0pt \raggedright 
 \ifnum \c@secnumdepth >\m@ne \huge\sf \@chapapp{} \thechapter \par 
 \vskip 20pt \fi \huge \sf #1\par 
%		 ^^^^^^^^^
 \nobreak \vskip 40pt } }
 
\def\@makeschapterhead#1{ \vspace*{50pt} { \parindent 0pt \raggedright 
 \huge \sf #1\par 
%^^^^^^^^^
 \nobreak \vskip 40pt } }
 
%----------------------------- section -----------------------------------
 
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus 
 -.2ex}{2.3ex plus .2ex}{\Large\sf}}
%			       ^^^
%-------------------------- subsection -----------------------------------
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus 
 -.2ex}{1.5ex plus .2ex}{\large\sf}}
%			       ^^^
%-------------------------- subsubsection --------------------------------
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
-1ex minus -.2ex}{1.5ex plus .2ex}{\normalsize\sf}}
%					      ^^^
%---------------------------- paragraph ----------------------------------
\def\paragraph{\@startsection
 {paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\sf}}
%                                                                 ^^^               
%--------------------------- subparagraph --------------------------------
\def\subparagraph{\@startsection
 {subparagraph}{4}{\parindent}{3.25ex plus 1ex minus 
 .2ex}{-1em}{\normalsize\sf}}
%			^^^