I modified \section format to add an underline. How can I reduce the space between the section name and the underline? The code I used is the following.

\usepackage{titlesec} % Allows creating custom \section's


enter image description here

  • Try raisebox. – Johannes_B Jun 10 '16 at 7:36

Using titlerule and vspace :


\titleformat{\section}{\large\scshape\raggedright}{}{0em}{} [{\vspace{1cm}\titlerule[1pt]}]

Bla bla

\titleformat{\section}{\large\scshape\raggedright}{}{0em}{} [{\vspace{0cm}\titlerule[1pt]}]
Bla bla2

\titleformat{\section}{\large\scshape\raggedright}{}{0em}{} [{\titlerule[1pt]}]
Bla bla3


enter image description here

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.