%2C%20incluido%20el%20t%C3%ADtulo%20de%20la%20secci%C3%B3n%20%22Resumen%22%3F.png)
Tengo un documento con un resumen.
\begin{abstract}
\texttt{
blaa blaa
}
\end{abstract}
El texto del resumen aparece como texttt como se esperaba.
¿Cómo puedo hacer que el título, es decir, el texto que dice "Resumen", aparezca texttt
también en fuente?
Respuesta1
Aquí hay una etoolbox
manera de cambiar ttfamily
justo al comienzo del abstract
entorno.
\documentclass[notitlepage]{article}
\usepackage{etoolbox}
\AtBeginEnvironment{abstract}{%
\ttfamily%
}
\begin{document}
\begin{abstract}
Brontosaurs are thin at one end, thick in the middle and thin at the other end.
\end{abstract}
\end{document}