]> git.lyx.org Git - features.git/commitdiff
fix nested uwave
authorUdi Fogiel <udifoglle@gmail.com>
Tue, 26 Sep 2023 22:32:55 +0000 (01:32 +0300)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 30 Sep 2023 11:44:03 +0000 (13:44 +0200)
src/Font.cpp

index 8c73e91f37345e545136d6651b5646897be11e9a..7e0798d8ac59b123182b0b609b351d561c5f6db5 100644 (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";