From f1832074f0f0f708b60fa3b6d844263bda4c62a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sun, 17 May 2015 21:59:29 +0200 Subject: [PATCH] tex2lyx/text.cpp: set correct default horizontal position for \framebox --- src/tex2lyx/text.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 2b05fb736c..2ed73959bd 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -950,6 +950,9 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags, << " for " << outer_type << endl; hor_pos = "c"; } + } else { + if (outer_type == "framebox") + hor_pos = "c"; } } } else if (inner_type != "makebox") -- 2.39.2