emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: How to get \\ in title or author?
Date: Wed, 09 Sep 2009 10:26:28 -0400	[thread overview]
Message-ID: <5605.1252506388@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> of "Wed, 09 Sep 2009 11:47:18 +0200." <873a6wmoux.fsf@mundaneum.com>

=?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf@spammotel.com> wrote:

> ...
> is correctly converted into:
> 
> --8<---------------cut here---------------start------------->8---
> % Created 2009-09-09 Wed 11:37
> \documentclass[final,book]{myreport}  % <-- our company class
> \usepackage[utf8x]{inputenc}
> \usepackage[T1]{fontenc}
> \usepackage{longtable}
> \usepackage{soul}
> 
> \usepackage{xcolor}
> \usepackage{listings}
> 
> \title{YYY \linebreak XXX}
> \author{YYY \linebreak XXX}
> \date{2009-09-09}
> 
> \begin{document}
> 
> [...]
> --8<---------------cut here---------------end--------------->8---
> 
> and the PDF output of both the Title line and the Author line is on two lin=
> es
> (perfectly centered, horizontally).
> 
> Is your `\maketitle' redefined?
> 

Hi Seb & Bastien,

The org->latex translation is no problem, but the resulting latex file
does not give me a two-line authorship, either through pdflatex (tested
with xpdf) or through latex->dvi (tested with xdvi) and then through
dvi->ps (tested with gv).

And \maketitle is not redefined. I append the complete LaTeX file in case
you'd like to test. If you do, I'd be interested in the results. I'm
wondering whether the ``myreport'' class does things differently for
you, but I don't really know. It might be time to get my (very
rudimentary) LaTeX debugging skills out of the attic, dust them off, oil
them and put them to work again.

Thanks much,
Nick

--8<---------------cut here---------------start------------->8---
% Created 2009-09-09 Wed 00:43
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{soul}
\usepackage{hyperref}


\title{newlines}
\author{one \linebreak two}
\date{09 September 2009}

\begin{document}

\maketitle

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


\section{foo}
\label{sec-1}


\section{bar}
\label{sec-2}


\end{document}
--8<---------------cut here---------------end--------------->8---

  parent reply	other threads:[~2009-09-09 14:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-07 12:59 How to get \\ in title or author? Sébastien Vauban
2009-09-07 22:33 ` Bastien
2009-09-08  7:50   ` Sébastien Vauban
2009-09-08  3:33     ` Bastien
2009-09-08 21:01       ` Sébastien Vauban
2009-09-09  3:33         ` Bastien
2009-09-09  5:00           ` Nick Dokos
2009-09-09  9:47             ` Sébastien Vauban
2009-09-09 10:34               ` Bastien
2009-09-10 14:30                 ` Sébastien Vauban
2009-09-10 18:02                   ` Carsten Dominik
2009-09-10 18:30                     ` Nick Dokos
2009-09-09 14:26               ` Nick Dokos [this message]
2009-09-09 14:43                 ` Bastien
2009-09-10 14:27                   ` Sébastien Vauban
2009-09-09 21:08             ` Tim Burt
2009-09-09  2:15       ` Brian van den Broek

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=5605.1252506388@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.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).