From: whisky <whiskyfizz@fr...>  20060621 20:40:38

Good evening ! I am using miktex version 2.4 on windows 2000 professional mainly to type articles with a fair amount of mathematics, and I encounter a problem with the command "setlength" applied to the counter "\theoremskipamount" and "\theorempostskipamount". What is the problem exactly ? Well, no matter where I put the following string "\setlength{\theoremskipamount}{0cm}", I have the following error message= : %beginning of the error message% This is eTeX, Version 3.1415922.2 (MiKTeX 2.4) (preloaded format=3Dlate= x 2006.6.21) 21 JUN 2006 22:35 entering extended mode **alg.tex (alg.tex LaTeX2e <2005/12/01> Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, loaded. (D:\miktex\texmf\tex\latex\base\article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (D:\miktex\texmf\tex\latex\base\size12.clo File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) \c@...=3D\count79 \c@...=3D\count80 \c@...=3D\count81 \c@...=3D\count82 \c@...=3D\count83 \c@...=3D\count84 \c@...=3D\count85 \c@...=3D\count86 \abovecaptionskip=3D\skip41 \belowcaptionskip=3D\skip42 \bibindent=3D\dimen102 ) ! Undefined control sequence. <argument> \theoremskipamount =20 l.3 \setlength{\theoremskipamount}{0cm} =20 ? x %end of the error message% When I say "no matter where I put the following string", it does not mean that I put it in the wrong places. I think there are two places where you can put that string, either just below the line that starts with "\documentclass" or in the definition of an occurrence of a "\newtheorem" command, like this one : %beginning of the "\newtheorem" command% {\theoremstyle{break} \theoremheaderfont{\small\scshape\bfseries} %\theorembodyfont{\normalfont} \newtheorem{defi}{D=E9finition}} %end of the "\newtheorem" command% which yields once the string has been incorporated : %beginning of the "\newtheorem" command% {\theoremstyle{break} \setlength{\theoremskipamount}{0cm} \setlength{\theorempostskipamount}{0cm} \theoremheaderfont{\small\scshape\bfseries} %\theorembodyfont{\normalfont} \newtheorem{defi}{D=E9finition}} %end of the "\newtheorem" command% I have loaded the following packages : amsmath, masthm (after amsmath), theorem, ntheorem, but I have the same result. I do not understand why miktex doesn't understand the command"\theoremskipamount" since I loaded all the necessary packages. I hope that someone will take a few minutes of its time to try to help me ... despite the world cup of football. Many Thanks. Whisky. 
From: Cornelius C. Noack <noack@it...>  20060622 11:02:19

On Wed, 21 Jun 2006, whisky wrote: > Good evening ! > > I am using miktex version 2.4 on windows 2000 professional mainly to > type articles with a fair amount of mathematics, and I encounter a > problem with the command "setlength" applied to the counter > "\theoremskipamount" and "\theorempostskipamount". What is the problem > exactly ? Well, no matter where I put the following string > "\setlength{\theoremskipamount}{0cm}", I have the following error message : > > %beginning of the error message% > (cut) > > ! Undefined control sequence. > <argument> \theoremskipamount > Well, that's a pretty clear error message, isn't it? The only thing I can tell you about this is that I use a pretty big amount of math in my work with LaTex myself, and have never heard (let alone needed/made use of) the command \theoremskipamount . Probably you need to use a certain LaTeX package (amstex ??) and forgot the appropriate \usepackage command. (Irrelevant) side remark: Why do you need \theoremskipamount ? Why aren't you satisfied with what LaTeX (and amstex, in particular!) do with equations and theorem? IMHO, amstex does a very professional (and superior) layout job on its own. ccn.  ................................................................. Prof.Dr. Cornelius C. Noack Phones: Inst. f. Theor. Physik FB 1 office : +49 (421) 2182427 Universit"at Bremen secretary: 2422 OttoHahnAllee Fax : 4869 D  28334 Bremen home : +49 (421) 34 22 36 Fax: 346 7872 Email: noack at itp.unibremen.de or ccnoack at mailaps.org WWWpage: http://www.itp.unibremen.de/~noack ................................................................. 
From: whisky <whiskyfizz@fr...>  20060622 22:51:46

>> Good evening ! >> >> I am using miktex version 2.4 on windows 2000 professional mainly to >> type articles with a fair amount of mathematics, and I encounter a >> problem with the command "setlength" applied to the counter >> "\theoremskipamount" and "\theorempostskipamount". What is the problem >> exactly ? Well, no matter where I put the following string >> "\setlength{\theoremskipamount}{0cm}", I have the following error message : >> >> %beginning of the error message% >> (cut) >> >> ! Undefined control sequence. >> <argument> \theoremskipamount >> >> > Well, that's a pretty clear error message, isn't it? > Yes it is :) . > The only thing I can tell you about this is that I use a pretty big > amount of math in my work with LaTex myself, and have never heard > (let alone needed/made use of) the command \theoremskipamount . > Probably you need to use a certain LaTeX package (amstex ??) and > forgot the appropriate \usepackage command. > I used every package I could, but the error message is still there, but it has become irrelevant since I manage to bypass this error by writing an extension. Still, I do not understand why I received that error message, maybe one day I will find the answer. > (Irrelevant) side remark: Why do you need \theoremskipamount ? > Why aren't you satisfied with what LaTeX (and amstex, in > particular!) do with equations and theorem? IMHO, amstex does a > very professional (and superior) layout job on its own. > I am typing a mathematical course with lots of definitions and theorems, but the way they are presented using the standard packages is not satisfying because, be it a definition or a theorem, the text font of its body is in italic to distinguish it from the rest of the paper, otherwise it will be difficult to see where it ends. But I do not like this way of distinguishing definitions and theorems, so I wrote a very tiny extension that encapsulates the definition (or the theorem) between two vertical lines, its body being in plain so that we can better see the mathematical symbols. I do not know if I am clear enough. If you want an example, I can send you one. With my extension, the definitions and the theorems appear more clearly so that eases the reading. > ccn. > whisky. Ps : Thanks for your answer. 
From: Alan G Isaac <aisaac@am...>  20060623 00:46:20

