From: Scott Kostyshak Date: Tue, 8 May 2018 15:18:07 +0000 (-0400) Subject: Center longtable explicitly (#10690) X-Git-Tag: 2.3.1~87 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=705302f6dee4e4be9ea46213aa1b0cc18be0cfb0;p=features.git Center longtable explicitly (#10690) "Center" is the default of longtable, but some situations require it to be centered explicitly, such as when using floatrow: https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable (cherry picked from commit bde1834f7e81727545e014c24e27e148f6ba7d65) --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 26397ea62a..7ca111c9d4 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2745,6 +2745,7 @@ void Tabular::latex(otexstream & os, OutputParams const & runparams) const os << "[l]"; break; case LYX_LONGTABULAR_ALIGN_CENTER: + os << "[c]"; break; case LYX_LONGTABULAR_ALIGN_RIGHT: os << "[r]"; diff --git a/status.23x b/status.23x index 48a1330be0..49f5458b03 100644 --- a/status.23x +++ b/status.23x @@ -27,6 +27,8 @@ What's new - Needauth is not needed for exporting R code (only when executing the code). +- Center longtable explicitly for compatibility with some packages (bug 10690). + * TEX2LYX IMPROVEMENTS