[OS X TeX] Indexing '&'
Herb Schulz
herbs at wideopenwest.com
Mon Dec 6 03:12:14 CET 2004
On 12/5/04 8:08 PM, "Alain Schremmer" <Schremmer.Alain at verizon.net> wrote:
> I am having another small problem. I would like the ampersand, &, to
> appear in the index but Makeindex does not like it: It stops there and,
> when I Typeset LaTeX, the console objects as follows:
>
> )(./Title.ind[139]
> !Misplaced alignment tab character &.
> 1.3 \item &
> , 7
>
> where 7 is the page on which '&' appears in the book called 'Title'.
>
> But if I run Makeindex with, say, \index{blurb}, it indexes of course
> 'blurb' as entry 139 (out of 155) and, since, I am using Showidx,
> 'blurb' shows also in the margin but, when I then replace 'blurb' by '&'
> and typeset LaTeX, 'blurb' is indeed replaced by '&' in the margin with
> no objection from the console but not in the index at the back of the
> book where 'blurb' remains.
>
>
> Regards
> --schremmer
Howdy,
The `&' is indeed a special character so use `\&' to produce it in text.
Hope that solves the problem.
Good Luck,
Herb Schulz
(herbs at wideopenwest.com)
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list