diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chet/chet.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chet/chet.sty | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/chet/chet.sty b/Master/texmf-dist/tex/latex/chet/chet.sty index 1ee51ec9129..64b922c4948 100644 --- a/Master/texmf-dist/tex/latex/chet/chet.sty +++ b/Master/texmf-dist/tex/latex/chet/chet.sty @@ -1,5 +1,5 @@ -% chet.sty -% Copyright 2012 Andreas Stergiou +% chet.sty (version 1.7) +% Copyright 2014 Andreas Stergiou % % This package is supposed to streamline latex typesetting and give the % look and feel of harvmac to a paper, with the use of LaTex2e. @@ -121,6 +121,7 @@ \usepackage{pifont} \usepackage{cite} \usepackage{color} +\usepackage{microtype} \usepackage{collref} \usepackage[para]{manyfoot} \usepackage[bottom]{footmisc} @@ -245,18 +246,31 @@ % Figure name \renewcommand{\figurename}{Fig.\!} + % Format of date in bottom left of title page \newdateformat{mydate}{\monthname[\THEMONTH] \THEYEAR} %Needs package datetime \mydate{} +% Appendices +\newcommand\appendix@section[1]{% + \refstepcounter{section}% + \orig@section*{Appendix~\@Alph\c@section. #1}% + \addcontentsline{toc}{section}{Appendix~\@Alph\c@section.~#1}} +\let\orig@section\section +\g@addto@macro\appendix{\let\section\appendix@section} +\newcommand{\appendices}{\appendix} + + +% Footnotes for emails in titlepage +\SetFootnoteHook{\noindent} \DeclareNewFootnote[para]{E}[roman] \newcommand{\email}[1]{\footnoteE{\href{mailto:#1}{\texttt{#1}}}} -\newcommand{\emails}[1]{\let\thefootnote\relax\footnotetext{{\texttt{#1}}}} +\newcommand{\emails}[1]{\footnotetextE{\texttt{#1}}} %Titlepage -\renewcommand{\abstract}[1]{\def \@abstract {#1}} -\newcommand{\affiliation}[1]{\def \@affiliation {#1}} +\renewcommand{\abstract}[1]{\def\@abstract {#1}} +\newcommand{\affiliation}[1]{\def\@affiliation {#1}} \newcommand{\preprint}[1]{\def\@preprint {#1}} \abstract{} \affiliation{} @@ -269,7 +283,7 @@ \end{flushright} \vspace{2cm} \begin{center} - {\Large\bfseries \@title} + {\huge\@title} \bigskip\bigskip\bigskip @@ -277,7 +291,7 @@ \bigskip - \emph{\@affiliation} + {\emph\@affiliation} \end{center} \bigskip\bigskip \noindent\@abstract |