# Edit Definition environment to have non-italic text

Hi All,
I’m adding some definitions to my work. Right now, all text within the Definition is italic by default. Is there a way to make it just “plain” text

I think that placing these two definitions in your preamble should get you what you want:

``````<assign|render-definition|<\macro|which|body>
<render-enunciation|<theorem-name|<arg|which><theorem-sep>>|<arg|body>>
</macro>>

<assign|definition|<\macro|body>
<surround|<compound|next-definition>||<render-definition|<compound|definition-numbered|<compound|definition-text>|<compound|the-definition>>|<arg|body>>>
</macro>>
``````

Paste using Paste from -> TeXmacs

If you want all “theorem-type” environments to be in “plain” text, it is best to redefine `render-theorem` instead.

In general for the modification of macros it is worth taking a look at the Macro editor, as it shows you the definition of a macro that you are using (when that definition is available). Here is a brief introduction: https://texmacs.github.io/notes/docs/macro-editor.html

1 Like