How to unline a given title and make the title wrap automatically according to the fixed width, I know I need to use the packages
\usepackage{ulem}
\usepackage{CJKulem}
and use it like this
\uline{This a very long title just for demonstration so how to make it wrap automatically according to the fixed width}
It can warp automatically, but it fills the whole line of the page, I just want it warps according to fixed width such as 300pt, how can I achieve it?


minipageor\parboxwith the desired width, but why are you referring to the text as "title"? – campa Apr 21 '22 at 16:58