[texhax] declaretheoremstyle: undefined control sequence

Lars Madsen daleif at imf.au.dk
Mon Apr 23 19:53:55 CEST 2012


On 04/23/2012 01:43 AM, wenhuo hu wrote:
> Hi everyone,
>
> When I try this:
>
> |\documentclass{article}
>
>
> \usepackage{ntheorem}
>
> \usepackage{thmtools}
>
> \declaretheoremstyle[headfont=\scshape,bodyfont=\itshape,numberwithin=section]{mystyle}
>
> \declaretheorem[style=mystyle]{definition}
>
>
> \usepackage[english]{babel}
>
> \usepackage{blindtext}
>
>
> \begin{document}
>
> |
>
> |
>
> |
>
> I got this:
>
> ! Undefined control sequence.
> l.9 \declaretheoremstyle
>                          [
>
> My system is Ubuntu 12.04 with texlive, full install.
>
> Thanks a lot!!
>
> Wenhuo
>


which package version are you using.

Note that the ubuntu packages are hopelessly outdated.


/daleif


More information about the texhax mailing list