I am trying to typeset a book in which each chapter has a different
author. I'm using LaTeX, the book document type, and XeTeX as my
formatting program. (I am not using memoir because I need to set a
special page size, and memoir, XeTeX, and the geometry package do not
all seem to play well together -- the first page is always 8.5x11
inches, no matter what I do. But that's not the problem at hand.)
Setting the chapter title is straightforward enough (\chapter*{The
Title}). But I would like some way to add the author's name, which
doesn't leave a huge gap after the chapter title, and put the name right
above the first paragraph. I'd like it the other way around.
Here is a minimal example of what I have tried.
% -*-LaTeX-*-
%&program=xetex
%&encoding=UTF-8 Unicode
\documentclass[11pt,draft]{book}
\usepackage[paperwidth=5.5in,paperheight=8.5in]{geometry}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{lettrine}
\setmainfont[Mapping=tex-text,Ligatures={Common},%
ItalicFeatures={Ligatures={Common,
Rare},Numbers=OldStyle},Weight=Medium,RawFeature=+onum]{Garamond Premier
Pro}
\setsansfont[Scale=MatchLowercase,Ligatures={Common}]{Gill Sans}
%%\fonta OpenType old-style figures: 0123456789
\setmonofont[Scale=MatchLowercase,Mapping=tex-text]{Andale Mono}
\setmathrm{Garamond Premier Pro}
\defaultfontfeatures{Numbers=OldStyle}
\frenchspacing
\newcommand{\Dash}{\thinspace---\thinspace} % space around em-dashes
\newcommand{\EnDash}{\thinspace--\thinspace} % space around en-dashes
%\checkandfixthelayout
\begin{document}
\chapter*{Chapter Title}
\section*{Author Name} % This appears much too far below the chapter title.
% It isn't the Right Way to do this, anyway.
\noindent\textbf{Author Name} % This gives me the format I want, but I
would like
% it to be right below the chapter title.
\lettrine[lines=2]{T}{his } is the first paragraph of the chapter.
\end{document}
Thank you for any enlightenment you can shed.
--Jim Tubman
Calgary, Alberta, Canada
Perhaps you could try this:
\chapter*{Chapter Title\protect\\ Author Name}
Bye,
Denis
That does the job! Thanks very much.
--Jim
Concerning not using memoir: I don't understand why you don't use
memoir's internal features to specify the page size. Seems to me the
best solution. Anyway, I don't know if this works with XeTeX but it
should be worth to give it a try.
Denis
i don't know what i've done with my copy of that book, but i have
written a faq answer which deals with the issue:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multidoc
the list of classes/packages in there might provide useful keywords
for the index of tlc2 (most of them hadn't been written in 1993, so
tlc1 wouldn't help).
>Here is a minimal example of what I have tried.
doesn't look terribly minimal to me. ;-)
no matter, try the faq answer and see if it offers a way forward.
--
Robin Fairbairns, Cambridge