Hi Nick and Bastien,
Bastien wrote:
> Nick Dokos <[email protected]> writes:
>
>> 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).
>
> Yes, \newline and \linebreak work in \title (with different outputs) but
> not in \author. \\ works in \author.
I confirm this as well...
Though, it works (authors on two lines) with my company-class:
--8<---------------cut here---------------start------------->8---
\documentclass[11pt]{myreport}
--8<---------------cut here---------------end--------------->8---
and it's OK for me...
For your info (even if that does not change anything to the subject here),
here is the new definition of my title page:
--8<---------------cut here---------------start------------->8---
\RequirePackage{keyval}
\def...@key{mymktitle}{caption}[]{\def\mymktitle@caption{#1}}
\def...@key{mymktitle}{logo}[]{\def\mymktitle@logo{#1}}
\setkeys{myMkTitle}{caption={}, logo={}} % preset keys with a default value,
% so that above variables are created
\renewcommand{\maketitle}[1][]{%
\setkeys{myMkTitle}{#1}
\null
\thispagestyle{empty}%
\begin{changemargin}{-3.5cm}{0cm}
\begin{center}
\leavevmode
\ifthenelse{\equal{\mymkti...@logo}{}}
{}%
{\includegraphics[height=2cm]{\mymkti...@logo}} \\%
\ifthenelse{\equal{\mymkti...@caption}{}}
{}%
{\textbf{\sc{\mymkti...@caption}}}
\par\vspace{\stretch{2}}
\normalfont
{\Huge \color{my-color-document-title}\textb...@title}\par}%
\vskip 5mm
{\large \...@author\par}%
\vskip 2mm
{\large \...@date\par}%
\par\vspace{\stretch{3}}
\includegraphics[height=2cm]{MissionCriticalIT}
\end{center}%
\end{changemargin}
\null
\clearpage
}
--8<---------------cut here---------------end--------------->8---
My "maketitle" accepts key-val pairs, such as:
--8<---------------cut here---------------start------------->8---
\maketitle[logo=LaTeX2e, caption=LaTeX]
--8<---------------cut here---------------end--------------->8---
to have both the "LaTeX2e" figure and the "LaTeX" string outputted on the top
of the title page (for client reports).
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode