From: "Thomas S. Dye" <tsd@tsdye.com>
To: Luke Crook <luke@balooga.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Latex custom Title page question
Date: Wed, 23 Feb 2011 10:03:59 -1000 [thread overview]
Message-ID: <5A16F06C-3C71-4FB6-93DA-0A1EB263FA70@tsdye.com> (raw)
In-Reply-To: <loom.20110223T201832-466@post.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1770 bytes --]
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
>
>
Aloha 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
[-- Attachment #1.2: Type: text/html, Size: 3891 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2011-02-23 20:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 19:30 Latex custom Title page question Luke Crook
2011-02-23 20:03 ` Thomas S. Dye [this message]
2011-02-23 22:06 ` Chris Malone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5A16F06C-3C71-4FB6-93DA-0A1EB263FA70@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=luke@balooga.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).