[texhax] declaretheoremstyle: undefined control sequence

Barbara Beeton bnb at ams.org
Mon Apr 23 20:57:06 CEST 2012

a search of command definitions in the thmtools
package shows that \declaretheoremstyle is
defined in the file  thm-kv.sty  so that is
the one that needs to be updated.  whether the
new version of thm-kv will work comfortably
with the other thmtools files is uncertain, so
perhaps it would be safer (?) to download the
entire thmtools package.
						-- bb

On Mon, 23 Apr 2012, wenhuo hu wrote:

    Thank you daleif for your reply.
    I downloaded the thmtools.sty file just under the source folder.
    here is the first two lines in that file.
    \NeedsTeXFormat {LaTeX2e}
    \ProvidesPackage {thmtools}[2011/11/27 v62]
    here is the run results shown on screen:
    $ pdflatex test.tex
    This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
    entering extended mode
    LaTeX2e <2009/09/24>
    Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,
    yphenation, pinyin, loaded.
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    Style `ntheorem', Version 1.25 <2005/07/07>
    ) (./thmtools.sty (/usr/share/texmf-texlive/tex/latex/thmtools/thm-patch.sty
    ! Undefined control sequence.
    l.8 \declaretheoremstyle
    ? q
    On Mon, Apr 23, 2012 at 1:53 PM, Lars Madsen <daleif at imf.au.dk> wrote:

    > which package version are you using.
    > Note that the ubuntu packages are hopelessly outdated.
    > /daleif
    Wenhuo Hu
    Park lab
    Memorial Sloan Kettering Cancer Center
    Zuckerman Research Building
    408 East 69th Street
    Room ZRC-527
    New York, NY 10065
    Phone 646-888-3220
    huw at mskcc.org

More information about the texhax mailing list