emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Per file customisation of sectioning structure in latex export
@ 2012-04-28  1:55 Vikas Rawal
  2012-04-28  8:56 ` Eric Fraga
  0 siblings, 1 reply; 2+ messages in thread
From: Vikas Rawal @ 2012-04-28  1:55 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Per file customisation of sectioning structure in latex export
  2012-04-28  1:55 Per file customisation of sectioning structure in latex export Vikas Rawal
@ 2012-04-28  8:56 ` Eric Fraga
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Fraga @ 2012-04-28  8:56 UTC (permalink / raw)
  To: emacs-orgmode

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 24.1.50.1
: using Org release_7.8.09-414-gb3e8a8

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-28  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-28  1:55 Per file customisation of sectioning structure in latex export Vikas Rawal
2012-04-28  8:56 ` Eric Fraga

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