On Fri, 23 Jun 2006, whisky apparently wrote: > I wrote a very tiny extension that encapsulates the > definition (or the theorem) between two vertical lines, > its body being in plain so that we can better see the > mathematical symbols. ftp://ftp.ams.org/pub/tex/doc/amscls/amsthdoc.pdf hth, Alan Isaac 
From: Cornelius C. Noack <noack@it...>  20060623 12:04:55

On Thu, 22 Jun 2006, Alan G Isaac wrote: > On Fri, 23 Jun 2006, whisky apparently wrote: >> I wrote a very tiny extension that encapsulates the >> definition (or the theorem) between two vertical lines, >> its body being in plain so that we can better see the >> mathematical symbols. > > ftp://ftp.ams.org/pub/tex/doc/amscls/amsthdoc.pdf > Thanks, that's good to know. But, for what it's worth, I couldn't find \theoremskipamount in that, either. So something is still weird with that command! ccn.  ................................................................. Prof.Dr. Cornelius C. Noack Phones: Inst. f. Theor. Physik FB 1 office : +49 (421) 2182427 Universit"at Bremen secretary: 2422 OttoHahnAllee Fax : 4869 D  28334 Bremen home : +49 (421) 34 22 36 Fax: 346 7872 Email: noack at itp.unibremen.de or ccnoack at mailaps.org WWWpage: http://www.itp.unibremen.de/~noack ................................................................. 
From: Cornelius C. Noack <noack@it...>  20060623 11:45:59

On Fri, 23 Jun 2006, whisky wrote: > >>> Good evening ! >>> >>> I am using miktex version 2.4 on windows 2000 professional mainly to >>> type articles with a fair amount of mathematics, and I encounter a >>> problem with the command "setlength" applied to the counter >>> "\theoremskipamount" and "\theorempostskipamount". What is the problem >>> exactly ? Well, no matter where I put the following string >>> "\setlength{\theoremskipamount}{0cm}", I have the following error message : >>> >>> %beginning of the error message% >>> (cut) >>> >>> ! Undefined control sequence. >>> <argument> \theoremskipamount >>> >>> >> Well, that's a pretty clear error message, isn't it? >> > > Yes it is :) . > >> The only thing I can tell you about this is that I use a pretty big >> amount of math in my work with LaTex myself, and have never heard >> (let alone needed/made use of) the command \theoremskipamount . >> Probably you need to use a certain LaTeX package (amstex ??) and >> forgot the appropriate \usepackage command. >> > > I used every package I could, but the error message is still there, but > it has become irrelevant since I manage to bypass this error by writing > an extension. Still, I do not understand why I received that error > message, maybe one day I will find the answer. > >(cut) > All right: I googled things like `longleftrightarrow'(plain TeX) or `risingdotseq' (amstex), and always got SOME reference to TeX, but for `theoremskipamount' I drew a complete blank. So are you sure that command exists SOMEWHERE in the TeX world? Where did you get it from?? ccn.  ................................................................. Prof.Dr. Cornelius C. Noack Phones: Inst. f. Theor. Physik FB 1 office : +49 (421) 2182427 Universit"at Bremen secretary: 2422 OttoHahnAllee Fax : 4869 D  28334 Bremen home : +49 (421) 34 22 36 Fax: 346 7872 Email: noack at itp.unibremen.de or ccnoack at mailaps.org WWWpage: http://www.itp.unibremen.de/~noack ................................................................. 
From: Philip G. Ratcliffe <philip.ratcliffe@un...>  20060623 12:31:21

> >> [snip] > >> exactly ? Well, no matter where I put the following string > >> "\setlength{\theoremskipamount}{0cm}", I have the following > error message : > >> > >> %beginning of the error message% > >> (cut) > >> > >> ! Undefined control sequence. > >> <argument> \theoremskipamount > >> > >> [snip] > > I used every package I could, but the error message is still there, but > > [snip] I guess you didn't look in "ntheorem" then  that's where it comes from. Cheers, Phil Ratcliffe 
From: whisky <whiskyfizz@fr...>  20060623 16:41:10

Hi ! >>>> [snip] >>>> exactly ? Well, no matter where I put the following string >>>> "\setlength{\theoremskipamount}{0cm}", I have the following >>>> >> error message : >> >>>> %beginning of the error message% >>>> (cut) >>>> >>>> ! Undefined control sequence. >>>> <argument> \theoremskipamount >>>> >>>> [snip] >>>> >> I used every package I could, but the error message is still there, but >> >> [snip] >> > > I guess you didn't look in "ntheorem" then  that's where it comes from. > I did use this package, but that changes nothing. I needed those commands to make sure that the vertical lines that enclose my definition (or theorem) will be aligned with its beginning and its end. I think the better is that I make a small example file so that interested people can see more clearly what I mean. > Cheers, Phil Ratcliffe Everyone, thank you for your time. whisky. 