diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-25 11:54:44 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-25 11:54:44 -0700 |
commit | d0a7d52ac24a3c8653cf5abe02eff1640bb84591 (patch) | |
tree | 2ab0627190a465ff62226122dadabc4630a11587 /texmf | |
parent | 9f7cb920aaa7e77ece254c3ae52ee6c96fc8386b (diff) | |
download | dotfiles-d0a7d52ac24a3c8653cf5abe02eff1640bb84591.tar.gz |
fix spacing around standard title
Diffstat (limited to 'texmf')
-rw-r--r-- | texmf/tex/latex/pessay/pessay.cls | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/texmf/tex/latex/pessay/pessay.cls b/texmf/tex/latex/pessay/pessay.cls index e004049d..3a2b52e8 100644 --- a/texmf/tex/latex/pessay/pessay.cls +++ b/texmf/tex/latex/pessay/pessay.cls @@ -113,9 +113,15 @@ }% } -%% Disable my title +%% Disable my title and fix spacing around the standard title -\DeclareOption{normaltitle}{\renewcommand{\dospwtitle}{}} +\DeclareOption{normaltitle}{\makeatletter + \renewcommand{\dospwtitle}{ + \xpatchcmd{\@maketitle} + {\@title} + {\vspace{-2.0cm}\@title} + {}{} + \makeatother}} %% ---- Pass options to the article class and then load it with %% ---- \papersettings (defined just above) @@ -144,6 +150,7 @@ %% \RequirePackage[all]{nowidow} \RequirePackage{fancyhdr} \RequirePackage{relsize} % for \smaller in quotation font size +\RequirePackage{xpatch} %% ---- Useful enumerations |