commit bde1834f7e81727545e014c24e27e148f6ba7d65
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
---
src/insets/InsetTabular.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index ee66686..67da03e 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -2777,6 +2777,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]";