Code: Select all
\renewcommand\theparagraph{§\arabic{paragraph}}
Is there some way how to do it automatically?
Code: Select all
\renewcommand\theparagraph{§\arabic{paragraph}}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass{article}
\usepackage[utf8]{inputenc}
\setcounter{secnumdepth}{4}
\renewcommand\theparagraph{§\arabic{paragraph}}
\begin{document}
\paragraph{Introduction}\label{p:intro}
This is a paragraph. Paragraph \ref{p:main} follows.
\paragraph{Main}\label{p:main}
This is a paragraph. See also paragraph \ref{p:intro}.
\end{document}
Code: Select all
\hypersetup{colorlinks=false, pdfborder={0 0 0}}
NEW: TikZ book now 40% off at Amazon.com for a short time.