下划线内容白色导致下划线被截断

2020-04-23 12:33发布

\documentclass[10pt]{ctexart}\usepackage[paperwidth=21cm,paperheight=29.7cm,top=2.6cm,bottom=2.533cm...

\documentclass[10pt]{ctexart}
\usepackage[paperwidth=21cm,paperheight=29.7cm,top=2.6cm,bottom=2.533cm,right=1cm,left=1cm,headheight=24pt,footskip=41pt]{geometry}
\usepackage{color}
\linespread{1.9}
\begin{document}
\noindent
\par
\hangindent 0.4cm
\hangafter 1
\noindent 
\makebox[0.4cm][r]{4. }完成句子
\quad\\[0pt]
(1).{\fontsize{60.0pt}{\baselineskip}\selectfont \CJKunderline[textformat=\color{white}]{$\frac{2}{3}$}}(大量的) time and money has been spent on the project, so they can't give it up halfway.
\quad\\[0pt]
(2).{\fontsize{50.0pt}{\baselineskip}\selectfont \CJKunderline{我是答案}}(众所周知) Americans like moving. Most of them move seven times in their life.
\end{document}

3条回答
Carcino
2020-04-23 12:53

一个尝试:在加下划线的内容之前插入零宽的 `\rule`

```tex

\CJKunderline[hidden, textformat=\rule{0pt}{1.5ex}]{...}

```

一周热门 更多>

相关问答