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

bibliography in "letter" class?

0 views
Skip to first unread message

Una Smith

unread,
Mar 10, 1997, 3:00:00 AM3/10/97
to

\documentclass{letter}
\usepackage{apacite}
...
\begin{document}
\begin{letter}{...}

\citeA{George1996} ...

\bibliographystyle{apacite}
\bibliography{my-bib-file}

\end{letter}
\end{document}

...seems to work, except LaTeX complains that \section (used by
apacite) is undefined.

What should I do to include a bibliography as part of a letter?

Una Smith

Una Smith

unread,
Mar 11, 1997, 3:00:00 AM3/11/97
to

I asked:

>What should I do to include a bibliography as part of a letter?

...using the apacite package, version 1994/11/30? Well, I modified
the definition of the \thebibliography command in apacite.sty, so
LaTeX would know what to do when \section is not defined (as is the
case in "letter" class documents). Here is the revised definition:

\def\thebibliography#1{%
\@ifundefined{chapter}%
{\@ifundefined{section}%
{\vspace{.25in}\textbf{\refname}}%
{\section*{\refname}%
\@mkboth{\uppercase{\refname}}{\uppercase{\refname}}%
\addcontentsline{toc}{section}{\refname}}}%
{\chapter*{\bibname}%
\@mkboth{\uppercase{\bibname}}{\uppercase{\bibname}}%
\addcontentsline{toc}{chapter}{\bibname}}%
\list{\relax}{\labelsep=0em%
\leftmargin=\bibleftmargin%
\itemindent=-\bibleftmargin}
\def\newblock{\hskip .11em plus .33em minus .07em}
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode`\.=1000\relax
}

Cheers,

Una Smith

0 new messages