fix nested uwave

This commit is contained in:
Udi Fogiel 2023-09-27 01:32:55 +03:00 committed by Juergen Spitzmueller
parent 9b8183b877
commit 7ccdc6edf5

View File

@ -505,8 +505,8 @@ int Font::latexWriteStartChanges(otexstream & os, BufferParams const & bparams,
if (runparams.inulemcmd) {
// needed with nested uwave in xout
// see https://tex.stackexchange.com/a/263042
os << "\\ULdepth=1000pt";
count += 15;
os << "\\ULdepth=\\maxdimen";
count += 18;
}
if (needs_cprotection) {
os << "\\cprotect";