I would like to ask how can I add the paragraph symbol § so that it will be displayed as below:

§4 First section

§5 Second section

By default it is generated as below when a \section command is used :

4 First section

5 Second section

Edit: Code below


is one solution but adds § also with \subsection command. Is there another solution?

  • 1
    No, I don't. But I see you solve my problem. Question is replaced/duplicated. I use just \renewcommand{\thesection}{\S\arabic{section}} – MC2DX Aug 10 '13 at 19:57
  • 2
    Pay attention that it also adds the same symbol in \subsections. – karlkoeller Aug 10 '13 at 19:59
  • You can also see Changing the section format for a package free version. – egreg Aug 10 '13 at 20:29
  • Note that § is the section sign, not the paragraph sign (the "pilcrow" ). See the Wikipedia articles for the Section Sign (en.wikipedia.org/wiki/Section_sign) and the Paragraph Sign (en.wikipedia.org/wiki/Pilcrow). – jvriesem Mar 12 '15 at 5:29

Perhaps the quickest way is to use the titlesec package:




\section{Test section}
\subsection{Test subsection}
\section*{An unnumbered test section}
\section{Another test section}
\subsection{Another test subsection}


enter image description here

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.