summaryrefslogtreecommitdiff
path: root/support/tex4ebook/tex4ebook.sty
diff options
context:
space:
mode:
Diffstat (limited to 'support/tex4ebook/tex4ebook.sty')
-rw-r--r--support/tex4ebook/tex4ebook.sty10
1 files changed, 10 insertions, 0 deletions
diff --git a/support/tex4ebook/tex4ebook.sty b/support/tex4ebook/tex4ebook.sty
index 4d8cb1db09..3ce94dd203 100644
--- a/support/tex4ebook/tex4ebook.sty
+++ b/support/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}}