summaryrefslogtreecommitdiff
path: root/texmf
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-25 11:54:44 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-25 11:54:44 -0700
commitd0a7d52ac24a3c8653cf5abe02eff1640bb84591 (patch)
tree2ab0627190a465ff62226122dadabc4630a11587 /texmf
parent9f7cb920aaa7e77ece254c3ae52ee6c96fc8386b (diff)
downloaddotfiles-d0a7d52ac24a3c8653cf5abe02eff1640bb84591.tar.gz
fix spacing around standard title
Diffstat (limited to 'texmf')
-rw-r--r--texmf/tex/latex/pessay/pessay.cls11
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