From bde1834f7e81727545e014c24e27e148f6ba7d65 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 --- src/insets/InsetTabular.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index ee666869f1..67da03ec5c 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]"; -- 2.39.2