chaos

June 17, 2006

例2.3.1的改写

Filed under: TeX - xyzguy @ 9:01 pm

问题:把"例2.3.1(表示第二章第三节的例题1)"改为"例1." 的形式,并保持每小节例题独立计数。

解决方法:usepackage{amsthm}
在导言区写下如下命令:
newtheoremstyle{mystyle}{3pt}{3pt}{upshape}{parindent}{normalfont}{}{0.1em}{}
theoremstyle{mystyle}
newtheorem{example}{例}[section]
renewcommand{theexample}{arabic{example}.}

注:usepackage{amsthm}与usepackage{ntheorem} 可能互相不兼容。

困扰我一个大问题终于解决了。 

Comments »

The URI to TrackBack this entry is: http://xyzguy.blogsome.com/2006/06/17/p112/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>