From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: "Fatma Başak Aydemir" <aydemirfb@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Latex export: How to handle multiple authors, emails, institutes
Date: Fri, 04 Dec 2015 06:41:02 -0500 [thread overview]
Message-ID: <m2io4eh25t.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <87io4evb2r.fsf@ucl.ac.uk>
I have also done something like this for different journals here:
https://github.com/jkitchin/jmax/blob/master/ox-manuscript.el#L64
Eric S Fraga writes:
> On Thursday, 26 Nov 2015 at 16:26, Fatma Başak Aydemir wrote:
>> Hi all,
>>
>> I'm trying to write a conference paper which has multiple authors from
>> multiple institues. I tried to insert author infor by adding the
>> following block
>>
>> #+BEGIN_LaTeX
>> \author{First Author\inst{1}, Second Author\inst{1}, Third Author\inst{2}}
>> \authorrunning{Author et al.}
>> \institute{University of X, Country\\
>> \email{\{f.author, s.author\}@uX.edu}
>> \and
>> University of Y, CountryY\\
>> \email{\{t.author\}@uY.edu}}
>> #+END_LATEX
>
> This does not work because LaTeX blocks are inserted *after* the
> \begin{document} line. You need to put this all in the preamble which
> you can achieve using Tom's suggestion (define a new LaTeX class for
> org) and/or using #+latex_header: lines.
>
> I have a combination of these for articles for Springer
> books/journals. I define the following org LaTeX class, based on the
> author.tex example I got from the Springer templates:
>
> #+begin_src emacs-lisp
> (add-to-list 'org-latex-classes
> '("springer" "\\documentclass[graybox]{svmult}
> % choose options for [] as required from the list
> % in the Reference Guide
> \\usepackage{mathptmx} % selects Times Roman as basic font
> \\usepackage{helvet} % selects Helvetica as sans-serif font
> \\usepackage{courier} % selects Courier as typewriter font
> \\usepackage{type1cm} % activate if the above 3 fonts are
> % not available on your system
> %
> \\usepackage{makeidx} % allows index generation
> \\usepackage{graphicx} % standard LaTeX graphics tool
> % when including figure files
> \\usepackage{multicol} % used for the two-column index
> \\usepackage[bottom]{footmisc}% places footnotes at page bottom
>
> % see the list of further useful packages
> % in the Reference Guide
>
> \\makeindex % used for the subject index
> % please use the style svind.ist with
> % your makeindex program
> "
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
> #+end_src
>
> and then use this in my org file for the publication as follows:
>
> #+begin_src org
> ,#+latex_class: springer
> # Article/chapter specific information: title, authors, institution
> ,#+title: The full title of the chapter
> ,#+author: The authors
> ,#+latex_header: \titlerunning{The running title for long titles}
> ,#+latex_header: \institute{The institute information}
> # I also include article/chapter specific requirements here
> # beyond those required by the Springer class
> ,#+latex_header: \usepackage{algorithm}
> ,* The paper starts here
> #+end_src
>
> I hope this helps.
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
prev parent reply other threads:[~2015-12-04 11:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 15:26 Latex export: How to handle multiple authors, emails, institutes Fatma Başak Aydemir
2015-11-26 15:33 ` Rainer M Krug
2015-11-26 15:59 ` Thomas S. Dye
2015-11-26 16:37 ` Fatma Başak Aydemir
2015-12-04 9:04 ` Eric S Fraga
2015-12-04 11:41 ` John Kitchin [this message]
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=m2io4eh25t.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=aydemirfb@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/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).