emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* use custom "cls" style file as export template for LaTeX/PDF
@ 2016-11-27  0:34 Zhao Ma
  0 siblings, 0 replies; only message in thread
From: Zhao Ma @ 2016-11-27  0:34 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

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.*

[-- Attachment #2: Type: text/html, Size: 2701 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-27  0:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-27  0:34 use custom "cls" style file as export template for LaTeX/PDF Zhao Ma

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).