Jozef Aardappel wrote:
hmm, indeed, your example works as I would expect it to work. This also works for
sections etc with me. Although I thought it did not, apperently i forgot to choose
"formatted reference" there.
I however use my own layout which uses 'rule'. This is basically something
like lemma etc in the ams-math layout. Did I made a mistake in my layout? How
can I fix this?
You need to define a prettyref format to go with this. Something like:
\newrefformat{rul}{rule \ref{#1}}
See the prettyref docs for more info.
rh