Am Mittwoch, 19. Juli 2017 um 15:00:16, schrieb Kornel Benko <kor...@lyx.org>
> So, maybe better we could omit \textcompwordmark in mono fonts.

This patch works for me. It uses vphantom{}, but only between '<<' and '>>'.

        Kornel
diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 73157e6..622477b 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -1378,8 +1378,8 @@ bool Paragraph::Private::latexSpecialT1(char_type const c, otexstream & os,
 		// but we should avoid ligatures
 		if (i + 1 >= int(text_.size()) || text_[i + 1] != c)
 			return true;
-		os << "\\textcompwordmark" << termcmd;
-		column += 19;
+		os << "\\vphantom{}";
+		column += 16;
 		return true;
 	case '|':
 		os.put(c);

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to