diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-08-21 18:20:21 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-08-21 18:20:21 -0700 |
commit | fa0b97e1ccf6ad2541d25ce5bbce4a6aad61ece3 (patch) | |
tree | 975a1ee459e2f14545f418ca9aa35b7ccb8abd61 /texmf/tex/latex/pessay/pessay.cls | |
parent | d3bfc5bac6581b48ccd7857c2aadd01732df5390 (diff) | |
download | dotfiles-fa0b97e1ccf6ad2541d25ce5bbce4a6aad61ece3.tar.gz |
pessay.cls defaults to not continue enums
Diffstat (limited to 'texmf/tex/latex/pessay/pessay.cls')
-rw-r--r-- | texmf/tex/latex/pessay/pessay.cls | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/texmf/tex/latex/pessay/pessay.cls b/texmf/tex/latex/pessay/pessay.cls index e51a109a..9f2a1173 100644 --- a/texmf/tex/latex/pessay/pessay.cls +++ b/texmf/tex/latex/pessay/pessay.cls @@ -16,6 +16,12 @@ } \newcommand{\finishdouble}{\onehalfspacing} +%% ---- Command to set up enumeration + +\newcommand{\enumsettings}{% + \setenumerate[1]{label={\arabic*.},ref={(\arabic*)},itemindent=0.30in,labelsep=1em,itemsep=-1em,before=\vspace{-0.5em},after=\vspace{-0.5em}}% +} + %% ---- Options for our document class. %% One-half spacing @@ -68,6 +74,13 @@ \renewcommand{\footnote}[1]{\endnote{##1}}} \DeclareOption{footnotes}{\renewcommand{\notesandrefs}[1]{\bibhere{#1}}\renewcommand{\doendnotes}{}} +%% Enable enum numbering resume + +\DeclareOption{resume}{% + \renewcommand{\enumsettings}{% + \setenumerate[1]{resume,label={\arabic*.},ref={(\arabic*)},itemindent=0.30in,labelsep=1em,itemsep=-1em,before=\vspace{-0.5em},after=\vspace{-0.5em}}% + }% +} %% ---- Pass options to the article class and then load it with %% ---- \papersettings (defined just above) @@ -96,7 +109,7 @@ %% ---- Useful enumerations -\setenumerate[1]{resume,label={\arabic*.},ref={(\arabic*)},itemindent=0.30in,labelsep=1em,itemsep=-1em,before=\vspace{-0.5em},after=\vspace{-0.5em}} +\enumsettings %% ---- Sectioning |