Linked Questions

2
votes
1answer
1k views

Deactivating italic text in body of a "definition" environment [duplicate]

I definied a new theorem via \newtheorem{def}{definition} But the text has a italic font and i do not want that. how can i deactivate the italic font?
1
vote
1answer
2k views

How to make an environment such as "theorem" not have italics [duplicate]

I found this: How to change the font style in theorem environment? as well as this: Italic in theorem environment Neither however seem to make sense to me as I have been using the following: \...
0
votes
2answers
123 views

In the Definition and Lemma body environment I want non italic content [duplicate]

I am using a book style file and in the preamble I defined some theorem environment. But in the Definition and Lemma part I want nonitalic content. Please suggest. My preamble are \newtheorem{theorem}...
1
vote
0answers
113 views

How to make examples without italic font? [duplicate]

I'm doing a project and in my LaTeX file the examples are in italic. I want to know if there is something I can do to avoid it and put the examples in normal font. I did put the examples as "...
13
votes
2answers
29k views

New Theorem Style

I'm pretty new to LaTeX. And I don't really understand the following code, it is merely a pasted template from wikipedia. I'm trying to make a simple theorem style which is identical to the normal ...
3
votes
2answers
4k views

Italicizing of amsthm package

I'm using the amsthm package, and I noticed that a remark is automatically italicized, while a theorem and a proposition are not. What other keywords have their content automatically italicized by ...
7
votes
1answer
4k views

How to change the font shape in the body of theorem environments?

\documentclass{article} \usepackage{amsmath,amssymb} \newtheorem{defn}{Definition} \newtheorem{pro}{Problem} \newtheorem{thm}{Theorem} \begin{document} \begin{defn} This is the first definition \end{...
2
votes
1answer
4k views

Changing theorem/lemma... label to bold italics

For theorems in my contribution I use \theoremstyle{plain}. This style prints theorem label in bold italics, eg. 'Theorem 1.', which is followed by text in italics. How could I set 'Theorem 1.' to ...
4
votes
1answer
853 views

My "definition" environment is in italic

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 ...
2
votes
1answer
1k views

Using/Forcing upright text within theorem environment

I would like to write an equation within a theorem that involves an integrand and the upright symbol $ \textrm{d} $ which I have abbreviated in my preamble with \newcommand{\dmath}{\textrm{d}} (and ...
1
vote
3answers
206 views

What kind of commands produce the "example" and "solution" headings in the picture

I've tried using flushleft with bolds such as \begin{flushleft}{\medium{\textbf{Example 1}}\end{flushleft} but that makes a large space right after. Notice the text is all the way to the left of ...
0
votes
0answers
856 views

Font style in newtheorem

I have the following MWE \documentclass[12pt, A4paper]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsthm} \newtheorem*{solution}{Solution} \begin{document} This is a proof: \...
0
votes
1answer
304 views

Switch body font shape of newtheorem automatically

It is interesting that \emph will switch the shape of font automatically based on the current font is italic or not, e.g., \emph{This is \emph{non-italic} italic}. will produce something like: ...
0
votes
1answer
225 views

Numeration of theorems considering the depth (section, subsection ...)

I want the theorems to be numerated considering the depth, namely: Chapter 1. Theorem 1.1. Section 1.1. Theorem 1.1.1. Subsection 1.1.1. Theorem 1.1.1.1. Theorem 1.1.1.2. Theorem 1.1.1.3. I ...
1
vote
1answer
213 views

Titles become 'unbolded' when adding in a new theoremstyle

Up until now, whenever I create a new definition or theorem etc., the title (so the word 'Definition' etc.) would come up in bold. However, when I try to add '\theoremstyle{remark}', the titles stop ...

15 30 50 per page