Using m
columns in a tabular, I would expect to get vertically centered cells:
\documentclass[a4paper, 12pt]{article}
\usepackage{amsmath}
\usepackage{array}
\begin{document}
\normalsize
\textbf{Some title}
\newline
\newline
\begin{tabular}{m{0.5 cm}>{}m{10 cm}|>{}m{4 cm}@{}m{0pt}@{}}
\hline
\textbf{1.} & $11 \times \text{?} = 9$ & & \tabularnewline [0.8cm] \hline
\textbf{2.} & $\text{?} \times \text{?} = 72$ & & \tabularnewline [0.8cm] \hline
\end{tabular}
\end{document}
with lualatex 1.07 (TeX Live 2018) however, I get:
while lualatex 1.0.4 (TeX Live 2017) did correctly vertically center the cells.
Is this a bug? Should I correct the tabular formatting? Or is there any workaround for the 1.07 version?
(EDIT: Goal is to get the texts vertically centered like they used to be with lualatex 1.0.4 Software versions: For the failing TeX Live 2018 / lualatex 1.07:
lualatex 2018.7.28
LaTeX2e <2018-04-01> patch level 2
array.sty 2018/04/07 v2.4g
The previous working TeX Live 2017 / lualatex 1.0.4 has following versions:
lualatex 2018.1.13
LaTeX2e <2017-04-15>
array.sty 2016/10/06 v2.4d
)
[0.8cm]
. What do you try ta achieve, precisely?[0.8cm]
did not prevent this when using the 1.0.4 version of lualatex.array
this not work as you desired. if you like to have more vertical space in cells, than you should usecellspace
ormakecell
package and their possibility to add some vertical space above and below cells' contents.array
package do you use, under TeXLive2017/LuaTeX 1.04 and TeXLive2018/LuaTeX 1.07? For what it's worth, I can reproduce the lack of vertical centering on aMacTeX2018/LuaTeX 1.07/LaTeX2e 2018-04-01 patch level 5/array 2018-04-30 v.2.4h
system, but I can not reproduce the issue on a MikTeX 2.9.6600/LuaTeX 1.07/LaTeX2e 2017-04-15/array 2016-10-06 v2.4d` system. Given that both of these sstems use LuaTeX 1.07, I suspect the issue you've come across is related to the LaTeX format and/or to thearray
package.LuaTex
andarray
both change in my case. Looks like the combination LuaTeX 1.07 and array 2018-04-30 (and later) produces the problem.