Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How does one get the symbol \S to appear before a number in \section{}?

share|improve this question
add comment

1 Answer 1

up vote 11 down vote accepted

You can use the titlesec package to change the formatting of section headings easily.

\documentclass{article}
\usepackage{titlesec}
\titleformat{\section}{\normalfont\Large\bfseries}{\S\thesection}{1em}{}
\begin{document}
\section{A section}
\end{document}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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