emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] use custom "cls" style file as export template for LaTeX/PDF


From: Zhao Ma
Subject: [O] use custom "cls" style file as export template for LaTeX/PDF
Date: Sat, 26 Nov 2016 19:34:05 -0500

Hi,

I've been struggling for this question for several days and cannot find any info on the web.

I have a separate cls file that contains the style for LaTeX export.
I'd like to write thesis using this template in org, but the info I found is all about adding this:

  (add-to-list 'org-latex-classes
          '("custom-cls"
             "\\documentclass{custom-cls}
             [NO-DEFAULT-PACKAGES]
             [EXTRA]"
             ("\\section{%s}" . "\\section*{%s}")
             ("\\subsection{%s}" . "\\subsection*{%s}")
             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
             ("\\paragraph{%s}" . "\\paragraph*{%s}")
             ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

​But there is a lot of things in my cls file...
Is there anyway I can link the cls file or define it somewhere so that org-mode will know its existance?
How can I define it?​

​Thank you.​
--
PLEASE THINK BEFORE YOU PRINT, PLEASE.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]