diff --git a/src/insets/InsetPhantom.cpp b/src/insets/InsetPhantom.cpp index f8d99d8bfc..c2309bc070 100644 --- a/src/insets/InsetPhantom.cpp +++ b/src/insets/InsetPhantom.cpp @@ -311,8 +311,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 (runparams.moving_arg) + os << "\\protect"; if (params_.type == InsetPhantomParams::Phantom) os << "\\phantom{"; else if (params_.type == InsetPhantomParams::HPhantom)