diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-12 18:03:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-12 18:03:34 +0000 |
commit | 571a59707cdc614327b51de4a2494eddf9410042 (patch) | |
tree | 367f82656d2835ca3a2de3e2994e0cb411f8b65a /Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls | |
parent | df62587ee85aba2109d6ff1efee005af5b626ac1 (diff) |
hepthesis update (11jul08)
git-svn-id: svn://tug.org/texlive/trunk@9483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls b/Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls index e15f2982b05..b7c7deec09c 100644 --- a/Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls +++ b/Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls @@ -15,8 +15,8 @@ %% ======================================================================== %% Admin %% ======================================================================== -\def\fileversion{1.4} -\def\filedate{2007/09/12} +\def\fileversion{1.4.2} +\def\filedate{2008/05/23} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{hepthesis}[\filedate\space HEP thesis class by Andy Buckley (v\fileversion)] @@ -28,7 +28,6 @@ \def\@yes{yes} \def\@requireamsmath{yes} \def\@requirebooktabs{yes} -\def\@requiresfheaders{} \def\@requiremakeidx{} \def\@requiretitling{} \def\@requirehep{} @@ -37,6 +36,7 @@ \def\@useAFour{yes} \def\@requireAFourWide{} \def\@oneside{} +%% TODO: Make "yes" by default... \def\@sftitles{} \def\@bindmargins{yes} \def\@hidefrontmatter{} @@ -61,6 +61,8 @@ %% Sans serif titles? \DeclareOption{sftitles}{% \def\@sftitles{yes}} +\DeclareOption{rmtitles}{% + \def\@sftitles{}} %% Pad inner margins for binding \DeclareOption{bind}{% @@ -197,7 +199,7 @@ %% ======================================================================== %% Base class -\LoadClass[12pt]{scrbook} +\LoadClass[12pt,chapterprefix]{scrbook} %% Use wide format if using A4 paper \ifx\@requireAFourWide\@empty\else\RequirePackage{a4wide}\fi @@ -237,9 +239,9 @@ \RequirePackage{titling}% \fi -%% Sans serif titles -\ifx\@sftitles\@empty\else% - \RequirePackage{sfheaders} +%% Serif titles +\ifx\@sftitles\@empty + \addtokomafont{sectioning}{\rmfamily\bfseries} \fi %% In standard tabular: aligns \hline properly with vertical @@ -302,9 +304,12 @@ %pdfpagemode=None, FullScreen, UseThumbs, UseOutlines \fi -%% Make maths in titles go automatically bold +%% Misc tweaks \AtEndOfClass{% + %% Make maths in titles go automatically bold \g@addto@macro\bfseries{\boldmath} + %% Declare a bold version of the typewriter font + \DeclareFontShape{OT1}{cmtt}{bx}{n}{<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>cmttb10}{} } |