underscore in index entry
7 Jul
2010
7 Jul
'10
12:46 a.m.
Hi, I tried to put _ in index entry and am unable to do it. I tried following 1. \index{_shiv} 2. \index{\type{_shiv}} 3. \index{\textunderscore{} shiv} Please help. -- Best regards, Shiv Shankar Dayal
7 Jul
7 Jul
4:57 a.m.
On Tue, 6 Jul 2010 20:46:09 -0400, Shiv Shankar Dayal
Hi,
I tried to put _ in index entry and am unable to do it. I tried following 1. \index{_shiv} 2. \index{\type{_shiv}} 3. \index{\textunderscore{} shiv} _ is a special character for TeX. You can change this behaviour globally with \nonknuthmode or you can escape the _ locally by using the backslash.
\nonknuthmode \starttext \placeindex Hello\index{huhu} \stoptext or \starttext \placeindex Hello\index{_huhu} \stoptext both work for me. Marco
5283
Age (days ago)
5283
Last active (days ago)
1 comments
2 participants
participants (2)
-
Marco
-
Shiv Shankar Dayal