mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
InsetBox.cpp: fix #4776; the additional \makebox is superfluous because \makebox and \framebox are equivalent, except that the latter draws a frame
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34472 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
643803d0e2
commit
0176f8e04c
@ -282,7 +282,6 @@ int InsetBox::latex(odocstream & os, OutputParams const & runparams) const
|
|||||||
case Boxed:
|
case Boxed:
|
||||||
os << "\\framebox";
|
os << "\\framebox";
|
||||||
if (!params_.inner_box) {
|
if (!params_.inner_box) {
|
||||||
os << "{\\makebox";
|
|
||||||
// Special widths, see usrguide §3.5
|
// Special widths, see usrguide §3.5
|
||||||
// FIXME UNICODE
|
// FIXME UNICODE
|
||||||
if (params_.special != "none") {
|
if (params_.special != "none") {
|
||||||
@ -374,8 +373,6 @@ int InsetBox::latex(odocstream & os, OutputParams const & runparams) const
|
|||||||
os << "\\end{framed}";
|
os << "\\end{framed}";
|
||||||
break;
|
break;
|
||||||
case Boxed:
|
case Boxed:
|
||||||
if (!params_.inner_box)
|
|
||||||
os << "}"; // for makebox
|
|
||||||
os << "}";
|
os << "}";
|
||||||
break;
|
break;
|
||||||
case ovalbox:
|
case ovalbox:
|
||||||
|
Loading…
Reference in New Issue
Block a user