From: Zhao Ma <x__x@mit.edu>
To: emacs-orgmode@gnu.org
Subject: use custom "cls" style file as export template for LaTeX/PDF
Date: Sat, 26 Nov 2016 19:34:05 -0500 [thread overview]
Message-ID: <CAKm+nVwSheNgbOo872zchJ=oVJtumUkgGsRiKswK7g-KRWMbnw@mail.gmail.com> (raw)
[-- 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 --]
reply other threads:[~2016-11-27 0:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKm+nVwSheNgbOo872zchJ=oVJtumUkgGsRiKswK7g-KRWMbnw@mail.gmail.com' \
--to=x__x@mit.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).