summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-01 19:43:55 +0000
committerKarl Berry <karl@freefriends.org>2014-08-01 19:43:55 +0000
commit8463386923836aeaaff9774b38d321797e567e00 (patch)
treea8d785a75f9cd21f6bcf9661ab9772d7d328d765
parent73362e402c81443cfbcdde597817ac7dd1198079 (diff)
chet (1aug14)
git-svn-id: svn://tug.org/texlive/trunk@34792 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/bibtex/bst/chet/chetref.bst2
-rw-r--r--Master/texmf-dist/doc/latex/chet/chetdoc.pdfbin168140 -> 178694 bytes
-rw-r--r--Master/texmf-dist/doc/latex/chet/chetdoc.tex26
-rw-r--r--Master/texmf-dist/tex/latex/chet/chet.sty28
4 files changed, 36 insertions, 20 deletions
diff --git a/Master/texmf-dist/bibtex/bst/chet/chetref.bst b/Master/texmf-dist/bibtex/bst/chet/chetref.bst
index d56b28125bf..6e304e62636 100644
--- a/Master/texmf-dist/bibtex/bst/chet/chetref.bst
+++ b/Master/texmf-dist/bibtex/bst/chet/chetref.bst
@@ -3,7 +3,7 @@
%% from source `test' on 2011/10/04.
%%
% chetref.bst
-% Copyright 2011 Andreas Stergiou
+% Copyright 2014 Andreas Stergiou
%
% This is is basically a copy of nb.bst, with minor stylistic changes and additions.
%
diff --git a/Master/texmf-dist/doc/latex/chet/chetdoc.pdf b/Master/texmf-dist/doc/latex/chet/chetdoc.pdf
index b1654d897ce..1472884364f 100644
--- a/Master/texmf-dist/doc/latex/chet/chetdoc.pdf
+++ b/Master/texmf-dist/doc/latex/chet/chetdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/chet/chetdoc.tex b/Master/texmf-dist/doc/latex/chet/chetdoc.tex
index 41edce7e1e7..854a9786a46 100644
--- a/Master/texmf-dist/doc/latex/chet/chetdoc.tex
+++ b/Master/texmf-dist/doc/latex/chet/chetdoc.tex
@@ -1,7 +1,7 @@
% chetdoc.tex
-% Copyright 2012 Andreas Stergiou
+% Copyright 2014 Andreas Stergiou
%
-% This is an example file for the use of the package chet.
+% This is an example file for the use of the package chet (version 1.7).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -75,7 +75,9 @@ compilation method
is obsolete and redundant, and should not be used. As far as I know the
only problem that arises frequently with \TeX\textrightarrow\verb1PDF1 is
the inability to obtain \verb1psfrag1 replacements in \verb1eps1 figures;
-that can be taken care of very easily with the package \verb1pstool1.
+that can be taken care of very easily with the package \verb1pstool1. Of
+course, these days one should only make figures with
+\href{http://sourceforge.net/projects/pgf/}{\emph{TikZ}}.
\subsec{Sections}
%
@@ -164,13 +166,14 @@ suggestions and tips that helped me improve the package.
Several \LaTeX\ packages are called by default by \texttt{chet}. In
alphabetical order, they are \texttt{amsmath}, \texttt{caption},
\texttt{cite}, \texttt{collref}, \texttt{datetime}, \texttt{filecontents},
-\texttt{footmisc}, \texttt{geometry}, \texttt{hyperref}, \texttt{manyfoot},
-\texttt{pifont}, \texttt{showkeys}, \texttt{tocloft}, \texttt{xparse}, and
-\texttt{xspace}. I would like to thank the authors of these great packages
-for their amazing work!}
+\texttt{footmisc}, \texttt{geometry}, \texttt{hyperref},
+\texttt{kvoptions}, \texttt{manyfoot}, \texttt{microtype}, \texttt{pifont},
+\texttt{showkeys}, \texttt{tocloft}, \texttt{xparse}, and \texttt{xspace}.
+I would like to thank the authors of these great packages for their amazing
+work!}
-\appendix
+\begin{appendices}
\newsec{Other commands}
%
@@ -180,11 +183,11 @@ Commands often used include
\item \verb1\toc1: produces the table of contents.
\item \verb1\foot{}1: produces footnotes.
\item \verb1\ack{}1: used for acknowledgements.
- \item \verb1\appendix1: used before the appendices.
+ \item \verb1\begin{appendices}...\end{appendices}1: used for
+ appendices.
\item \verb1\bibliography{}1: produces the bibliography.
\end{itemize}
-
\newsec{Conference proceedings}
%
If you want to use the macros for equations and sections defined in
@@ -194,10 +197,9 @@ conference proceedings, then you can just use the option
\verb1\usepackage{chet}1, include \verb1\usepackage[macrosonly]{chet}1 in
the preamble of your \texttt{.tex} file.
+\end{appendices}
\bibliography{chetdocbib}
-
-
\begin{filecontents}{chetdocbib.bib}
@article{FGS,
author = "Fortin, Jean-Francois and Grinstein, Benjamin and Stergiou,
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