commit 705302f6dee4e4be9ea46213aa1b0cc18be0cfb0
Author: Scott Kostyshak <[email protected]>
Date: Tue May 8 11:18:07 2018 -0400
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(+), 0 deletions(-)
diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 26397ea..7ca111c 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 48a1330..49f5458 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