Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Formatting a book with one author per chapter

867 views
Skip to first unread message

Jim Tubman

unread,
Sep 2, 2008, 3:57:38 PM9/2/08
to
Hi there. This ought to be something straightforward, but I haven't been
able to figure out how to do it, even after consulting The LaTeX
Companion (2nd Ed.) and searching on Google.

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

Denis Maier

unread,
Sep 2, 2008, 6:24:05 PM9/2/08
to

> 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.)

Perhaps you could try this:

\chapter*{Chapter Title\protect\\ Author Name}

Bye,
Denis

Jim Tubman

unread,
Sep 3, 2008, 9:53:26 AM9/3/08
to

That does the job! Thanks very much.

--Jim

Denis Maier

unread,
Sep 3, 2008, 9:58:09 AM9/3/08
to

> Denis Maier wrote:
>>
>>> 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.)

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

Robin Fairbairns

unread,
Sep 3, 2008, 2:28:20 PM9/3/08
to
Jim Tubman <jtu...@shaw.ca> writes:
>Hi there. This ought to be something straightforward, but I haven't been
>able to figure out how to do it, even after consulting The LaTeX
>Companion (2nd Ed.) and searching on Google.

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

0 new messages