summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-22 22:11:58 +0000
committerKarl Berry <karl@freefriends.org>2011-05-22 22:11:58 +0000
commit202a2e74aba102848dc83e873614709f760d6381 (patch)
treeb0aaf089e2c36fe187f46744c08f9437fa40840c
parent6e7639ea832d72d76a258941e5751db5c9ced17f (diff)
chet (22may11)
git-svn-id: svn://tug.org/texlive/trunk@22570 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/chet/README4
-rw-r--r--Master/texmf-dist/doc/latex/chet/chetdoc.pdfbin167777 -> 169122 bytes
-rw-r--r--Master/texmf-dist/doc/latex/chet/chetdoc.tex6
-rw-r--r--Master/texmf-dist/doc/latex/chet/chetmacros.txt77
-rw-r--r--Master/texmf-dist/tex/latex/chet/chet.cls52
5 files changed, 38 insertions, 101 deletions
diff --git a/Master/texmf-dist/doc/latex/chet/README b/Master/texmf-dist/doc/latex/chet/README
index d37666b6f84..03fb610432b 100644
--- a/Master/texmf-dist/doc/latex/chet/README
+++ b/Master/texmf-dist/doc/latex/chet/README
@@ -1,6 +1,6 @@
This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license.
---------------------------------------------------------------------------
-The "chet" class (class for high-energy theory) is inspired by Paul Ginsparg's harvmac, but uses LaTeX instead of the obsolete TeX. The commands provided are to be used as faster alternatives to LaTeX's default environments.
+
+The "chet" class (class for high-energy theory) is inspired by Paul Ginsparg's harvmac, but uses LaTeX2e instead of the obsolete TeX. The commands provided are to be used as faster alternatives to LaTeX's default environments.
To use chet just copy chet.cls in the folder of the TeX file you are compiling (or in your path) and start your TeX file with \documentclass{chet}. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/chet/chetdoc.pdf b/Master/texmf-dist/doc/latex/chet/chetdoc.pdf
index 35f60d9a62f..fed01b527ed 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 baceaaa69f4..4aaf6e3c6dc 100644
--- a/Master/texmf-dist/doc/latex/chet/chetdoc.tex
+++ b/Master/texmf-dist/doc/latex/chet/chetdoc.tex
@@ -60,13 +60,13 @@ The \verb1.bib1 file can be incuded in the main \verb1.tex1 file, preferably at
Your citations go here...
\end{filecontents}
\end{verbatim}
-Here, \verb1bibname.bib1 should be substituted with the name of the \verb1.bib1 file that you call in the command \verb1\bibliography{}1. (See usage in this example file.)
+Here, \verb1bibname.bib1 should be substituted with the name of the \verb1.bib1 file that you call in the command \verb1\bibliography{}1.\foot{The functions supported from the \texttt{.bst} style file are \texttt{@article}, \texttt{@book}, \texttt{@inbook}, and \texttt{@inproceedings}.} (See usage in this example file.)
For example, the form of the three-point function in superconformal theories is not fixed up to a constant, as explained in \rcite{Osb98}.
-\ack{I would like to thank Ken Intriligator and Jean-Fran\c{c}ois Fortin for adopting \texttt{chet}, and for their numerous suggestions and tips that helped me improve the class.
+\ack{I would like to thank Ken Intriligator, Ben Grinstein, and Jean-Fran\c{c}ois Fortin for adopting \texttt{chet}, and for their numerous suggestions and tips that helped me improve the class.
-Several \LaTeX\ packages are called by default by \texttt{chet}. In alphabetical order, they are \texttt{amsmath}, \texttt{appendix}, \texttt{authblk}, \texttt{caption}, \texttt{cite}, \texttt{collref}, \texttt{datetime}, \texttt{filecontents}, \texttt{geometry}, \texttt{hyperref}, \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!}
+Several \LaTeX\ packages are called by default by \texttt{chet}. In alphabetical order, they are \texttt{amsmath}, \texttt{appendix}, \texttt{authblk}, \texttt{caption}, \texttt{cite}, \texttt{collref}, \texttt{datetime}, \texttt{filecontents}, \texttt{footmisc}, \texttt{geometry}, \texttt{hyperref}, \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
diff --git a/Master/texmf-dist/doc/latex/chet/chetmacros.txt b/Master/texmf-dist/doc/latex/chet/chetmacros.txt
deleted file mode 100644
index 793328cc79e..00000000000
--- a/Master/texmf-dist/doc/latex/chet/chetmacros.txt
+++ /dev/null
@@ -1,77 +0,0 @@
-\usepackage{xparse}
-\usepackage{xspace}
-% Numbered equation with optional label
-\NewDocumentCommand\eqn{mo}{%
- \IfNoValueTF{#2}
- {\[ #1 \]}
- {\begin{equation}\label{#2} #1 \end{equation} \expandafter\newcommand\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces}
-}
-
-% Numbered aligned equation with optional label in the vertical middle
-\NewDocumentCommand\eqna{mo}{%
- \IfNoValueTF{#2}
- {\begin{align*} #1 \end{align*}}
- {\begin{equation}\label{#2}\begin{split} #1 \end{split}\end{equation} \expandafter\def\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces}
-}
-
-% Numbered subequations
-% Two subequations
-\NewDocumentCommand\twoseqn{momoo}{%
- \IfNoValueTF{#5}
- {\begin{subequations}\begin{align} #1\label{#2} \\ #3 \label{#4} \end{align}\end{subequations} \expandafter\def\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces \expandafter\def\csname #4\endcsname{\eqref{#4}\xspace}\ignorespaces}
- {\begin{subequations}\label{#5}\begin{align} #1\label{#2} \\ #3 \label{#4} \end{align}\end{subequations} \expandafter\def\csname #5\endcsname{\eqref{#5}\xspace}\ignorespaces \expandafter\def\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces \expandafter\def\csname #4\endcsname{\eqref{#4}\xspace}\ignorespaces}
-}
-% Three subequations
-\NewDocumentCommand\threeseqn{momomoo}{%
- \IfNoValueTF{#7}
- {\begin{subequations}\begin{align} #1\label{#2} \\ #3 \label{#4} \\ #5 \label{#6} \end{align}\end{subequations} \expandafter\def\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces \expandafter\def\csname #4\endcsname{\eqref{#4}\xspace}\ignorespaces \expandafter\def\csname #6\endcsname{\eqref{#6}\xspace}\ignorespaces}
- {\begin{subequations}\label{#7}\begin{align} #1\label{#2} \\ #3 \label{#4} \\ #5 \label{#6} \end{align}\end{subequations} \expandafter\def\csname #7\endcsname{\eqref{#7}\xspace}\ignorespaces \expandafter\def\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces \expandafter\def\csname #4\endcsname{\eqref{#4}\xspace}\ignorespaces \expandafter\def\csname #6\endcsname{\eqref{#6}\xspace}\ignorespaces}
-}
-
-% Four subequations
-\NewDocumentCommand\fourseqn{momomomoo}{%
- \IfNoValueTF{#9}
- {\begin{subequations}\begin{align} #1\label{#2} \\ #3 \label{#4} \\ #5 \label{#6} \\ #7\label{#8} \end{align}\end{subequations} \expandafter\def\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces \expandafter\def\csname #4\endcsname{\eqref{#4}\xspace}\ignorespaces \expandafter\def\csname #6\endcsname{\eqref{#6}\xspace}\ignorespaces \expandafter\def\csname #8\endcsname{\eqref{#8}\xspace}\ignorespaces}
- {\begin{subequations}\label{#9}\begin{align} #1\label{#2} \\ #3 \label{#4} \\ #5 \label{#6} \\ #7\label{#8} \end{align}\end{subequations} \expandafter\def\csname #9\endcsname{\eqref{#9}\xspace}\ignorespaces \expandafter\def\csname #2\endcsname{\eqref{#2}\xspace}\ignorespaces \expandafter\def\csname #4\endcsname{\eqref{#4}\xspace}\ignorespaces \expandafter\def\csname #6\endcsname{\eqref{#6}\xspace}\ignorespaces \expandafter\def\csname #8\endcsname{\eqref{#8}\xspace}\ignorespaces}
-}
-
-\newcommand{\rcite}{\cite}
-\newcommand{\draftmode}{\usepackage[notref,notcite]{showkeys}}
-\providecommand*\showkeyslabelformat[1]{\normalfont\sffamily\footnotesize#1}
-\newcommand{\foot}{\footnote}
-
-% Sections and subsections
-\NewDocumentCommand\newsec{mo}{%
- \IfNoValueTF{#2}
- {\section{#1}}
- {\section{#1}\label{#2} \expandafter\gdef\csname #2\endcsname{\ref{#2}\xspace}\ignorespaces}
-}
-\NewDocumentCommand\subsec{mo}{%
- \IfNoValueTF{#2}
- {\subsection{#1}}
- {\subsection{#1}\label{#2}\expandafter\gdef\csname #2\endcsname{\ref{#2}\xspace}\ignorespaces}
-}
-\NewDocumentCommand\subsubsec{mo}{%
- \IfNoValueTF{#2}
- {\subsubsection{#1}}
- {\subsubsection{#1}\label{#2}\expandafter\gdef\csname #2\endcsname{\ref{#2}\xspace}\ignorespaces}
-}
-
-\makeatletter
-\renewcommand\section{\@startsection {section}{1}{\z@}%
-{-6ex \@plus -1ex \@minus -.2ex}%
-{2.3ex \@plus.2ex}%
-{\bfseries}}
-\makeatother
-\makeatletter
-\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\itshape}}
-\makeatother
-\makeatletter
-\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\itshape}}
-\makeatother \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/chet/chet.cls b/Master/texmf-dist/tex/latex/chet/chet.cls
index 082ae08764f..a0cab496cb6 100644
--- a/Master/texmf-dist/tex/latex/chet/chet.cls
+++ b/Master/texmf-dist/tex/latex/chet/chet.cls
@@ -352,7 +352,7 @@
% chetref.bst
% Copyright 2011 Andreas Stergiou
%
-% This is is basically a copy of nb.bst, with minor stylistic changes.
+% This is is basically a copy of nb.bst, with minor stylistic changes and additions.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -540,13 +540,6 @@ FUNCTION {multi.page.check}
multiresult
}
-
-
-
-
-
-
-
INTEGERS { output.state }
FUNCTION {output}
@@ -611,7 +604,7 @@ FUNCTION {format.editor}
{
editor empty$
{ "" }
- { "ed.: " editor format.names * }
+ { "ed: " editor format.names * }
if$
}
@@ -788,14 +781,14 @@ FUNCTION {format.edition}
FUNCTION {format.pages}
{ pages empty$
{ "" }
- { pages "p" * }
+ { "p.~" pages *}
if$
}
FUNCTION {do.inbook}
{ booktitle empty$
{ }
- { "in: \textit{``" booktitle * "''}" * output
+ { "in \textit{``" booktitle * "''}" * output
format.edition output
format.editor output
format.publisher output
@@ -834,19 +827,41 @@ FUNCTION {book}
begin.entry
format.authors output
- format.btitle output
-% format.bvolume output
-% format.number.series output
+ format.btitle output
format.edition output
format.publisher output
format.address output
-% format.date output
format.pages output
format.note output
fin.entry
newline$
}
+FUNCTION {inbook}
+{ begin.entry
+ format.authors output
+ format.title output
+ "in \textit{``" booktitle * "''}" * output
+ format.edition output
+ format.editor output
+ format.pages output
+ format.publisher output
+ format.address output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+ { begin.entry
+ format.authors output
+ format.title output
+ "in \textit{``" booktitle * "''}" * output
+ format.edition output
+ format.editor output
+ format.pages output
+ format.publisher output
+ format.address output
+ fin.entry
+}
FUNCTION {default.type} { article }
@@ -926,6 +941,7 @@ EXECUTE {end.bib}
\usepackage{cite}
\usepackage{color}
\usepackage{collref}
+\usepackage{footmisc}
\usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=3cm]{geometry}
\usepackage[linktocpage]{hyperref}
@@ -1038,6 +1054,8 @@ EXECUTE {end.bib}
% Footnotes
\newcommand{\foot}{\footnote}
+\setlength{\skip\footins}{0.5cm} % Vertical spacing between text body and footnotes
+\setlength{\footnotesep}{0.4cm} % Vertical separation of footnotes
% Horizontal spacing between words
@@ -1052,10 +1070,6 @@ EXECUTE {end.bib}
\setlength{\jot}{5pt}
-% Vertical spacing between text body and footnotes
-\setlength{\skip\footins}{0.5cm}
-
-
% Figure name
\renewcommand{\figurename}{Fig.\!}