summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hepthesis
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hepthesis')
-rw-r--r--Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls21
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}{}
}