Dnia 2014-09-12, o godz. 08:18:39
Erwan <[email protected]> napisaĆ(a):
> My 2 cents:
>
> \newcommand{\sectionref}[1]{Section~\ref{#1}}
>
> and then write
>
> \sectionref{bla}
>
> instead of
>
> Section~\ref{bla}
>
> and ditto for figure, etc.
My 2 cents:
or just use the cleveref package instead of reinventing the wheel;-),
write
\cref{bla} or \Cref{bla}
and let LaTeX remember whether {bla} is a~section, subsection,
equation, theorem or whatever.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University