Recent multirow finally allows multiple paragraphs

This commit is contained in:
Juergen Spitzmueller 2021-01-30 09:15:14 +01:00
parent 22ee249c3e
commit 9dd71b9e4a
2 changed files with 5 additions and 1 deletions

View File

@ -577,7 +577,11 @@
%%% Specific package versions
% This only works if the package has been loaded before
\IfFileExists{babel.sty}{\RequirePackage{babel}}{}
% This introduces \babelfonts
\TestPackageVersion{babel}{2017/11/03}
\IfFileExists{multirow.sty}{\RequirePackage{multirow}}{}
% This introduces multiple paragraphs in multirows
\TestPackageVersion{multirow}{2021/01/29}
%%% Document classes
% The list of layout files has been put in this file here by the

View File

@ -3198,7 +3198,7 @@ void Tabular::TeXRow(otexstream & os, row_type row,
} else if (!isPartOfMultiRow(row, c)) {
if (!runparams.nice)
os.texrow().start(par.id(), 0);
if (isMultiRow(cell))
if (isMultiRow(cell) && !LaTeXFeatures::isAvailable("multirow-2021/01/29"))
newrp.isNonLong = true;
inset->latex(os, newrp);
}