commit 7ccdc6edf548c8eda345c70a4212b70e6003ad0c
Author: Udi Fogiel <udifog...@gmail.com>
Date:   Wed Sep 27 01:32:55 2023 +0300

    fix nested uwave
---
 src/Font.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Font.cpp b/src/Font.cpp
index 8c73e91..7e0798d 100644
--- a/src/Font.cpp
+++ b/src/Font.cpp
@@ -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";
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to