男单 618

生活象筒装的卫生纸,开始的时候怎么扯都不觉得在转,后来转的越来越快。

Beamer中自定义定理环境的风格继承问题

without comments

为了修改定理环境的标题,我们需要使用
\newtheorem{liti}{例}[section]
这样的命令重新定义一个新的环境。但是这样定义的liti块的风格是与theorem块相同,而不是我们想要的exampleblock的风格。

要想继承原有的block风格,先用
\theoremstyle{example}
命令切换成exampleblock的风格,再定义新的环境liti
\newtheorem{liti}{例}[section]
这样出来的块就和exampleblock的风格完全一致。

其他细节参见beamerbasetheorems.sty这个文件。

Written by amao

2010/01/27 at 2:14

Posted in LaTeX相关

Tagged with

Leave a Reply