summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
index 4d8cb1db097..3ce94dd203b 100644
--- a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
+++ b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
@@ -166,4 +166,14 @@
}
%}
+
+% Fixes for AMS classess
+\AddToHook{class/after}{%
+ \ifx\authors\@empty%
+ \def\@maketitle@hook{
+ \global\let\Author\authors
+ }
+ \fi%
+}
+
\newcommand\coverimage[2][]{\includegraphics[#1]{#2}}