I want to reference sections in the form '§1'. I use hyperref.sty, and I have changed the sectionautorefname: \renewcommand{\sectionautorefname}{\S}. This prints '§ 1', with a space. Can I remove the space?
\documentclass{article}
\usepackage{hyperref}
\renewcommand{\sectionautorefname}{\S}
\begin{document}
\section{section}
\label{section}
\autoref{section}
\end{document}

\makeatletterand\makeatotherto do\@gobble: https://tex.stackexchange.com/a/8353/451 – twsh Nov 18 '20 at 16:23