There are several posts on this site about formatting section titles, but I haven't seen one yet shows me how to edit the section title without editing the default spacing. I would like to have something like

\section{May 10}


Lecture 16 (May 10)

where 16 is the section number, but keeping the old spacing.

| improve this question | | | | |

Maybe something like this would work, using the titlesec package.


            {\Large\sffamily\bfseries}% format
            {Lecture \thesection{} (#1)}%
            {0pt}% horizontal sep
            {}% before

\section{May 10}
Here is the lesson material.
\section{May 11}
Here is the new and latest lesson material.

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.