2

How to achieve the stated in the title with the symbol § followed by the section number without the section name. Thank you for any suggestions.

3

Assuming you're using a not-too-unusual document class, you can achieve your typesetting objective by loading the sectsty package, issuing the \sectionfont directive, and redefining \thesection.

enter image description here

\documentclass{article}
\usepackage{sectsty}
\sectionfont{\centering}
\renewcommand{\thesection}{\S\arabic{section}}
\begin{document}
\noindent
abc
\hrule
\section{}
\hrule
\bigskip
\section{}
\hrule
def
\end{document}
  • Thank you. Is it possible to have space between § and the section number ? And how can I call the section number followed by § ? – Eureka Jul 22 '18 at 2:47
  • @Fib1123 - On your first question: Just replace {\S\arabic{section}} with {\S\ \arabic{section}}, for an interword space in the code shown above, or {\S\quad \arabic{section}}` for a "quad" of space. On your second question: do try {\arabic{section} \S}. – Mico Jul 22 '18 at 5:23

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.