mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
ceb8421e57
commit
bde1834f7e
@ -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]";
|
||||||
|
Loading…
Reference in New Issue
Block a user