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
1
vote
1answer
115 views

How can I remove rectangular brackets around definition optional title?

I am fairly new to latex, so i am using a "base" i got, to write my thesis in. At the beginning of the tex file, the following lines are placed, to define theorems and definitons: \newtheorem{theorem}...
1
vote
2answers
2k views

With ntheorem, thmmarks and no amsthm, defining the proof environment right

I'm using ntheorem with the thmmarks option but without the amsthm option (for reasons I won't go into). I would like to define the proof environment à la amsthm. Specifically, I want: To be able to ...
1
vote
1answer
88 views

Theorem header and *all* content on separate pages

I have in my paper a theorem-like environment which consists only of an enumerated list. It looks bad if I just type it in vanilla, so I add a $\,$ before the enumerate (see also enter link ...
1
vote
1answer
101 views

Issue Passing an Optional Argument through Theorem Name with thmtools [duplicate]

I am using thmtools to create theorems, and I sometimes want the theorem name to include math symbols. In this particular project, I have used xargs to create a command that uses an optional argument, ...
1
vote
1answer
56 views

How to insert a paragraph (which works only in the “ltxmdf” class) into a class “book” document?

I have the next document (in ltxmdf class ), which compiles perfectly (view image). I want put in a document book class. ¿is posibble?. I've already tried but get 4 errors. How do I change the ...
1
vote
1answer
71 views

Spacing problem after a list at the beginning of a theorem

In the following example, how (if possible) can one make the line after the fruits be formatted in the same way as the line after the vegetables in a "clean" way without moving the apple to ...
1
vote
1answer
402 views

How can I add this code in local layout in lyx

I want to add this code in local layout in lyx: \usepackage{multicol} \usepackage{etoolbox}%إطار النظريات \usepackage{blindtext}% \usepackage[theorems,skins,breakable]{tcolorbox}% %% \newtcbtheorem[...
1
vote
1answer
32 views

Latex stops referencing theorem environment

I'm resuming a project after some weeks. Now, when I reference some theorem, the result are that bored question marks (??). For theorems that already exists, refence to that works well, but ...
1
vote
1answer
332 views

Putting table in a theorem environment sends it to the very end of the document

I'd like to illustrate my \begin{example} \lipsum[2] \end{example} with a table yet adding the table to the environment sends it to the very end of the document: \documentclass{article} \usepackage{...
1
vote
1answer
174 views

Number of newtheorem overlaps with newtheorem in the Appendix

I have the following code: \documentclass[a4paper,12pt]{article} \renewcommand{\proofname}{\textbf{Beweis}} \newtheorem{Satz}{Satz}[section] \newtheorem{code}[Satz]{MATLAB-Code} \begin{document} \...
1
vote
1answer
389 views

Is it possible to make the body text in a proof environment a bold red instead of black?

Is it possible (using ntheorem) to change the default text colour of the proof environment (of course black) to a boldface red? I am typesetting an Analysis book, and a friend and I are looking [for ...
1
vote
1answer
157 views

extern lemma declaration

Is it possible to something like this: \begin{theorm} foo equal bar \end{theorem} \begin{proof} \extern{lemma-fu} With this, we will do … % A lot of text \end{proof} \begin{lemma} \label{lemma-...
1
vote
1answer
387 views

Issue with resetting theorem counter

I am using LyX to typeset a document. I wanted to use another theorem-like construct not available in amsthm. So I included it using LaTeX code. \newtheorem{discussion}{Discussion}[section] This ...
1
vote
1answer
410 views

RTL theorems with ntheorem and xetex have separator in wrong place

(This is a split-off from another RTL ntheorem issue.) When you have a theorem in RTL language text (e.g. Hebrew), using XeTeX+polyglossia(+bidi)+ntheorem, the theorem separator comes out before, ...
1
vote
1answer
432 views

\theoremindent adds space to left side when used with RTL languages

Trying to use ntheorem's \theoremindent seems to indent the left side rather than the right side when used with polyglossia and right-to-left languages: \documentclass{article} \usepackage{ntheorem} ...
1
vote
0answers
25 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
51 views

different types of exercises, theorems etc [closed]

I need to categorize theorems like School Book Theorem, Important Theorem, Interesting Theorem etc with different numbering. The same at the exercises. How can I do it?
1
vote
0answers
51 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
22 views

How to get correct 'nameinlink' in 'cleveref' when using 'newtheoremstyle' and custom numbering for lemmas and similar environments? [duplicate]

I am using slightly customized theorem styles and have defined the theorem environment to follow the section numbering and lemmas, propositions, and conjectures environments to follow the theorem ...
1
vote
0answers
83 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
250 views

Citation inside comments of Theorem leads to `! Argument of \@citex has an extra }.` [duplicate]

I am trying to obtain an output such as Theorem 4 (see [1, Theorem 12]). Statement of the theorem. Separately, the commands \begin{Theorem}[comments]... and \cite[comments]{refname} work fine, ...
1
vote
1answer
151 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
35 views

Help on theorem environment [closed]

Could someone help me create these (theorem) environments with latex, with support for RTL language please?
1
vote
0answers
79 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
95 views

Numbering Corollaries [closed]

I am trying to number corollaries of a theorem in a specific way. For example, if the last theorem was Theorem 7, I would like that a corollary of this theorem appears as Corollary 7.1. Is there a ...
1
vote
0answers
47 views

Definitions style [duplicate]

I need your help to get this style
1
vote
2answers
138 views

How to number Theorems, Lemmas… by using \newcounter with mdframed

I need to show the numbering of Theorems, Lemmas,... as follows: Theorem 3.5.2 (Theorem 2 in section 5 in chapter 3). Fore more information, you can visit Fancy boxes for theorem, lemma, and proof ...
1
vote
0answers
85 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
135 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
1answer
327 views

Destination with the same identifier name {xtheorem.1}

I have the warning destination with the same identifier (name{xtheorem.1}) has been already used, duplicate ignored \relax l.31 \begin{definition}[DefinitionInChapterTwo] Although there are ...
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
185 views

Frame break for long proofs and theorems [duplicate]

I have succeeded in fitting my long theorem and its proof on multiple broken frames of the same environment. However I want to shrink my frames for better display. How can I use \begin{frame}[...
1
vote
0answers
42 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
1answer
435 views

No new line for theorem in enumerate

I'm writing a solution to my assignment. When I put my theorem \begin{thm}\end{thm} after \item, there will be a new line after item number in enumeration. How to put the theorem right after the item ...
1
vote
0answers
385 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
121 views

How do I number an assumption with a prime (')? [duplicate]

I would like to number assumptions in my document as Assumption 1. Something. Assumption 2. Something else. Assumption 2'. An alternative to Assumption 2. Assumption 3. Some other ...
1
vote
2answers
216 views

Place theorem number *before* theorem label in page header?

In the accepted answer to Put current theorem-like item's name/number in header, it is shown how to put in the page's header the label of the (last-on-page) theorem, lemma, etc. For example, if ...
1
vote
0answers
71 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 "...
1
vote
0answers
49 views

How to stop \begin creating a line break [closed]

Basically I've created a math theorem called definition At header of the document, declared as \newtheorem{defi}{Definition}[section] Now i've laid out some text and stuff basically what I have ...
1
vote
0answers
332 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
32 views

Including Lemmas into Theorems [closed]

I want to include some lemmas inside the proof of a theorem in a way that makes clear that those lemmas are part of the proof and not independent (e.g. smaller size of letters etc). Are there any ways ...
1
vote
1answer
562 views

Manual numbering of Theorems [duplicate]

I have a setup where theorems are numbered automatically. Now I want a single theorem be numbered with special number, e.g. after Theorem 2 write Theorem 2'. Is it possible?
1
vote
1answer
132 views

Using “theorem”-like numbering for non-theorem entries

This is perhaps a 2-parter in that 1) I'd like to have certain equations numbered using the theorem counter (and its associated "style") rather than that built into \begin{equation}. Per MWE, equation ...
1
vote
1answer
98 views

Fraction in first line of Example overlaps onto Example header

I'm writing an example where the question says to find what the Legendre symbol of a few numbers are equal to. The theorem style I'm using is 'nonumberbreak' as I like to have my examples start on ...
1
vote
0answers
149 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
27 views

Why do I get an “extra }” error when using a default argument in a theorem name? [duplicate]

Consider the following latex code: \documentclass{article} \usepackage{amssymb} \usepackage{amsthm} \newtheorem{thm}{Theorem} \newcommand{\Zn}[1][n]{\mathbb{Z}_{#1}} \begin{document} $\Zn[p]$ \...
1
vote
1answer
160 views

numbering theorem in sections of an article [closed]

I am writing an article in WinEdt (Windows 7), but it's creating problem in numbering the theorems in subsections. My article consists of different sections. In section 3 it starts with a Lemma and by ...
1
vote
1answer
606 views

Table/Summary of Theorems and Definitions

I was wondering if there are any packages out there that will automatically print out a table or summary of the theorems and definitions in my document. I do NOT want a list of the theorems and ...
1
vote
0answers
34 views

How to put an ending sign within equation for theorem-alike environments? [duplicate]

Thanks to an answer to my question asked here, I used the following codes to generate for each theorem-alike environment exactly one square symbol as the ending sign: \documentclass[12pt]{amsart} \...