| 1 |
# chet |
| 2 |
|
| 3 |
[](https://ctan.org/pkg/chet) |
| 4 |
[](https://www.latex-project.org/lppl/) |
| 5 |
|
| 6 |
The `chet` package provides a streamlined LaTeX2e setup inspired by Paul |
| 7 |
Ginsparg's `harvmac`. It gives papers the typographic look and feel of |
| 8 |
`harvmac` while using standard LaTeX2e commands and environments. |
| 9 |
|
| 10 |
See [doc/chetdoc.pdf](doc/chetdoc.pdf) for full documentation and examples. |
| 11 |
|
| 12 |
## Contents |
| 13 |
|
| 14 |
| File | Description | |
| 15 |
| --- | --- | |
| 16 |
| `chet.sty` | Main style file | |
| 17 |
| `chetref.bst` | BibTeX bibliography style | |
| 18 |
| `doc/chetdoc.tex` | Documentation and example | |
| 19 |
| `doc/chetdoc.pdf` | Compiled documentation | |
| 20 |
|
| 21 |
## Installation |
| 22 |
|
| 23 |
**Via TeX Live / MiKTeX:** The package is on [CTAN](https://ctan.org/pkg/chet) |
| 24 |
and is included in both distributions. |
| 25 |
|
| 26 |
**Manually:** Copy `chet.sty` and `chetref.bst` into your project folder (or |
| 27 |
anywhere on your TeX path). |
| 28 |
|
| 29 |
## Usage |
| 30 |
|
| 31 |
Add to your preamble: |
| 32 |
|
| 33 |
```latex |
| 34 |
\usepackage{chet} |
| 35 |
``` |
| 36 |
|
| 37 |
Then compile with pdflatex and BibTeX: |
| 38 |
|
| 39 |
```sh |
| 40 |
pdflatex paper && bibtex paper && pdflatex paper && pdflatex paper |
| 41 |
``` |
| 42 |
|
| 43 |
### Options |
| 44 |
|
| 45 |
| Option | Description | |
| 46 |
| --- | --- | |
| 47 |
| `mcite` | Enable grouped citations via [`mciteplus`](https://ctan.org/pkg/mciteplus): `\cite{a, *b, *c}` | |
| 48 |
| `british` | Print "Acknowledgements" instead of "Acknowledgments" | |
| 49 |
| `macrosonly` | Load only equation/section macros, without page layout (for conference proceedings) | |
| 50 |
|
| 51 |
### Key commands |
| 52 |
|
| 53 |
| Command | Description | |
| 54 |
| --- | --- | |
| 55 |
| `\eqn{...}[label]` | Display equation, numbered only if label given | |
| 56 |
| `\eqna{...}[label]` | Aligned equation with single centred number | |
| 57 |
| `\twoseqn`, `\threeseqn`, `\fourseqn` | Numbered subequation groups | |
| 58 |
| `\newsec{title}[label]` | Section with optional label | |
| 59 |
| `\subsec{title}[label]` | Subsection with optional label | |
| 60 |
| `\subsubsec{title}[label]` | Subsubsection with optional label | |
| 61 |
| `\rcite{key}` | Citation (shows key on margin in `\draftmode`) | |
| 62 |
| `\draftmode` | Show equation/section labels in margins | |
| 63 |
| `\toc` | Table of contents | |
| 64 |
| `\foot{...}` | Footnote | |
| 65 |
| `\ack{...}` | Acknowledgments section | |
| 66 |
| `\email{addr}` | Email footnote (horizontal layout) | |
| 67 |
| `\emailV{addr}` | Email footnote (vertical layout) | |
| 68 |
| `\emails{addrs}` | Single email footnote with no mark | |
| 69 |
| `\preprint{id}` | Preprint number (top right of title page) | |
| 70 |
|
| 71 |
Labels defined with the optional argument are also available as `\labelname` |
| 72 |
in subsequent text. |