With the MWE in place, i got the smallcaps into the section formatting (hopefully right), but cannot use \titleformat to uline the section, despite the doc saying: "The very last command can take an argument, which is the title text." but the uline is ignored. Furthermore it shouldnt have numbering. Just an underlined small-caps section.


\usepackage[pdftex, hidelinks]{hyperref}
%\usepackage{newpxtext,newpxmath}%bad w/ small-caps


blue blue

The error at each \resumeSection is

! You can't use `macro parameter character #' in restricted horizontal mode. @empty ## 1\xdef \UL@spfactor {\the \spacefactor }

solved: solved

  • 3
    According to the manual, without using the package option explicit the last command is assumed to have an argument without the need of typing #1 explicitly. Just replace \uline{#1} by \uline. – campa Jun 24 at 10:36
  • this actually solves it :) – qrtLs Jun 24 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.