
Estoy escribiendo un texto al dorso y quiero incluir un índice que contenga (muchas) palabras seleccionadas. Para ello utilizo el imakeidx
paquete. ¿Existe la posibilidad de definir un atajo o una tecla de acceso rápido del teclado de modo que marque la palabra y presione la tecla rápida en lugar de escribir \index{selected word}
varias veces?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{imakeidx}
\makeindex
\begin{document}
\section{Introduction}
In this example several keywords\index{keywords} will be used
which are important and deserve to appear in the Index\index{Index}.
Terms like generate\index{generate} and some\index{others} will
also show up.
\printindex
\end{document}
¡Muchas gracias por adelantado!