\documentclass[nofonts,UTF8,cs4size,a4paper,fancyhdr,fntef,hyperref,CJKchecksingle]{ctexart}
%抄的,不知道,目测包含-不设定字体-UTF8编码-A4纸张-页眉页脚-文档内链接-中日韩单字检查
\usepackage{xeCJK}
%中日韩语言
\usepackage[intlimits]{amsmath}
%积分号上下标位置,对等-nointlimits
\usepackage{titlesec}
%章节标题格式
\usepackage[top=1in,bottom=1in,left=1.25in,right=1.25in]{geometry}
%抄的,似乎设定边距
\setlength{\parindent}{2em}
%段落首行缩进两个汉字大小
\usepackage{indentfirst}
%首段首行也缩进
\usepackage{fontspec,xunicode,xltxtra}
%字体控制,等
\usepackage{bm}
%据说公式中变量便粗体,没发现用处
\setmainfont{Source Sans Pro}
%\setsansfont{DejaVu Sans}
%\setmonofont{DejaVu Sans Mono}
\setCJKmainfont{WenQuanYi Micro Hei}
%\setCJKsansfont{WenQuanYi Micro Hei}
%\setCJKmonofont{WenQuanYi Micro Hei Mono}
%字体设置,main,sans,mono,应该也可以设置serif
\newtheorem{definition}{{\hspace{2em}定义}}[section]
\newtheorem{lemma}{{\hspace{2em}引理}}[section]
\newtheorem{theorem}{{\hspace{2em}定理}}[section]
\newtheorem{axiom}{\hspace{2em}公理}[section]
\newtheorem{corollary}{\hspace{2em}推论}[section]
%重定义..这些东西
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
%中文自动换行
\renewcommand{\baselinestretch}{1.25}
%不知道
\begin{document}
\title{Game Over}
\author{Kindle}
\date{}
%指定日期,否则会是当前系统日期
\maketitle
\newpage
\tableofcontents
\newpage
\section{test}
\begin{theorem}
春风不度玉门关
\end{theorem}
\end{document}
%抄的,不知道,目测包含-不设定字体-UTF8编码-A4纸张-页眉页脚-文档内链接-中日韩单字检查
\usepackage{xeCJK}
%中日韩语言
\usepackage[intlimits]{amsmath}
%积分号上下标位置,对等-nointlimits
\usepackage{titlesec}
%章节标题格式
\usepackage[top=1in,bottom=1in,left=1.25in,right=1.25in]{geometry}
%抄的,似乎设定边距
\setlength{\parindent}{2em}
%段落首行缩进两个汉字大小
\usepackage{indentfirst}
%首段首行也缩进
\usepackage{fontspec,xunicode,xltxtra}
%字体控制,等
\usepackage{bm}
%据说公式中变量便粗体,没发现用处
\setmainfont{Source Sans Pro}
%\setsansfont{DejaVu Sans}
%\setmonofont{DejaVu Sans Mono}
\setCJKmainfont{WenQuanYi Micro Hei}
%\setCJKsansfont{WenQuanYi Micro Hei}
%\setCJKmonofont{WenQuanYi Micro Hei Mono}
%字体设置,main,sans,mono,应该也可以设置serif
\newtheorem{definition}{{\hspace{2em}定义}}[section]
\newtheorem{lemma}{{\hspace{2em}引理}}[section]
\newtheorem{theorem}{{\hspace{2em}定理}}[section]
\newtheorem{axiom}{\hspace{2em}公理}[section]
\newtheorem{corollary}{\hspace{2em}推论}[section]
%重定义..这些东西
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
%中文自动换行
\renewcommand{\baselinestretch}{1.25}
%不知道
\begin{document}
\title{Game Over}
\author{Kindle}
\date{}
%指定日期,否则会是当前系统日期
\maketitle
\newpage
\tableofcontents
\newpage
\section{test}
\begin{theorem}
春风不度玉门关
\end{theorem}
\end{document}