emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Per file customisation of sectioning structure in latex export
Date: Sat, 28 Apr 2012 18:26:44 +0930	[thread overview]
Message-ID: <87k4106xpv.fsf@ucl.ac.uk> (raw)
In-Reply-To: <20120428015548.GA1643@panahar> (Vikas Rawal's message of "Sat, 28 Apr 2012 07:25:48 +0530")

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> I would like to specify the correspondence between heading levels and
> sectioning structure for latex export in a specific file. Could
> somebody point me to the right method. I have checked
> <http://orgmode.org/worg/org-tutorials/org-latex-export.html> on
> worg. Isn't there a way by which I could specify this in the header.
> I am using latex class "article". Isn't it possible to the sectioning
> structure through #+LATEX_CLASS_OPTIONS?
> Vikas

You probably want to look at

,----[ C-h v org-export-latex-classes RET ]
| org-export-latex-classes's value is shown below.
| Documentation:
| Not documented as a variable.
| Value: (("article" "\\documentclass{scrartcl}"
|   ("\\section{%s}" . "\\section*{%s}")
|   ("\\subsection{%s}" . "\\subsection*{%s}")
|   ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|   ("\\paragraph{%s}" . "\\paragraph*{%s}")
|   ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))


|  ("book" "\\documentclass[11pt]{book}"
|   ("\\part{%s}" . "\\part*{%s}")
|   ("\\chapter{%s}" . "\\chapter*{%s}")
|   ("\\section{%s}" . "\\section*{%s}")
|   ("\\subsection{%s}" . "\\subsection*{%s}")
|   ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
|  ("beamer" "\\documentclass{beamer}" org-beamer-sectioning))
| [back]

Each entry in the list is a list which has the name of the type of
document, the latex class command and then a list of latex commands to
use for the heading levels.  Each heading level is given two latex
commands, one for numbered headings and one for unnumbered.  The choice
of numbered vs unnumbered is through the num: option.  You can generate
a template in your org file with default options and other settings
using C-c C-e t.
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs
: using Org release_7.8.09-414-gb3e8a8

      reply	other threads:[~2012-04-28  8:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-28  1:55 Per file customisation of sectioning structure in latex export Vikas Rawal
2012-04-28  8:56 ` Eric Fraga [this message]

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:

  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=87k4106xpv.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \


* 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


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