[texhax] declaretheoremstyle: undefined control sequence
wenhuo hu
huwenhuo at gmail.com
Mon Apr 23 20:43:45 CEST 2012
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
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/ntheorem/ntheorem.sty
Style `ntheorem', Version 1.25 <2005/07/07>
) (./thmtools.sty (/usr/share/texmf-texlive/tex/latex/thmtools/thm-patch.sty
(/usr/share/texmf-texlive/tex/latex/thmtools/parseargs.sty))
(/usr/share/texmf-texlive/tex/latex/thmtools/thm-kv.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty))
(/usr/share/texmf-texlive/tex/latex/thmtools/thm-autoref.sty
(/usr/share/texmf-texlive/tex/latex/thmtools/aliasctr.sty
(/usr/share/texmf-texlive/tex/latex/carlisle/remreset.sty)))
(/usr/share/texmf-texlive/tex/latex/thmtools/thm-listof.sty)
(/usr/share/texmf-texlive/tex/latex/thmtools/thm-restate.sty)
(./thm-ntheorem.sty))
! Undefined control sequence.
l.8 \declaretheoremstyle
[headfont=\scshape,bodyfont=\itshape,numberwithin=se...
? q
On Mon, Apr 23, 2012 at 1:53 PM, Lars Madsen <daleif at imf.au.dk> wrote:
> 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
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20120423/9d37b8cf/attachment.html>
More information about the texhax
mailing list