Dashundergaps 包:如何更改下划线粗细?如何提高或降低下划线?
\documentclass[]{article}
\usepackage{dashundergaps}
\dashundergapssetup{
,gap-number-format = \,
\textsuperscript{\normalfont (\thegapnumber)},
teacher-gap-format = underline,
gap-widen,gap-extend-percent=100}
\TeacherModeOn
\begin{document}
\gap*{test}
\end{document}
答案1
该dashundergaps
包在内部使用来自ulem
包的下划线命令。因此,您可以ulem
按照该软件包的手册在第 3 页上。例如,使用\rule
厚度为 1.4pt 且凸起 -4pt(即降低 4pt)或凸起 1pt 的:
\documentclass[]{article}
\usepackage{dashundergaps}
\dashundergapssetup{
,gap-number-format = \,
\textsuperscript{\normalfont (\thegapnumber)},
teacher-gap-format = underline,
gap-widen,gap-extend-percent=100}
\TeacherModeOn
\begin{document}
\renewcommand\uline{\bgroup\markoverwith
{\raisebox{-4pt}{\rule[-0.5ex]{2pt}{1.4pt}}}\ULon}
\gap*{test}
\renewcommand\uline{\bgroup\markoverwith
{\raisebox{1pt}{\rule[-0.5ex]{2pt}{1.4pt}}}\ULon}
\gap*{test}
\end{document}
结果: