求助:Latex定理环境字体格式怎样修改

avatar 181983
崔小宝
15865
4
可以来问问题嘛?Latex新手,中文论文,想把定理环境中正文的字体设置为与文章正文一样的宋体。百度上都搜不对啊。下面是我的导语
\documentclass{ctexart} %中文格式
\usepackage{amsmath,amssymb}
\usepackage{fancyhdr}
\usepackage{amsmath,bm}
\usepackage{mathrsfs}
\usepackage{ntheorem} % --------------没添加这个宏包时和下面的命令时可以运行,但是定理是楷体,正文是宋体

\theoremstyle{plain} %---------这些是从网上找的修改定理环境格式的 命令
\theoremheaderfont{\normalfont\rmfamily\CJKfamily{hei}}
\theorembodyfont{\normalfont\rm\CJKfamily{kai}} \theoremindent0em
\theoremseparator{\hspace{1em}} \theoremnumbering{arabic}

\newtheorem{definition}{\hskip 2em 定义}[section] %从这里开始出错。没有使用上面的宏包和命令时是可以正常运行的,告诉我undefined control sequence
\newtheorem{law}{\hskip 2em 定理}[section]
\newtheorem{jury}{\hskip 2em 引理}[section]

请求好心人帮忙!
4条回复