emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Per file customisation of sectioning structure in latex export


From: Eric Fraga
Subject: Re: [O] Per file customisation of sectioning structure in latex export
Date: Sat, 28 Apr 2012 18:26:44 +0930
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)

Vikas Rawal <address@hidden> 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 24.1.50.1
: using Org release_7.8.09-414-gb3e8a8




reply via email to

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