From 64b7e39503022a8c0ce58857cea7f25d57369757 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 10 Dec 2012 01:29:36 +0000 Subject: chet (9dec12) git-svn-id: svn://tug.org/texlive/trunk@28481 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/chet/chetdoc.pdf | Bin 168428 -> 168140 bytes Master/texmf-dist/doc/latex/chet/chetdoc.tex | 31 +++++----- Master/texmf-dist/doc/latex/chet/chetmacros.txt | 77 ------------------------ 3 files changed, 16 insertions(+), 92 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/chet/chetmacros.txt (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/chet/chetdoc.pdf b/Master/texmf-dist/doc/latex/chet/chetdoc.pdf index 6887adabe30..b1654d897ce 100644 Binary files a/Master/texmf-dist/doc/latex/chet/chetdoc.pdf and b/Master/texmf-dist/doc/latex/chet/chetdoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/chet/chetdoc.tex b/Master/texmf-dist/doc/latex/chet/chetdoc.tex index 2c719909dc6..41edce7e1e7 100644 --- a/Master/texmf-dist/doc/latex/chet/chetdoc.tex +++ b/Master/texmf-dist/doc/latex/chet/chetdoc.tex @@ -1,5 +1,5 @@ % chetdoc.tex -% Copyright 2011 Andreas Stergiou +% Copyright 2012 Andreas Stergiou % % This is an example file for the use of the package chet. % @@ -33,9 +33,9 @@ University of Somewhere Else, \ldots} inspired by Paul Ginsparg's \texttt{harvmac}, but uses \LaTeXe\ instead of \TeX. The commands provided are to be used as faster alternatives to \LaTeXe's default environments (which can all still be used with -\texttt{chet}). +\texttt{chet}). -\begin{center} +\begin{center} % (\texttt{chet} can be found at \href{http://www.ctan.org/pkg/chet}{\texttt{http://www.ctan.org/pkg/chet}}.) @@ -47,7 +47,7 @@ inspired by Paul Ginsparg's \texttt{harvmac}, but uses \LaTeXe\ instead of \maketitle \toc - + \newsec{Basic commands}[SecLabel] % \subsec{Preamble} @@ -159,15 +159,15 @@ dimensions as demonstrated in \rcite{FGS}. \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 package. +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{appendix}, -\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!} +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!} \appendix @@ -188,10 +188,11 @@ Commands often used include \newsec{Conference proceedings} % If you want to use the macros for equations and sections defined in -\texttt{chet}, but have to use another \texttt{.sty} file, -for example for conference proceedings, then you can just copy and paste -the contents of \texttt{chetmacros.txt} in the preamble of your -\texttt{.tex} file. +\texttt{chet}, but have to use another \texttt{.sty} file, for example for +conference proceedings, then you can just use the option +\texttt{macrosonly} when you call \texttt{chet}, i.e.\ instead of +\verb1\usepackage{chet}1, include \verb1\usepackage[macrosonly]{chet}1 in +the preamble of your \texttt{.tex} file. \bibliography{chetdocbib} 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 -- cgit v1.2.3