summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chet
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-04 00:07:37 +0000
committerKarl Berry <karl@freefriends.org>2014-08-04 00:07:37 +0000
commit2089ae0fc0d752226b8cfddef688f775cf53a770 (patch)
treef00668f108e308242795b7a3f656ed23dfffee1b /Master/texmf-dist/tex/latex/chet
parentfa08289d204e8dde53c5b71063e2e2b610490aac (diff)
chet
git-svn-id: svn://tug.org/texlive/trunk@34821 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chet')
-rw-r--r--Master/texmf-dist/tex/latex/chet/chet.sty35
1 files changed, 28 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/chet/chet.sty b/Master/texmf-dist/tex/latex/chet/chet.sty
index 64b922c4948..339369a1116 100644
--- a/Master/texmf-dist/tex/latex/chet/chet.sty
+++ b/Master/texmf-dist/tex/latex/chet/chet.sty
@@ -1,4 +1,4 @@
-% chet.sty (version 1.7)
+% chet.sty (version 2.0)
% Copyright 2014 Andreas Stergiou
%
% This package is supposed to streamline latex typesetting and give the
@@ -213,19 +213,21 @@
\def\@seccntformat#1{\csname the#1\endcsname.\hspace{4.6pt}}
-% Acknowledgements
+% Acknowledgments
\newenvironment{acknowledgments}{\vspace{12pt}\begin{center}\textbf{Acknowledgments}\end{center}\vspace{-12pt}}{}
\newcommand{\ack}[1]{\begin{samepage}\begin{acknowledgments} {#1} \end{acknowledgments}\end{samepage}}
% References
-\renewcommand\refname{\bfseries\centering References\\ \vspace{-0.4cm}}
+\renewcommand\refname{\bfseries\centering References\\ \vspace{-0.4cm}
+\addcontentsline{toc}{section}{References}}
\bibliographystyle{chetref}
% Separator between references in single cite number
\collectsep{\ding{70}~}
% Footnotes
+%\renewcommand{\footnotesize}{\normalsize}
\newcommand{\foot}{\footnote}
\setlength{\skip\footins}{0.5cm} % Vertical spacing between text body and footnotes
\setlength{\footnotesep}{0.4cm} % Vertical separation of footnotes
@@ -255,7 +257,7 @@
% Appendices
\newcommand\appendix@section[1]{%
\refstepcounter{section}%
- \orig@section*{Appendix~\@Alph\c@section. #1}%
+ \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}
@@ -263,10 +265,19 @@
% Footnotes for emails in titlepage
-\SetFootnoteHook{\noindent}
+% Horizontal emails
+\SetFootnoteHook{\noindent\hspace{-5pt}}
\DeclareNewFootnote[para]{E}[roman]
\newcommand{\email}[1]{\footnoteE{\href{mailto:#1}{\texttt{#1}}}}
-\newcommand{\emails}[1]{\footnotetextE{\texttt{#1}}}
+% Vertical emails
+\SetFootnoteHook{\noindent\hspace{-10pt}}
+\DeclareNewFootnote{EE}[roman]
+\newcommand{\emailV}[1]{\footnoteEE{\href{mailto:#1}{\texttt{#1}}}}
+% All emails together
+\SetFootnoteHook{\noindent}
+\DeclareNewFootnote[para]{EEE}[roman]
+\newcommand{\emails}[1]{\footnotetextEEE{\texttt{#1}}}
+
%Titlepage
\renewcommand{\abstract}[1]{\def\@abstract {#1}}
@@ -276,6 +287,15 @@
\affiliation{}
\preprint{}
+
+% Title font (scaled cmr10)
+\DeclareFontShape{OT1}{cmr}{mx}{n}%
+ {<->cmr10}{}
+\newcommand{\mytitlefont}{\fontseries{mx}\selectfont}
+% Command for use with math in title $\titlemath{...}$
+\DeclareMathAlphabet{\titlemath}{OT1}{cmr}{mx}{n}
+
+
\def\maketitle{%
\begin{titlepage}
\begin{flushright}
@@ -283,7 +303,7 @@
\end{flushright}
\vspace{2cm}
\begin{center}
- {\huge\@title}
+ {\huge\mytitlefont\@title}
\bigskip\bigskip\bigskip
@@ -302,5 +322,6 @@
}
\fi
+
\endinput
%