as you can see in the following example the output of \ref keeps formatting the sections number is as defined in
\renewcommand{\thesection}{\large\arabic{section}}.
example:
Code: Select all
\documentclass[a4paper,oneside,12pt]{scrreprt}
\renewcommand{\thesection}{\large\arabic{section}}
\begin{document}
\section{Foo}
\label{sec:foo}
\section{Faa}
The following number of the previous section is large: \ref{sec:foo}
\end{document}
Any way to change the formatting of the output of \ref, without touching the formatting of the sections number (the one that come before the sections heading)?
PS.:I came up with this problem as a followup to another post of mine but i hope it's ok that i make a new topic for it, since this might be inteteresting for other people having the same question and it's easier to find this way