diff options
author | Karl Berry <karl@freefriends.org> | 2014-08-04 00:07:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-08-04 00:07:37 +0000 |
commit | 2089ae0fc0d752226b8cfddef688f775cf53a770 (patch) | |
tree | f00668f108e308242795b7a3f656ed23dfffee1b /Master | |
parent | fa08289d204e8dde53c5b71063e2e2b610490aac (diff) |
chet
git-svn-id: svn://tug.org/texlive/trunk@34821 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/chet/chetdoc.pdf | bin | 178694 -> 171381 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/chet/chetdoc.tex | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/chet/chet.sty | 35 |
3 files changed, 49 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/latex/chet/chetdoc.pdf b/Master/texmf-dist/doc/latex/chet/chetdoc.pdf Binary files differindex 1472884364f..b247b134c52 100644 --- a/Master/texmf-dist/doc/latex/chet/chetdoc.pdf +++ b/Master/texmf-dist/doc/latex/chet/chetdoc.pdf diff --git a/Master/texmf-dist/doc/latex/chet/chetdoc.tex b/Master/texmf-dist/doc/latex/chet/chetdoc.tex index 854a9786a46..2707fe7898f 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 +% chetdoc.tex (for chet version 2.0) % Copyright 2014 Andreas Stergiou % -% This is an example file for the use of the package chet (version 1.7). +% This is an example file for the use of the package chet (version 2.0). % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -20,7 +20,7 @@ \preprint{UCSD-PTH-11-08} -\title{The \texttt{chet} package} +\title{The chet package} \author{Andreas Stergiou$^{\ast,}$\email{stergiou@physics.ucsd.edu} and Author2$^{\ast,\dagger,}$\email{address2@example.com}} @@ -56,17 +56,22 @@ To use \verb1chet1 first make sure that the file \verb1chet.sty1 is in your path. (If you have references you also have to add the file \verb1chetref.bst1 to your path.) You can then start your document with \verb1\documentclass{article}1 and include \verb1\usepackage{chet}1 in the -preamble. For labels of equations, sections, etc.\ to -appear on the margins, you can use the command \verb1\draftmode1. - -In the preamble of the document one also specifies the preprint number, -authors' email addresses, and the abstract (see usage in this example -file). If you want to have only one footnote with all email addresses -and without footnote marks, then you can use the command \verb1\emails{}1 -inside the \verb1\author{}1 environment. If a specific date is desired, -then just include \verb1\date{}1 with the desired date in the preamble of -your document, and the default current date on the bottom left of the title -page will be substituted with the one you specified. +preamble. For labels of equations, sections, etc.\ to appear on the +margins, you can use the command \verb1\draftmode1. + +In the preamble of the document one also specifies the title, abstract, +preprint number, authors' email addresses, (see usage in this example +file). Note that if you have math in the title you should put it in +\verb1\titlemath{}1, i.e.\ use \verb1$\titlemath{...}$1, in order to +achieve the correct amount of boldness. The command \verb1\emailV{}1 is +also available to be used when emails are to be displayed as vertically +justified footnotes (one below the other) rather than in the same line. +Additionally, if you want to have only one footnote with all email +addresses and without footnote marks, then you can use the command +\verb1\emails{}1 inside the \verb1\author{}1 environment. If a specific +date is desired, then just include \verb1\date{}1 with the desired date in +the preamble of your document, and the default current date on the bottom +left of the title page will be substituted with the one you specified. It is suggested that authors compile straight to \texttt{pdf} with \texttt{pdflatex}, i.e.\ following \TeX\textrightarrow\verb1PDF1. The @@ -156,8 +161,8 @@ style file are \texttt{@article}, \texttt{@book}, \texttt{@inbook}, and \texttt{@inproceedings}.} (See usage in this example file.) Note that you still have to run Bib\TeX\ to compile the bibliography. -For example, scale does not imply conformal invariance in $4-\epsilon$ -dimensions as demonstrated in \rcite{FGS}. +For example, limit cycles appear in the RG in $4-\epsilon$ 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 @@ -213,5 +218,4 @@ the preamble of your \texttt{.tex} file. } \end{filecontents} - \end{document} 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 % |