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
This commit is contained in:
Scott Kostyshak 2018-05-08 11:18:07 -04:00
parent ceb8421e57
commit bde1834f7e

View File

@ -2777,6 +2777,7 @@ void Tabular::latex(otexstream & os, OutputParams const & runparams) const
os << "[l]"; os << "[l]";
break; break;
case LYX_LONGTABULAR_ALIGN_CENTER: case LYX_LONGTABULAR_ALIGN_CENTER:
os << "[c]";
break; break;
case LYX_LONGTABULAR_ALIGN_RIGHT: case LYX_LONGTABULAR_ALIGN_RIGHT:
os << "[r]"; os << "[r]";