MakeIndex, Nomenclature, Glossaries and AcronymsIndex of all words in bold face

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

Index of all words in bold face

Post by Zetison »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

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

Index of all words in bold face

Post by Zetison »

Never mind. The solution is:

Code: Select all

\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

Post by dami »

If i want to include hyperref?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10358
Joined: Mon Mar 10, 2008 9:44 pm

Index of all words in bold face

Post by Stefan Kottwitz »

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

Stefan
LaTeX.org admin
Post Reply