From: Juergen Spitzmueller Date: Fri, 29 Jan 2021 14:45:54 +0000 (+0100) Subject: Do not output \maketitle in table cells if the table is in the title X-Git-Tag: 2.4.0-alpha3~171 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6d05e7816863c08ce2826b3e3a8170ebd3b9bcd0;p=lyx.git Do not output \maketitle in table cells if the table is in the title --- diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index f18c3b78e9..b6ef973bb3 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -93,6 +93,8 @@ public: bool allowMultiPar() const override { return !isMultiRow && (!isMultiColumn || isFixedWidth); } /// bool canPaintChange(BufferView const &) const override { return false; } + /// This assures we never output \maketitle in table cells + bool isInTitle() const override { return true; } private: /// InsetTableCell() = delete;