![\moderncvtheme[...]{classic} 主題中水平線的大小](https://rvso.com/image/298579/%5Cmoderncvtheme%5B...%5D%7Bclassic%7D%20%E4%B8%BB%E9%A1%8C%E4%B8%AD%E6%B0%B4%E5%B9%B3%E7%B7%9A%E7%9A%84%E5%A4%A7%E5%B0%8F.png)
是否可以在經典主題中使章節標題中的水平線變粗,而不改變標題的字體大小?謝謝。
答案1
您可以將其添加到您的序言中
\makeatletter
\newlength{\hintscolumnthickness}
\setlength{\hintscolumnthickness}{3pt}
\RenewDocumentCommand{\section}{sm}{%
\par\addvspace{2.5ex}%
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{section}{#2}%
\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}{\color{color1}\rule{\hintscolumnwidth}{\hintscolumnthickness}}}%
\hspace{\separatorcolumnwidth}%
\parbox[t]{\maincolumnwidth}{\strut\sectionstyle{#2}}%
\par\nobreak\addvspace{1ex}\@afterheading}
\makeatother
現在,透過將第三行更改為所需的厚度,您將獲得您所要求的結果。