
Я пишу текст в Overleaf и хочу включить индекс, содержащий (много) выбранных слов. Для этого я использую пакет imakeidx
. Есть ли возможность определить сочетание клавиш или горячую клавишу клавиатуры, чтобы я выделил слово и нажал сочетание клавиш вместо того, чтобы писать его \index{selected word}
несколько раз?
\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}
Заранее большое спасибо!