Replies: 3 comments 2 replies
-
There is no difference between vertical alignment \documentclass{article}
\usepackage{xcolor}
\usepackage{tabularray}
\usepackage{adjustbox}
\begin{document}
\begin{tblr}{|Q[c]|Q[c]|}
\hline
\adjustbox{fbox,valign=m}{a=2} & \adjustbox{fbox,valign=m}{(1)} \\
\hline
\end{tblr}
\end{document} |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I think I'd better have a deeper look at the TeX mechanism and try to figure it out. And thanks for all your help! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to put some code highlighted with
minted
in one cell, but I found it's hard to align to the middle vertically.Result on my computer is:

It's obvious that the spacing above the code block is smaller than the one below.
Could anyone please help me middling this?
Beta Was this translation helpful? Give feedback.
All reactions