You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何移除LaTeX技术技能模块subsection的虚点线

解决方案

你遇到的虚点线是当前所用LaTeX模板中\paragraph命令的默认样式,这类简历类模板通常会给\paragraph层级的标题默认追加\dotfill命令,生成延伸到右边界的虚点填充效果,可参考以下几种方案解决:

方法1:最简单的局部替换(无需修改模板配置,推荐)

直接放弃使用自带的\paragraph命令,改用手动加粗的普通文本即可,修改后的代码如下:

\section{TECHNICAL SKILLS}
\vspace{-4mm}
\begin{minipage}[t]{.6\textwidth}
\subsection{Languages}
\textbf{Proficient:}
\textbullet{} Test \textbullet{} Test \textbullet{} Test \textbullet{} Dart \textbullet{} Test \\ 
\location{Familiar / Studying:}
\textbullet{} Test \textbullet{} Test \\
\end{minipage}

仅需把原来的\paragraph{Proficient:}替换为\textbf{Proficient:},除虚点线外其余原有格式完全不受影响。

方法2:局部重定义\paragraph样式(保留\paragraph用法)

如果仅需要在技术技能章节去掉虚点线,其余章节保留原有\paragraph样式,可以在该章节前临时重定义命令:

% 先保存原有paragraph定义,方便后续恢复
\let\oldparagraph\paragraph
% 临时修改paragraph样式,移除虚点线
\renewcommand{\paragraph}[1]{\textbf{#1}\hspace{1em}}
\section{TECHNICAL SKILLS}
\vspace{-4mm}
\begin{minipage}[t]{.6\textwidth}
\subsection{Languages}
\paragraph{Proficient:}
\textbullet{} Test \textbullet{} Test \textbullet{} Test \textbullet{} Dart \textbullet{} Test \\ 
\location{Familiar / Studying:}
\textbullet{} Test \textbullet{} Test \\
\end{minipage}
% 后续需要恢复原有样式时执行以下命令即可
% \let\paragraph\oldparagraph

方法3:全局移除所有\paragraph的虚点线

如果全文都不需要该虚点线效果,直接在导言区(\begin{document}之前)加入重定义命令即可:

\renewcommand{\paragraph}[1]{\noindent\textbf{#1}\hspace{1em}}

内容的提问来源于stack exchange,提问作者Aayush Karawande

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.09 00:12:00