emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Title page in latex export


From: Suvayu Ali
Subject: Re: [O] Title page in latex export
Date: Fri, 4 Mar 2011 03:23:25 -0800

Hi Camille,

Thanks a lot for your response.

On Fri, 4 Mar 2011 11:48:39 +0100
Camille persson <address@hidden> wrote:

> Hi,
> 
> I think that what it already does
> 

I don't think it does that. e.g.

#+TITLE:     Thesis title
#+AUTHOR:    Suvayu Ali

#+LaTeX_CLASS: book

* Introduction
** Chapter 1
** Chapter 2
* My analysis
** Chapter 3
** Chapter 4

gets exported to latex as,

% Created 2011-03-04 Fri 03:19
\documentclass[11pt]{book}
\usepackage[utf8]{inputenc}
...
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}
\begin{document}

\title{Thesis title}
\author{Suvayu Ali}
\date{04 March 2011}
\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

\part{Introduction}
\label{sec-1}
\chapter{Chapter 1}
\label{sec-1_1}
\chapter{Chapter 2}
\label{sec-1_2}
\part{My analysis}
\label{sec-2}
\chapter{Chapter 3}
\label{sec-2_1}
\chapter{Chapter 4}
\label{sec-2_2}

\end{document}


I would like the:

\title{Thesis title}
\author{Suvayu Ali}
\date{04 March 2011}

to be outside the

\begin{document}
...
\end{document}

I hope this clears any confusion.


> But if you mean you should use \maketitlte before \begin{document}
> you could do it like this:
> 
> #+BIND: org-export-latex-title-command ""
> #+LATEX_HEADER: \maketitle
> 
> 
> Regards,
> CP


-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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