![子节标题左缩进](https://linux22.com/image/330567/%E5%AD%90%E8%8A%82%E6%A0%87%E9%A2%98%E5%B7%A6%E7%BC%A9%E8%BF%9B.png)
答案1
您必须重新定义该\subsection
命令。
\documentclass[sans]{moderncv}
\moderncvstyle{casual}
\moderncvcolor{blue}
\name{John}{Doe}
\title{Title}
\makeatletter
\RenewDocumentCommand{\subsection}{sm}{%
\par\addvspace{1ex}%
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{subsection}{#2}%
\strut\subsectionstyle{#2}%
\par\nobreak\addvspace{.5ex}\@afterheading}% to avoid a pagebreak after the heading
\makeatother
\begin{document}
\maketitle
\section{Section}
\subsection{Subsection 1}
\end{document}