moderncv-classic-class.tex
% moderncv_classic.cls - Template for professional resumes
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{moderncv_classic}[2025/01/01 v1.0 moderncv classic style]
% Load base moderncv class logic
\LoadClass{moderncv}
% Classic layout definitions
\newcommand*{\makecvtitle}{%
\recomputelengths
\begin{minipage}[t]{\hintscolumnwidth}
\raggedleft\addressfont\color{addresscolor}
\addresssymbol\space\@addressstreet\\
\@addresscity
\end{minipage}
\hfill
\begin{minipage}[t]{\maincolumnwidth}
\raggedright\namestyle{\@firstname\ \@lastname}\\
\titlestyle{\@title}
\end{minipage}
\par\addvspace{2.5em}
}
% Section styling for classic theme
\renewcommand*{\section}[1]{%
\par\addvspace{2.5ex}
\phantomsection{}
\addcontentsline{toc}{section}{#1}
\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\sectionstyle{#1}}
\hspace{\separatorcolumnwidth}
\vrule depth 0pt width 1pt
\hspace{\separatorcolumnwidth}
\parbox[t]{\maincolumnwidth}{\strut}
\par\nobreak\addvspace{1ex}
}