Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
53 views

How to get \ref to write “Theorem 5” or “Lemma 5” Instead of just “5”?

I sometimes change something from "\begin{theorem}" to "\begin{lemma}" (I have my own commands: \newtheorem{theorem}{Theorem} and \newtheorem{lemma}{Lemma}). But if I just write \ref{theorem1}, then ...
1
vote
1answer
138 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{...
0
votes
1answer
29 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{...
3
votes
0answers
435 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
66 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
66 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
379 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, ...
1
vote
0answers
20 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
50 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
48 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
73 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
0answers
72 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
82 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
124 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
41 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
367 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
328 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
143 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
392 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
25 views

Question regarding a special “keyword”

I wold like to know how do I get that "preposition" in bold. Is there a special command? I've seen it written like "definition" also. Thanks in advance!
0
votes
0answers
21 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
31 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
26 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
8 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
0answers
42 views

theorem's title with footnote AND xr package

Note. This is not the usual problem with theorem's title with footnote. This is the special situation where additionally the package xr (or in my case xr-hyper) is used If I put a footnote in the ...
0
votes
0answers
34 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
71 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
210 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
64 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
225 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
97 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
87 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
51 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
253 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
146 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
460 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 ...