From 705302f6dee4e4be9ea46213aa1b0cc18be0cfb0 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Tue, 8 May 2018 11:18:07 -0400 Subject: [PATCH] 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) --- src/insets/InsetTabular.cpp | 1 + status.23x | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5