ich nutze komacv im classic style und würde nun gerne die subsection nicht in der Hauptspalte anzeigen, sondern in der linken. Dazu habe ich einen Beitrag gefunden, der sich auf moderncv bezieht.
https://tex.stackexchange.com/questions ... n-headline
Das Minimalbeispiel von dort.
\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}
Nun ist zum einen der Abstand zwischen der subsection und dem Eintrag zu groß und zum anderen lässt sich das ganze nicht auf komacv übertragen.
Gibt's hier einen Vorschlag, wie ich die subsection umdefinieren muss, damit es funktioniert?
\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}% \nobreak\addvspace{.5ex}\@afterheading}% to avoid a pagebreak after the heading \makeatother \begin{document} \maketitle \section{Section} \subsection{Subsection 1} \cvlistitem{Ich bin ein Eintrag} \cvlistitem{Ich bin ein Eintrag} \end{document}
Tim