文章预览
选自: https://ask.latexstudio.net/ask/question/17410.html 【问题描述】 在使用 tabularray 宏包实现表格内插图时,垂直方向无法完全居中。 如下面的MWE: \documentclass{article} \usepackage[a2paper,margin = 1in]{geometry} \usepackage{lipsum} \usepackage{graphicx} \usepackage{graphbox} % thanks to 鱼香肉丝没有鱼先生... \usepackage{tabularray} \begin{document} \begin{tblr}{ colspec = {|c|*{4}{Q[c,7cm]|}}, rowspec = {|*{4}{Q[m]|}}, } & short text & image without `align=m' & image with `align=m' & long text\\ pure image & \lipsum[2] & \includegraphics[width=4.8cm]{example-image} & \includegraphics[align=m,width=4.8cm]{example-image} & \lipsum[1] \\ image with text before & \lipsum[2] & {some text before\\ \includegraphics[width=4.8cm]{example-image}} & {some text before\\ \includegraphics[align=m,width=4.8cm]{example-image}} & \lipsum[1] \\ ima
………………………………