Hi Luke,
Another (quick) fix given what you already have, is to renew the maketitle command to be empty:
#+LATEX_HEADER: \renewcommand{\maketitle}{}
Then after this you could put your #+begin_latex ... #+end_latex block to generate the page. Obviously, this works only for the current =org-mode= file, and Tom's suggestion of creating your own latex class would be better in the long run.
HTH,
Chris
Aloha Luke,On Feb 23, 2011, at 9:30 AM, Luke Crook wrote:I have successfully created a custom title page which I have used to
replace the default version created by org-mode.
Per http://orgmode.org/worg/org-tutorials/org-latex-export.html
"11.2 Titles and Title Page Layout".
However my title page contains the document title, date and version number.
I would rather not have to create a separate "custom-title.tex"
for each document that I create.
Can I specify the Title etc. in org-mode in such a way that it can be
included in the custom Title page?
I have tried moving "custom-title.tex" into org-mode sandwiched
between #+BEGIN_latex / #+END_latex commands, but this does not put
the title on the first page.
I have included a blank
#+TITLE
and
#+OPTIONS: toc:nil
but this still generates an empty page before my custom title page.
Thanks,
-Luke
IIUC, you would like to have a custom title page that picks up the title, author, date, etc. from the Org-mode file.One way to do this is to keep the LaTeX variables for title, author, date, etc. in your new \maketitle, then put it in a new LaTeX class file that can be registered with Org-mode.I have this in my custom class file:\renewcommand\@maketitle{%\newpage\null\begin{center}%\let \footnote \thanks{\usebox{\FIRM}}%\vskip 3em%{\LARGE \@title \par}%\vskip 1.5em%{\large\lineskip .5em%\begin{tabular}[t]{c}%\@author\end{tabular}\par}%\vskip 1em%{\large \@date}%\end{center}%\par\vskip 1.5em}where \FIRM is a company logo and @title, @author, and @date correspond to Org-mode's #+TITLE:, etc.hth,Tom
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode