[LyX/master] Fix small glitch with \underXXXarrow and \overXXXarrow
Enrico Forestieri
forenr at lyx.org
Fri Feb 12 22:53:11 UTC 2021
commit 400cb1b80f0779f15d42c29c26ae71c0d767868b
Author: Enrico Forestieri <forenr at lyx.org>
Date: Fri Feb 12 23:51:29 2021 +0100
Fix small glitch with \underXXXarrow and \overXXXarrow
When the argument is long enough, the arrow in the on-screen representation
was not covering the first or the last glyphs. For example, using
\overrightarrow{abcdefghijklmnopqrstuvwxyz}
the 'a' was drawn outside the covering arrow.
---
src/mathed/MathSupport.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mathed/MathSupport.cpp b/src/mathed/MathSupport.cpp
index 1203a31..a4b0693 100644
--- a/src/mathed/MathSupport.cpp
+++ b/src/mathed/MathSupport.cpp
@@ -235,7 +235,7 @@ double const arrow[] = {
0.0500, 0.7500, 0.2000, 0.6000, 0.3500, 0.3500,
0.5000, 0.0500, 0.6500, 0.3500, 0.8000, 0.6000,
0.9500, 0.7500,
- 3, 0.5000, 0.1500, 0.5000, 0.9500,
+ 3, 0.5000, 0.1500, 0.5000, 1.0000,
0
};
More information about the lyx-cvs
mailing list