diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-04 14:50:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-04 14:50:32 +0000 |
commit | 70c5604c155226ecad5f0c797cc59c9ce50e1e49 (patch) | |
tree | bfff574998380f5097007d19c6c64a3c7d20267f /Master/texmf-dist/tex | |
parent | 68ae4f7bfb0b890c21bd8c5d10752b008f641cd0 (diff) |
hepthesis 1.4.3 (3jun10)
git-svn-id: svn://tug.org/texlive/trunk@18725 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls b/Master/texmf-dist/tex/latex/hepthesis/hepthesis.cls index b7c7deec09c..a25773da227 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.2} -\def\filedate{2008/05/23} +\def\fileversion{1.4.3} +\def\filedate{2010/05/27} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{hepthesis}[\filedate\space HEP thesis class by Andy Buckley (v\fileversion)] @@ -41,8 +41,6 @@ \def\@bindmargins{yes} \def\@hidefrontmatter{} \def\@hidebackmatter{} -%% TODO: how to handle this? -%\usepackage[babel]{csquotes}[2007/03/25] %% Part-wise spacing commands and definitions \def\@frontmatterspacing{onehalfspacing} @@ -73,7 +71,7 @@ \DeclareOption{bindnopdf}{ \ifx\pdfoutput\undefined% \def\@bindmargins{yes}% - \else% + \else% \def\@bindmargins{}% \fi% } @@ -116,12 +114,12 @@ % Use hyperref package (with decent options) only if output is PDF \DeclareOption{hyperpdf}{ - \ifx\pdfoutput\undefined\else% + \ifx\pdfoutput\undefined\else% \def\@requirehyper{yes}% \fi% } -%% Don't break enumerations (etc.) across pages in +%% Don't break enumerations (etc.) across pages in %% an ugly manner \clubpenalty = 10000 \widowpenalty = 10000 @@ -204,8 +202,11 @@ %% Use wide format if using A4 paper \ifx\@requireAFourWide\@empty\else\RequirePackage{a4wide}\fi +%% If building with PDFLaTeX, use microtype spacing adjustments +\RequirePackage{microtype} + %% Need to be able to locally change the text width. -\RequirePackage{chngpage} +\RequirePackage{changepage} %% Used to center the variable width page quote (must be version >= 0.9a) \RequirePackage{varwidth}[2003/03/10] @@ -244,8 +245,8 @@ \addtokomafont{sectioning}{\rmfamily\bfseries} \fi -%% In standard tabular: aligns \hline properly with vertical -%% lines (check with zoom). But you shouldn't using vertical +%% In standard tabular: aligns \hline properly with vertical +%% lines (check with zoom). But you shouldn't using vertical %% lines, should you? See booktabs documentation ;-) %\RequirePackage{array} @@ -439,7 +440,7 @@ %% Provide mixed-case versions of the Table of contents, -%% List of tables, List of figures, Bibliography etc. header names +%% List of tables, List of figures, Bibliography etc. header names \DeclareRobustCommand{\contentsname}{Contents} \DeclareRobustCommand{\bibname}{Bibliography} \DeclareRobustCommand{\listfigurename}{List of figures} @@ -455,8 +456,9 @@ %% Internal environments and commands %% ======================================================================== -%% Provide dumb quoting commands in case the csquotes package hasn't been used. \AtEndOfClass{% + \usepackage[babel]{csquotes}[2007/03/25] + %% Provide dumb quoting commands in case the csquotes package hasn't been used. \providecommand{\enquote}[1]{``#1''}% \providecommand{\foreignquote}[1]{``#1''}% } @@ -504,7 +506,7 @@ \setcounter{secnumdepth}{2}% number down to subsections \newcounter{iterlist}% \@oldfrontmatter% - \adjustwidth[]{\@frontmatterextramargin}{\@frontmatterextramargin}% + \adjustwidth{\@frontmatterextramargin}{\@frontmatterextramargin}% \begin{\@frontmatterspacing}% }{% \end{\@frontmatterspacing}% @@ -519,7 +521,7 @@ %\@oldmainmatter% \@mainmattertrue \pagenumbering{arabic}% - \adjustwidth[]{\@mainmatterextramargin}{\@mainmatterextramargin}% + \adjustwidth{\@mainmatterextramargin}{\@mainmatterextramargin}% \begin{\@mainmatterspacing}% }{% \end{\@mainmatterspacing}% @@ -530,7 +532,7 @@ %% Environment for appendices \specialcomment{appendices}{% - \adjustwidth[]{\@appendixextramargin}{\@appendixextramargin}% + \adjustwidth{\@appendixextramargin}{\@appendixextramargin}% \begin{\@appendixspacing}% \appendix% }{% @@ -544,7 +546,7 @@ \let\@oldbackmatter\backmatter \specialcomment{backmatter}{% \@oldbackmatter% - \adjustwidth[]{\@backmatterextramargin}{\@backmatterextramargin}% + \adjustwidth{\@backmatterextramargin}{\@backmatterextramargin}% \begin{\@backmatterspacing}% \appendix% }{% @@ -557,7 +559,7 @@ %% Environment for acknowledgements page in frontmatter \newenvironment{acknowledgements}{% \cleardoublepage% - \adjustwidth[]{\@acknowledgementsextramargin}{\@acknowledgementsextramargin}% + \adjustwidth{\@acknowledgementsextramargin}{\@acknowledgementsextramargin}% \vspace*{\@frontmattertopskip}% \begin{center}% \begingroup @@ -575,7 +577,7 @@ %% Environment for preface page in frontmatter \newenvironment{preface}{% \cleardoublepage% - \adjustwidth[]{\@prefaceextramargin}{\@prefaceextramargin}% + \adjustwidth{\@prefaceextramargin}{\@prefaceextramargin}% \vspace*{\@frontmattertopskip}% \begin{center}% \begingroup @@ -592,11 +594,11 @@ %% Environment for declaration rubrik page in frontmatter %% (flushright doesn't work in this macro for some reason, -%% so you'll have to do that bit yourself like in the +%% so you'll have to do that bit yourself like in the %% example file) \newenvironment{declaration}{% \cleardoublepage% - \adjustwidth[]{\@declarationextramargin}{\@declarationextramargin}% + \adjustwidth{\@declarationextramargin}{\@declarationextramargin}% \vspace*{\@frontmattertopskip}% \begin{center}% \begingroup @@ -619,7 +621,7 @@ %% Environment for thesis abstract in frontmatter %% (argument is the thesis title) \newenvironment{abstract}[1][Abstract]{% - \adjustwidth[]{\@abstractextramargin}{\@abstractextramargin}% + \adjustwidth{\@abstractextramargin}{\@abstractextramargin}% \cleardoublepage% \vspace*{\@frontmattertopskip}% \begin{center}% @@ -682,9 +684,9 @@ \def\@samelang{same}% \def\@reqlang{#1}% \ifx\@samelang\@reqlang% - \noindent\textsl{\enquote{#2}}% + \noindent\textsl{\enquote{\hspace{0.1ex}#2}}% \else% - \noindent\textsl{\foreignquote{\@reqlang}{#2}}% + \noindent\textsl{\foreignquote{\@reqlang}{\hspace{0.1ex}#2}}% \fi% \newline% \setlength{\parindent}{\@oldparindent} @@ -729,7 +731,7 @@ \DeclareRobustCommand{\chapterquote}[3][same]{% \def\@samelang{same}% \def\@reqlang{#1}% - \begin{adjustwidth}[]{}{3cm}% + \begin{adjustwidth}{}{3cm}% \ifx\@samelang\@reqlang% \noindent\emph{\enquote{#2}}% \else% |