I've defined a custom section title as follows:
\renewcommand\thesection{Lecture \arabic{section} --}
This leaves an unwanted gap between "Lecture n -" and the title of the lecture.
For example, \section{Linear combinations and subspaces}
gives the following output:
I would like there to be a normal text space between the numbering and title. How can I achieve this?
Best Answer
It's better to redefine the way a section counter is formatted (via
\@seccntformat
) for this purpose than redefining the entire counter representation. Why? Redefining the counter representation would filter down to\label
s as well, and therefore\ref
erences also.