I obtained a TeX "pre-built" file in order to write for my college, but it so happens that every time I call a definition environment (which is defined in the file), it is always in italic. I am not fond of this particular aesthetic. Is there some way I can change this? I know I can \emph things in order to return them to normal, but is there a more elegant way?
Asked
Active
Viewed 1,162 times
4
Werner
- 603,163
Aloizio Macedo
- 207
1 Answers
5
Redefine the \definiton macro which starts the environment:
\documentclass{article}
\newenvironment{definition}%% only for demo here
{\itshape}
{}
\begin{document}
\begin{definition}
Everything is in italic
\end{definition}
Redefine the environment (should be in the pramble)
\makeatletter
\g@addto@macro{\definition}{\upshape}
\makeatother
\begin{definition}
Everything is in upright
\end{definition}
\end{document}
definitionenvironment is defined in the template? – egreg Apr 04 '15 at 09:13