4

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?

2

1 Answer 1

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}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .