Replies: 2 comments 7 replies
|
A re-tokenization problem. XeLaTeX (and also LuaLaTeX) treats (most) CJK characters the same as a-zA-Z, thus after rescanning the table content, XeTeX thinks Some workarounds: % !TeX TS-program = xelatex
\documentclass{ctexart}
\usepackage{tabularray}
\usepackage{codehigh}
\usepackage{fvextra}
\begin{document}
% "{}" trick
\begin{tblr}{colspec={c},row{1}={font=\bfseries},verb=true,hlines,vlines}
{}测test\\
\verb|a\b\b|\\
\end{tblr}
% \fakeverb from codehigh package, which shares the same author with tabularray
\begin{tblr}{colspec={c},row{1}={font=\bfseries},hlines,vlines}
测test\\
\fakeverb{a\\b\\b}\\
\end{tblr}
% \EscVerb from fvextra package
\begin{tblr}{colspec={c},row{1}={font=\bfseries},hlines,vlines}
测test\\
\EscVerb{a\\b\\b}\\
\end{tblr}
\end{document}Similar though not identical re-tokenization issue |
7 replies
|
Since version 2023A, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Not Working MWE
Working MWE
change
xelatextopdflatexremove the CJK character in the begin of cell
change
fontkey tocmdkeydo not use
verbAll reactions