Article View: comp.text
Article #3493Re: LaTeX cite command problem
From: jmsellens
Date: Sun, 22 Feb 1987 23:02
Date: Sun, 22 Feb 1987 23:02
29 lines
1700 bytes
1700 bytes
In article <2410@sunybcs.UUCP> miller@sunybcs.UUCP (Russ Miller) writes:
>Is there someway to change the \cite macro so that when the
>citations are printed that there are spaces between the citations?
>(Presumably, it would then be able to make a sensible line break.)
I had this question asked of me before, and since it may be of general
usefullness, I have taken the liberty of posting rather than mailing
directly.
Try putting this after your \documentstyle command (most stolen from
latex.tex version 2.09):
\makeatletter
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
\def\@citea{}\@cite{\@for\@citeb:=#2\do
{\@citea\def\@citea{,\,}\@ifundefined
{b@\@citeb}{{\bf ?}\@warning
{Citation `\@citeb' on page \thepage \space undefined}}%
\hbox{\csname b@\@citeb\endcsname}}}{#1}}
\makeatother
I added the thin space (\,) after the , and I think this might solve
your problem.
John Sellens -- Logic Programming and Artificial Intelligence Group
{decvax|utzoo|ihnp4|allegra|clyde}!watmath!watdragon!jmsellens
jmsellens@dragon.waterloo.{edu,CDN} jsellens@watmta.BITNET
jmsellens%dragon@waterloo.csnet
Technical Details
Message-ID:
<2333@watdragon.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!watnot!watdragon!jmsellensReferences:
<2410@sunybcs.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!watdragon!jmsellens From: jmsellens@watdragon.UUCP Newsgroups: comp.text Subject: Re: LaTeX cite command problem Message-ID: <2333@watdragon.UUCP> Date: Sun, 22-Feb-87 18:02:04 EST Article-I.D.: watdrago.2333 Posted: Sun Feb 22 18:02:04 1987 Date-Received: Mon, 23-Feb-87 03:10:03 EST References: <2410@sunybcs.UUCP> Reply-To: jmsellens@watdragon.UUCP (John M. Sellens) Organization: U. of Waterloo, Ontario Lines: 29