mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
Phantom is fragile (#9456)
This commit is contained in:
parent
48774ed56f
commit
b7d2169413
@ -309,6 +309,8 @@ docstring InsetPhantom::toolTip(BufferView const &, int, int) const
|
||||
|
||||
void InsetPhantom::latex(otexstream & os, OutputParams const & runparams) const
|
||||
{
|
||||
if (runparams.moving_arg)
|
||||
os << "\\protect";
|
||||
if (params_.type == InsetPhantomParams::Phantom)
|
||||
os << "\\phantom{";
|
||||
else if (params_.type == InsetPhantomParams::HPhantom)
|
||||
|
@ -69,6 +69,9 @@ What's new
|
||||
|
||||
- Do not output \protect unnecessarily in subfigure contents (bug 9421).
|
||||
|
||||
- Do \protect phantoms in fragile environments (such as captions)
|
||||
(bug 9456).
|
||||
|
||||
- Fix LaTeX error with font sizes in caption.
|
||||
|
||||
- Fix wrong listings preamble encoding (bug 9382).
|
||||
|
Loading…
Reference in New Issue
Block a user