From e9fa27107093eeabb713f91361696b396be62820 Mon Sep 17 00:00:00 2001 From: Alex Jordan Date: Sat, 12 Aug 2023 01:43:02 -0700 Subject: [PATCH] keep column styling when using multicolumn --- macros/ui/niceTables.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/ui/niceTables.pl b/macros/ui/niceTables.pl index 23bbcb570d..a8756edf7e 100644 --- a/macros/ui/niceTables.pl +++ b/macros/ui/niceTables.pl @@ -942,6 +942,7 @@ sub Row { $columntype =~ s/^p/b/ if ($valign eq 'bottom'); $columntype =~ s/^p/m/ if ($tableOpts->{valign} eq 'middle'); $columntype =~ s/^p/b/ if ($tableOpts->{valign} eq 'bottom'); + $columntype = ">{$cellAlign->{tex}}" . $columntype if $cellAlign->{tex}; $columntype = getLaTeXcolumnWidth($alignment->[0]{left}) . $columntype if ($i == 0 && $alignment->[0]{left} && !$cellOpts->{halign});