summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-05 22:05:24 +0000
committerKarl Berry <karl@freefriends.org>2021-11-05 22:05:24 +0000
commita98cb2d0cbaeeeac60d4dab14cc26204f4453a70 (patch)
tree727caa9944d818129f08b9af0f6963b96c37261d /Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
parent722a4b65466268d17ceabf53ff5b792099146624 (diff)
tex4ebook (5nov21)
git-svn-id: svn://tug.org/texlive/trunk@60965 c570f23f-e606-0410-a88d-b1316a301751
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}}