Какая среда является подходящей для предоставления определений слов в тексте?

Какая среда является подходящей для предоставления определений слов в тексте?

Я пишу диссертацию и хочу определить некоторые ключевые термины. Теперь я делаю это просто с помощью itemize и использую отступ в виде маленькой точки. Выглядит нормально, но я думаю, что одно из преимуществ LaTeX в том, что я могу мечтать шире и находить больше эстетических вариантов.

Однако, когда я гуглю "среда определения слов в LaTeX", я получаю исключительно хиты по темам, связанным с математикой. Есть ли у кого-нибудь из вас хорошее предложение для среды, в которой я могу определить термин таким образом, чтобы он был смещен относительно окружающего текста?

Вот что я делаю сейчас:

 \documentclass{article}
 \usepackage[utf8]{inputenc}
 \begin{document}

 Many terms are important, including surprising ones. In this treatise, we use the word \textit{potato}, like so:

\begin{itemize}
\item Potato. Species of ghost native to Mexico.
\end{itemize}

Therefore, we propose that potatoes be dug up and reburied in accordance with proper rites.
 \end{document}

Но я бы предпочел что-то вроде этого:

\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}

Many terms are important, including surprising ones. In this treatise, we use the word \textit{potato}, like so:


Potato. Species of ghost native to Mexico.
% Where the above is nicely indented, offset from the rest of the paragraph, so readers can easily find it.

Therefore, we propose that potatoes be dug up and reburied in accordance with proper rites.
\end{document}

решение1

...имеет хороший отступ, смещен относительно остальной части абзаца, поэтому читатели могут легко его найти.

enumitemdescriptionПо моему мнению, возможность форматирования списка для среды делает следующее:

введите описание изображения здесь

\documentclass{article}

\usepackage{enumitem}

\newlist{worddefs}{description}{1}
\setlist[worddefs]{font=\sffamily\bfseries, labelindent=\parindent, leftmargin=6em, style=sameline}

\begin{document}

Many terms are important, including surprising ones. In this treatise, we use the word \textit{potato}, like so:

\begin{worddefs}
  \item[Potato.] Species of ghost native to Mexico.

  \item[Potato.] Species of ghost native to Mexico. Species of ghost native to Mexico.
    Species of ghost native to Mexico. Species of ghost native to Mexico.

  \item[Potatomato.] Species of ghost native to Mexico.
\end{worddefs}

Therefore, we propose that potatoes be dug up and reburied in accordance with proper rites.

\end{document}

Связанный контент