LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Index of all words in bold face

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Zetison
Posts: 17
Joined: Fri Dec 02, 2011 2:05 pm

Index of all words in bold face

Is there a way to get Index of all words in bold face without using index{} at each of these words?
Last edited by Zetison on Mon Aug 19, 2013 8:39 pm, edited 1 time in total.

LaTeXguide.org • LaTeX-Cookbook.net

Zetison
Posts: 17
Joined: Fri Dec 02, 2011 2:05 pm

Index of all words in bold face

Never mind. The solution is:
\usepackage{makeidx}
\makeindex
\let\oldtextbf\textbf
\renewcommand{\textbf}[1]{\oldtextbf{#1}\index{#1}}

dami
Posts: 1
Joined: Sun Jan 09, 2022 9:26 pm

Index of all words in bold face

If i want to include hyperref?

Stefan Kottwitz
Posts: 9804
Joined: Mon Mar 10, 2008 9:44 pm

Index of all words in bold face

You can put your hyperref commands also into the \renewcommand definition.

Stefan