\NeedsTeXFormat{LaTeX2e} \ProvidesClass{cv}[2022/09/17 Custom CV Class] \LoadClass{cv_base} % section / subsection formatting \RequirePackage{titlesec} \titleformat{\section} % Customise the \section command {\Large\raggedright} % Make the \section headers large (\Large), % small capitals (\scshape) and left aligned (\raggedright) {}{0em} % Can be used to give a prefix to all sections, like 'Section ...' {} % Can be used to insert code before the heading [\titlerule] % Inserts a horizontal line after the heading \titleformat{\subsection} {\large\raggedright} {}{0em} {}