Re: amsart+amsaddr+dedicatory

Uwe Brauer <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
> Am Sun, 04 Sep 2022 07:54:14 +0200 schrieb Uwe Brauer:


> Nun wie die Fehlermeldung sagt, kannst du prevdepth nicht im
> horizontal mode verwenden. D.h.

>   abc

>   \prevdepth 1cm

> is unproblematisch, aber

>   abc
>   \prevdepth 1cm

> gibt einen Fehler.

> Also musst du schauen, was vor dem \prevdepth passiert. Die \vtop
> würde nicht in den horizontal mode wechseln (und ist bei beidem
> gleich), aber davor setzt amsaddr Autoren mit 
> \@set@authors@addresses und der Befehl wird nicht korrekt mit einem
> \par beendet.

> Versuche es mit 

> \AddToHook{cmd/@set@authors@addresses/after}{\par}

> und informiere den Autor.

Könnte das auch funktionieren?

\usepackage{etoolbox}
\makeatletter
\patchcmd{\@set@authors@addresses{}{\par}
{}{\typeout{Unsuccessful patch!}}

\makeatother 

> -- 
> Ulrike Fischer 
> http://www.troubleshooting-tex.de/

-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
smime.p7s (application/pkcs7-signature, 5.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.