General ⇒ Index Command
-
- Posts: 68
- Joined: Mon Jul 06, 2009 7:44 pm
Index Command
Is there any command or code I can add it in preamble to send every word to index.??
Thank you all
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Index Command
Code: Select all
\def\aaaa#1\par{%
\bbbb#1 \@nil
\par
}
\def\bbbb#1 #2\@nil{%
#1\index{#1}
\ifx&%
\else
\bbbb#2\@nil
\fi
}
\everypar{\aaaa}
-
- Posts: 68
- Joined: Mon Jul 06, 2009 7:44 pm
Re: Index Command
-
- Posts: 68
- Joined: Mon Jul 06, 2009 7:44 pm
Re: Index Command
A
air,3
C
Car,3
Thx