From 6d7719bdb3d190ff0b2854bc781ddfec7b1382d1 Mon Sep 17 00:00:00 2001 From: Suvayu Ali Date: Thu, 8 Mar 2012 01:31:05 +0100 Subject: [PATCH] Add example demonstrating LaTeX_CLASS_OPTIONS * org.texi (Header and sectioning): Add example demonstrating how to use "LaTeX_CLASS_OPTIONS". TINY CHANGE --- doc/org.texi | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 33ffe28..68836e0 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -10361,11 +10361,22 @@ @subsection Header and sectioning structure @code{org-export-latex-default-packages-alist} and @code{org-export-latex-packages-alist} are spliced.}, and allows you to define the sectioning structure for each class. You can also define your own -classes there. @code{#+LaTeX_CLASS_OPTIONS} or a @code{LaTeX_CLASS_OPTIONS} -property can specify the options for the @code{\documentclass} macro. You -can also use @code{#+LaTeX_HEADER: address@hidden@}} to add lines to the -header. See the docstring of @code{org-export-latex-classes} for more -information. +classes there. @code{#+LaTeX_CLASS_OPTIONS} or a @code{:LaTeX_CLASS_OPTIONS:} +property can specify the options for the @code{\documentclass} macro. The +options to documentclass have to be provided, as expected by @LaTeX{}, within +square brackets. You can also use @code{#+LaTeX_HEADER: address@hidden@}} +to add lines to the header. See the docstring of address@hidden for more information. An example is shown +below. + address@hidden +#+LaTeX_CLASS: article +#+LaTeX_CLASS_OPTIONS: [a4paper] +#+LaTeX_HEADER: address@hidden@} + +* Headline 1 + some text address@hidden example @node Quoting @LaTeX{} code, Tables in @LaTeX{} export, Header and sectioning, @LaTeX{} and PDF export @subsection Quoting @LaTeX{} code -- 1.7.7.6