;; org-mode pdf outpuf (setq org-latex-classes '(("article" " \\documentclass[11pt]{article} \\usepackage{xeCJK} \\usepackage{indentfirst} \\usepackage{amsmath} \\setlength{\\parindent}{2em} \\setCJKmainfont{SimSun} \\numberwithin{equation}{section} \\newtheorem{Theorem}{定理}[section] \\newtheorem{Definition}[Theorem]{定义} \\newtheorem{Lemma}[Theorem]{引理} \\newtheorem{Corollary}[Theorem]{推论} \\topmargin=-0.45in \\evensidemargin=0in \\oddsidemargin=0in \\textwidth=6.5in \\textheight=9.0in \\headsep=0.25in \\linespread{1.1} " ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) )) ;; Use XeLaTex (setq org-latex-pdf-process '("xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f")) (provide 'init-org)