From: Uwe Stöhr Date: Sun, 17 May 2015 19:59:29 +0000 (+0200) Subject: tex2lyx/text.cpp: set correct default horizontal position for \framebox X-Git-Tag: 2.2.0alpha1~779 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f1832074f0f0f708b60fa3b6d844263bda4c62a4;p=features.git tex2lyx/text.cpp: set correct default horizontal position for \framebox --- 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")