emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Malone <chris.m.malone@gmail.com>
To: Marvin Doyley <marvinpas@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tweaking org-laxtex-export-classes
Date: Fri, 22 Oct 2010 12:51:44 -0400	[thread overview]
Message-ID: <AANLkTimPRSB-G51RAO5zjVU-VDMQebs+xaj5RFP1JbeH@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin+_mgkcMm4pnHd_1e=AJ3bRUjBZ9F6X7HQ8FJW@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2118 bytes --]

Hi Marvin,

One hackish work around is to set the title to an empty string

#+TITLE:

This sets \title{} in the preamble and omits the \maketitle command.  Then
after including all of your #+LATEX_HEADER's you could add the following
LaTeX commands where you want to produce the title:

#+LATEX: \title{foo}
#+LATEX: \maketitle

HTH,

Chris

On Thu, Oct 21, 2010 at 9:46 AM, Marvin Doyley <marvinpas@gmail.com> wrote:

> Dear all,
>
> I am planning to write an article using org - most of my notes are =
> already in org so this seems logical.  The journal that I plan to submit =
> to  provides latex  class so it just a matter of customizing  =
> org-export-latex-classes, which I have done=20
>
> (add-to-list 'org-export-latex-classes=20
>  '("pmb"
> "\\documentclass[t]{iopart}
> \\usepackage{graphicx}
> \\usepackage{graphics}
> \\usepackage{amssymb,amsmath}
> \\usepackage{calc}
> \\usepackage{harvard}
> \\usepackage{apacite}
> \\bibliographystyle{apacite}
> [NO-DEFAULT-PACKAGES]
> \\renewcommand{\\baselinestretch}{1.5}"
>    ("\\section{%s}" . "\\section*{%s}")
>    ("\\subsection{%s}" . "\\subsection*{%s}")
>    ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>    ("\\paragraph{%s}" . "\\paragraph*{%s}")
>    ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
>
> Although this work almost perfect, I can figure out how get the exporter =
> to  to produce (i.e., I want the title, author, address,  and \maketilte =
> after the begin{document} rather than before
>
> \HEADERS
> \begin{document}
> \title{BLAH BLAH BLAY}
> \author{ME}
> \address{WWW}
>
> \begin{abstract}
> Testing one to
> \end{abstract}
> \maketitle
>
> \section{Introduction}
> \section{Materials and methods}
> \section{Results}
> \section{Discussion}
>
> \end{document}
>
> My short term fix  is to simple cut and paste, but it would be nice to =
> know if there is more elegant solution
>
>
> Best Wishes,
>
> M
>
> _______________________________________________
> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 2820 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

  reply	other threads:[~2010-10-22 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 13:46 Tweaking org-laxtex-export-classes Marvin Doyley
2010-10-22 16:51 ` Chris Malone [this message]
2010-10-23 17:09   ` Marvin Doyley

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=AANLkTimPRSB-G51RAO5zjVU-VDMQebs+xaj5RFP1JbeH@mail.gmail.com \
    --to=chris.m.malone@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=marvinpas@gmail.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).