
Estoy escribiendo una tesis y quiero definir algunos términos clave. Ahora, hago esto solo con itemize y uso la pequeña viñeta con sangría. Se ve bien, pero supongo que una de las ventajas de LaTeX es que puedo soñar en grande y encontrar más opciones estéticas.
Sin embargo, cuando busco en Google "entorno de definición de palabras en LaTeX", obtengo resultados exclusivamente sobre temas relacionados con las matemáticas. ¿Alguno de ustedes tiene una buena sugerencia para un entorno en el que pueda definir un término de tal manera que se desplace del texto circundante?
Esto es lo que hago ahora:
\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}
Pero preferiría tener algo como esto:
\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}
Respuesta1
...está bien sangrado, separado del resto del párrafo, para que los lectores puedan encontrarlo fácilmente.
enumitem
La capacidad de formato de listas para un description
entorno hace esto, en mi opinión:
\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}