Created
October 9, 2012 13:51
-
-
Save coldnew/3858948 to your computer and use it in GitHub Desktop.
my org-mode latex class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-to-list 'org-export-latex-classes | |
'("coldnew-article" | |
"\\documentclass[12pt,a4paper]{article} | |
\\usepackage[T1]{fontenc} | |
\\usepackage{fontspec} | |
\\usepackage{xeCJK} | |
\\setCJKmainfont{Hiragino Sans GB W3} | |
\\XeTeXlinebreaklocale \"zh\" | |
\\XeTeXlinebreakskip = 0pt plus 1pt | |
\\usepackage{graphicx} | |
\\usepackage{tikz} | |
\\usepackage[bookmarks=true,colorlinks,linkcolor=black]{hyperref} | |
\\defaultfontfeatures{Mapping=tex-text} | |
\\setmonofont[Scale=0.8]{DejaVu Sans Mono} | |
\\usepackage{geometry} | |
\\geometry{a4paper, textwidth=6.5in, textheight=8in, | |
marginparsep=10pt, marginparwidth=.6in} | |
\\pagestyle{plain} | |
\\linespread{1.5} | |
\\title{} | |
[NO-DEFAULT-PACKAGES] | |
[NO-PACKAGES]" | |
("\\section{%s}" . "\\section*{%s}") | |
("\\subsection{%s}" . "\\subsection*{%s}") | |
("\\subsubsection{%s}" . "\\subsubsection*{%s}") | |
("\\paragraph{%s}" . "\\paragraph*{%s}") | |
("\\subparagraph{%s}" . "\\subparagraph*{%s}") | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment