> On Jan 6, 2019, at 2:05 AM, Jürgen Spitzmüller <[email protected]> wrote: > > Am Samstag, den 05.01.2019, 15:11 -0700 schrieb Hal Kierstead: >> All - >> >> I am trying to use the automatic naming feature for references. It >> seems to work, except that, for example, the name lemma is not >> capitalized. So following the manual I added >> >> \addto\extrasenglish{\renewcommand{\sectionautorefname}{Lemma}} >> >> to the preamble, but it did not change the output. Am I missing >> something? > > wrap it into > > \AtBeginDocument{ > ... > } > > Jürgen > Jürgen -
Thanks for the help, but I still cannot make this work.
I have tried:
\AtBeginDocument{
\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
\addto\extrasenglish{\renewcommand{\lemautorefname}{Lemma}}
}
I get: LaTeX Error: \lemautorefname undefined.
I have tried:
\AtBeginDocument{
\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
\addto\extrasenglish{\newcommand{\lemautorefname}{Lemma}}
}
It runs, but prints lemma, not Lemma. This is the same result that I get if add
nothing to the preamble.
I am attaching a minimal file.
Thanks,
Hal
Autorefname.lyx
Description: Binary data
