I need to underline some text and hope the text automatically wrap at then end of the line.
see Why does underlined text not get wrapped once it hits the end of a line ?
The \uline works with texlive2020
However, after upgraduated to texlive2021, it doesn't work anymore.
Update:
I found that it's about Chinese characters。
A simple example (xelatex test.tex test.pdf):
\documentclass[a4paper,12pt,fontset=windows]{article}
\RequirePackage[normalem]{ulem}
\RequirePackage{ctex}
\begin{document}
\begin{tabular}{ll}
fffffffffffffff & \parbox[t]{14em}{\uline {中文中文中文中文中文中文中文中文中文中 文中文中文中文中文中文中文中文中文中文中文中文中文中文}} \
fffffffffffffff & \parbox[t]{14em}{\uline {english englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish englishenglish english}} \
\end{tabular}
\end{document}
in texlive 2020, it's:
However in texlive 2021, it's:


\centeringcould never have done anything in that position I think. – David Carlisle Apr 20 '21 at 13:17\ulinecome from? – daleif Apr 20 '21 at 13:18souland/orulemand use thelua-ulpackage, which is way superior. – Skillmon Apr 20 '21 at 13:36