mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix [foot|margin]note spacing in LaTeX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2161 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ab254289c8
commit
6bb4ea8c10
@ -1,5 +1,7 @@
|
|||||||
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
|
||||||
|
|
||||||
* lyxfunc.C (Dispatch):
|
* lyxfunc.C (Dispatch):
|
||||||
* Spacing.C (set):
|
* Spacing.C (set):
|
||||||
* BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
|
* BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* insetmarginal.C (latex):
|
||||||
|
* insetfoot.C (latex): fix spacing of notes in LaTeX
|
||||||
|
|
||||||
* insettext.C (localDispatch): use .c_str() on istringstream
|
* insettext.C (localDispatch): use .c_str() on istringstream
|
||||||
constructor argument.
|
constructor argument.
|
||||||
|
|
||||||
|
@ -51,10 +51,10 @@ string const InsetFoot::editMessage() const
|
|||||||
int InsetFoot::latex(Buffer const * buf,
|
int InsetFoot::latex(Buffer const * buf,
|
||||||
std::ostream & os, bool fragile, bool fp) const
|
std::ostream & os, bool fragile, bool fp) const
|
||||||
{
|
{
|
||||||
os << "\\footnote{%\n";
|
os << "%\n\\footnote{";
|
||||||
|
|
||||||
int const i = inset.latex(buf, os, fragile, fp);
|
int const i = inset.latex(buf, os, fragile, fp);
|
||||||
os << "}\n";
|
os << "%\n}";
|
||||||
|
|
||||||
return i + 2;
|
return i + 2;
|
||||||
}
|
}
|
||||||
|
@ -51,10 +51,10 @@ string const InsetMarginal::editMessage() const
|
|||||||
int InsetMarginal::latex(Buffer const * buf,
|
int InsetMarginal::latex(Buffer const * buf,
|
||||||
std::ostream & os, bool fragile, bool fp) const
|
std::ostream & os, bool fragile, bool fp) const
|
||||||
{
|
{
|
||||||
os << "\\marginpar{%\n";
|
os << "%\n\\marginpar{";
|
||||||
|
|
||||||
int const i = inset.latex(buf, os, fragile, fp);
|
int const i = inset.latex(buf, os, fragile, fp);
|
||||||
os << "}%\n";
|
os << "%\n}";
|
||||||
|
|
||||||
return i + 2;
|
return i + 2;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user