Questions tagged [theorems]

{theorems} are environments which are commonly numbered. They are extensively used in math texts. Examples of such environments are theorems, corollaries, lemmas, propositions, remarks and definitions. Popular packages are {amsthm}, {ntheorem}, and {thmtools}. Covers discussion on proofs too.

45 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
419 views

Placement of amsthm's proof and theorem environments

Since when I started LaTeXing I've always wrote the proof environment inside the theorem, but I see many templates or answers in which first the theorem is ended and then the proof is begun. Namely, ...
3
votes
0answers
521 views

Use upright text in \text within theorem

How to make the text in \text to be automatically upright in a theorem environment? For example, I want to use these codes to get the following effect: \documentclass{article} \usepackage{amsmath} \...
3
votes
0answers
67 views

Hidden Theorem Style

i'm using the theorem environment to write edition notes or commentaries in an article. \declaretheorem[ style=myexamplestyle, name={\ding{46} Note }, unnumbered ]{note} Is there a way ...
2
votes
0answers
72 views

How do I get a definition and theorem environment like these?

I tried using the mdframed package but I failed, how can I get that output?
2
votes
0answers
152 views

Citation with MakeTextLowercase

Consider the following MWE: \documentclass{scrartcl} \usepackage{textcase} \usepackage{natbib} \begin{document} Some reference: \citet{ABC} Some other reference: \MakeTextLowercase{\citet{...
1
vote
0answers
47 views

Problem with beamer and pgf for shading, related to theorem environment

I'm having problems when using beamer document class with certain themes. For example, with Warsaw theme, I get these errors: ! Undefined control sequence. \pgfsys@vertshading ...rSpace \pgf@shading@...
1
vote
1answer
57 views

How to indent the text within a theorem?

I would like the text of a long theorem to be indented, so that the text of the second line starts exactly below the text of the first line (and not below the word "Theorem") like this: Theorem 1: ...
1
vote
0answers
36 views

How to define an environment for a boxed and named theorem?

The environment below gives a boxed theorem with normal font (non italic text). \documentclass[11pt]{article} \usepackage[tikz]{mdframed} \usepackage{amsthm} \newtheorem{thm}{Theorem}[section] \...
1
vote
0answers
53 views

How to get rid of widow in List of theorems

In my PhD thesis I have 31 definitions in my List of Definitions. The last definition does not fit on the page, and becomes a widow on the next page. How can I get one or more definitions to be moved ...
1
vote
0answers
54 views

Tcbtheorem with crosslinking

I had created a document with problems. Some feature I implemented is a click on the problem number, which leads to the answer at the end of the document and vice versa (look MWE). My ...
1
vote
0answers
85 views

How to change the style of a theorem at LyX?

As a continue to this question - Why the amstools doesn't work here? - I think to ask it from a different view: I'm using this at Lyx and I want to change the style of the theorems like here: ...
1
vote
1answer
154 views

Recall an hypothesis

I actually started to use Latex in order to prepare better works. After that, there is a problem. This is my code actually: Determine Hyp 1 and 2 \newtheorem{hypothesis}{Hypothesis} \begin{...
1
vote
0answers
82 views

adding custom entries to LyX Outline: Table of Contents

My question is about LyX and not LaTeX, but the answer will affect how I should format my LaTeX. I rely on the LyX "Table of Contents" tab in the Outline side panel to quickly find section(s) or even ...
1
vote
0answers
90 views

Indentation and fonts conflict in theorem environment with amsbook

I'm using amsbook package but don't like the indentation at the beginning of theorems and proofs environments. I've tried to the the solution proposed here, and it works with respect to indents, ...
1
vote
0answers
143 views

Restate theorem text within section without “Theorem X” part

I would like to restate a theorem within a section, like: \documentclass{article} \usepackage{thmtools} \usepackage{thm-restate} \declaretheorem{theorem} \begin{document} \begin{restatable}{theorem}...
1
vote
0answers
49 views

How can I insert a symbol when a definition or an example or a sentence finish?

I searched the solution. I tried the declaretheorem command but my TeXstudio couldn't read it.
1
vote
0answers
43 views

Is it possible to decorate the descriptive title text of a theorem by enclosing it within a TikZ node?

Using \newtcbtheorem (tcolorbox), is it possible to decorate the descriptive title text of a theorem by enclosing it within a tikz node such as starburst or cloud? Sorry, there is no MWE as I could ...
1
vote
0answers
396 views

Wrap text around a figure inside a theorem environment in a poster

I'd like to put a figure inside a proof in a poster. But if I do so, and if I wrap the text around the picture or a table, the picture is send away from the text. I have based on this question, but ...
1
vote
0answers
335 views

Numbering of sections, subsections, subsections, and all theorem-like environments in the dictionary order

I would like the numbering of sections, subsections, subsections, and all theorem-like environments to be in the strict dictionary order. Moreover, the number of a theorem-like environment contained ...
1
vote
0answers
409 views

nopagebreak between rule and custom theorem env

I'm making a custom theorem environment. Here's a minimal example of my problem, with some filler text borrowed from the GPL: \documentclass{scrbook} \usepackage[dvipsnames]{xcolor} \usepackage{...
0
votes
0answers
17 views

Write 'Remark' in bold

I want to put in bold, 'Remark' using the following: \newtheorem{remark}{Remark} I am referring this but, it doesn't give me bold Remark: Not numbering Remark
0
votes
0answers
18 views

How remove parentheses and extra indent for named theorems in list of theorems?

The output from \listoftheorems in the following MWE has unwanted parentheses around the names of namedtheorem theorem-like environments and extra indentation there, too. How can the parentheses and ...
0
votes
0answers
12 views

Fix capitalization in reference to named theorem

Common practice in mathematical writing is that names of theorems (e.g., "fundamental theorem of calculus") are not capitalized when referred to in the body of the text. However, if such a name is ...
0
votes
1answer
44 views

How to add theorem numbers to footers using fancyhdr?

I have to add the theorem numbers to the footer using the fancyhdr package. It works fine, if I only add the last theorem number that is mentioned on that page (see example below). However, I would ...
0
votes
0answers
31 views

How do you make different theoremstyle

When preparing some manuscript, I noticed it is required that theorem, definition and remark have different formats. vi) Theorems etc. The words “Theorem”, “Lemma”, “Corollary”, “Proposition” and ...
0
votes
1answer
26 views

Theorem name and number

I want a code that can provide a link (ref) to a theorem with text that follow those conditions: If the theorem have a name (like \begin{theorem}[name]\end{theprem}), the text will be name Theorem. ...
0
votes
1answer
27 views

cleveref: How reference several items in an unnumbered theorem-like environment?

I want the output from the command \cref{prob:third-problem,prob:fourth-problem} on the first line of the content of the first chapter — the one whose output (with two ??s) is marked in the ...
0
votes
0answers
33 views

Wrong reference after resetting the counter of Theorems

I reset the theorem counter in every chapter by \setcounter{theorem}{0}. All theorems are labeled by unique names. By using, for example, \ref{theoremchapter5number1}, the number that is displayed is ...
0
votes
0answers
33 views

Why isn't \def working?

I just learned about the "amsthm" package and I am trying to learn how to use it. As I understand it this package already has some predefined environments such as "def", but I can make new ...
0
votes
0answers
29 views

Normal text in Theorem?

How do I write normal text just for a small portion in the Theorem environment? Ive tried \text{} and nothing. Any suggestions?
0
votes
0answers
38 views

Change the font size of the word “Theorem”

What should I do if I want to change the font size of the word "Theorem" but not of the body of the theorem? It doesn't seem that \newtheoremstyle has a parameter for this. It is probably a rather ...
0
votes
0answers
32 views

No vertical spacing between Theorems in Beamer

How to set no vertical spacing between Theorems in Beamer? Since the following code produce some vertical spacing above and below each theorem. \documentclass{beamer} \usetheme{Berlin} \begin{...
0
votes
0answers
9 views

Change reference behaviour of newlist depending on theorem environment

I am using ntheorem and cleveref, and I want to reference enumerate environments inside theorems, like the following: \documentclass{article} \usepackage{ntheorem, cleveref, enumitem} % Define ...
0
votes
1answer
37 views

Restate Theorem with given theorem setup

I am given the follwoing theorem setup, which I have to use. \numberwithin{equation}{chapter} \newtheorem{theorem}{Theorem}[chapter] \newtheorem{definition}[theorem]{Definition} \newtheorem{...
0
votes
0answers
38 views

How to cite a result from a particular paper in a desired manner?

I want to mention a theorem from a paper. I am using the \cite reference style. I used the following code(WinEdt Latex): We have following lemma $\cite{singh1}$ to find $**************************$. ...
0
votes
0answers
89 views

How to split theorem proofs into numbered parts?

In theorem proofs, I would like to use numbered parts. For example, Theorem 1. Blabla. Proof. Part 1. blabla Part 1.1. Blabla Part 2 Part 2.1 Part 2.2 This is ...
0
votes
0answers
230 views

Theorem/Definition/Corollary format (font and final symbol)

I am writing my thesis and I am using a template that has stuff like: % Theorem definition \newtheorem{theorem}{Theorem} \counterwithin{theorem}{chapter} for a bunch of environments (corollary, ...
0
votes
0answers
71 views

Updating theorem number in tex file

I honestly do not know how to search for this feature. Recently, I had an experience with skylatex for proofreading. One of the features I really enjoyed was that once I compiled my source file, the ...
0
votes
0answers
261 views

Theorem environment in beamer poster not working correctly

I am trying to get a theorem inside an alert block to have the same background color as the alert block. I have seen other discussions of this and attempted those solutions, i.e., adding the noamsthm ...
0
votes
0answers
105 views

\linebreak in theorem style

I would like something like this amsthm: \newtheoremstyle, headspace, \mbox{}, and lists but also with an indent after the new line, as if I wrote ~ and pressed enter twice. Ideally without ntheorem. ...
0
votes
0answers
90 views

Is there an equivalent to the cases environment for proofs?

The cases environment is nice for displaying equations with multiple cases and short descriptions, but it is awkward for displaying proofs with multi-paragraph cases. Is there an equivalent set of ...
0
votes
0answers
52 views

Text in equations in the statement of a theorem

I have defined the new command ord by \newcommand{\ord}[2]{\text{ord}_{#1}(#2)} This works well normally, giving me ord_p(a) for \ord{p}{a}, which is what I want. However, when I am in theorem mode, ...
0
votes
0answers
274 views

Plural cref to theorem-like environment, singular cref to enumerate item inside it

I have a theorem-like environment, examples that always will include an enumerate within its body. Using cleveref, how can I refer to the entire environment (i.e., all the enumerated items) with ...
0
votes
0answers
159 views

Custom theorem title style

I have been trying everything to get my theorems to look like this: The best I could do was defining \usepackage{amsthm} \theoremstyle{definition} \newtheorem{hypo}{Hypomnema} in the preamble and ...
0
votes
0answers
496 views

Avoiding pagebreak after newline in theorem

This might be of relevance: Theorem environment - line break after label pagebreak and amsmath theorem environment issue Avoid page break in theorem Situation I used the information provided in ...