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.

Filter by
Sorted by
Tagged with
0
votes
2answers
125 views

Is there a way to know what is the vertical space that LaTeX is leaving before and after a theorem?

I would like to know if there's some code I can enter in order to find what is the vertical space (in cm or pt) that LaTeX is leaving before and after a theorem. I'm using \documentclass[12pt]{...
0
votes
1answer
80 views

Is it possible to attach a label to a theorem so it can be cited later?

I want to know if it's possible to add some sort of label to a theorem such that I can cite it in the future. I know I can do this by writing explicitly the theorem's number every time I need it, but ...
0
votes
1answer
401 views

How to define numbered theorem, definition at ConTeXt ?(ConTeXt)

I have problem about define numbered like theorem, definition, corrollary etc at ConTeXt ? You can see like this my screenshot and my code (sorry, i copy and paste from other document) : and my ...
0
votes
0answers
27 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
29 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
26 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
27 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
1answer
38 views

Label and sublabel for theorem

In my text file, I am using a theorem environment (from the amsthm package), that contains two parts (for two different cases). The theorem is often referenced as a whole, so I need a global label, ...
0
votes
0answers
34 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
27 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
1answer
30 views

Hanging indent in an amsthm theoremstyle [duplicate]

I'm aiming to have a theoremstyle which has hanging indentation, where all lines after the first line are indented by some amount of space. I've searched for previous answers to similar questions, but ...
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
12 views

Re-calling/re-printing a theorem from an external document [duplicate]

For a manuscript I need to include theorem proofs as supplementary material. So I mention the theorem in the main file and I need to re-print the theorem in the supplementary material with the same ...
0
votes
1answer
33 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
2answers
64 views

TeXstudio generates “plain text” when using Build&View (Debian+XFCE)

I saw this closed question and I'm experienceing something similar: for .tex documents, when I press the f5 key, which triggers the macro "Build and view", I get an output .pdf file that is treated by ...
0
votes
0answers
26 views

Extra space in Theorems', Lemmas', etc. title [duplicate]

I am using the following command to include a title (e.g. a citation) as the title of my lemma, \begin{lemma}[\cite{Mieghem11}] This is my lemma ... \end{lemma} but I'm getting an extra space ...
0
votes
0answers
43 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
77 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
216 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
1answer
99 views

How to have consecutive numbering of Theorems, definitions and so on using thmtools [closed]

How can I make the same numeration regardless it is a remark like Theorem or a definition like Theorem or any other declaredtheorem. This is what I have: \usepackage{amsthm} \usepackage{thmtools} \...
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
237 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
26 views

List the theorems according to chapter [duplicate]

I'm writing an article and eating numbering theorems according to the chapter, when I use \newtheorem ... elias numar with 1,2,3 ... How do I number with 1.1, 1.2, 1.3 ... as far as I want and from ...
0
votes
0answers
161 views

How to make “Theorem 1” and not “Theorem 0.1” [duplicate]

It includes the command \newtheorem{teo}{Theorem}[section] in my code, but theorem 0.1 appears when I do \begin{teo}, how to change?
0
votes
0answers
45 views

Create own commands for mathematical article. (E.g. Theorem, Proof, Colloral etc.) [duplicate]

si I'd like to have something like: Theorem 1.1 -----This is some nice Theorem -----Very nice indeed Whereas ----- are white spaces. I'll have several such "blocks", like e.g. "Theorem"; "...
0
votes
0answers
99 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
89 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
256 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
1answer
880 views

Undefined control sequence with ntheorem and shaded theorems

I am working with ntheorem and have the following definition of a shaded theorem: \theoremclass{Theorem} \theoremstyle{break} \shadecolor{red} \def\theoremframecommand{% \psshadowbox[fillstyle=solid,...
0
votes
0answers
147 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
18 views

Theorem does not work after MikTeX update; no counter defined [duplicate]

The following stopped working after I updated MikTeX today: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{definition_}[equation]{...
0
votes
1answer
200 views

Theorem numbering as subsections and automatic solutions

I have a problem environment where the counter is coupled to the subsection counter. However this doesn't work with automatic solutions. I tried to couple the solutions counter to the subsections as ...
0
votes
0answers
467 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 ...
0
votes
1answer
116 views

mdframed: bug (with roundcorner) when a style for theorem is used within an environment without topline, rightline, etc

When a style for theorem is used within an environment and that this environment a line but topline=false, rightline=false, etc. then some attributes of the theorem are not used. Here, an MWE for ...
0
votes
0answers
50 views

Theorem and lemma and proposition numberings with the numbers first [duplicate]

If one considers the following MWE one sees that theorems and lemmas have their number as a suffix: \documentclass[fleqn]{scrartcl} \setkomafont{disposition}{\normalfont\bfseries} \makeatletter\let\...
0
votes
0answers
44 views

Break a large theorem using mdframed on beamer [duplicate]

I am using mdframed to write theorems and I've been dealing with this theorem that is quite long and hao 4 equations in it. I have tried using [allowframebreaks] and using \framebreak in a specific ...
0
votes
0answers
47 views

How does \newtheorem work? [duplicate]

I have a large .cls file I'm working with, so I don't know that I can provide a MSE, but here's my question. In my code I have: \theoremstyle{plain} \newtheorem*{theorem}{Theorem} \newtheorem*{...
0
votes
0answers
101 views

Theorem style and Design [duplicate]

I have seen in a few books a style for theorems of the form So what I want ideally is a the theorem title at the top and then the whole theorem enclosed in a box. The shadow is not needed but would ...
0
votes
1answer
668 views

Customizing theorem list

I use theorems a lot, and make theorem lists. Here is a minimal theorem example with thmtools: \documentclass[a4paper]{report} \usepackage{amsthm,thmtools,amsmath,amssymb,amsfonts} \newtheorem{teor}{...
0
votes
1answer
136 views

cleveref, ntheorem and lj-igpl

The cleveref package doesn't work properly with the lj-igpl package. There are many discussions about cleveref, however, none of them solves my problem. I am using the ntheorem package as well, but ...
0
votes
0answers
139 views

ntheorem vs. amsthm [duplicate]

As far as i know, these are alternative packages for playing with theorem-like environments. What do you choose and why? What should be the de facto standard? Regarding the same topic, are you able ...
0
votes
0answers
67 views

Theorem numbering error [duplicate]

Possible Duplicate: Resetting theorem counters: \sections and (missing) \subsections I have the following in the preamble: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[latin2]{...
-1
votes
1answer
62 views

Formatting help

I am having a problem with parts being italicized that aren't supposed to be, and am struggling to make the list both line up as in start from the same point on the left. Trying to figure out how to ...
-3
votes
1answer
407 views

How to insert picture here?

I want text to flow picture, as it is in the book: And with advice of @Johannes_B I did it with help of minipage, but It doesn't suit me at all things. See this. First page of my document. Do you ...