Questions tagged [ntheorem]

A package for handling theorem-like environments.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

ntheorem and thmtools environment: “Missing numbers, treated as zero” [closed]

I'm using the packages ntheorem and thmtools to make pastelbox theorems, propositions,... (inspired from Evan Chen). However, when I create a definition like this way \begin{definition} [Laplacien ...
1
vote
1answer
76 views

How do I create the same type of grey box with 'newtcolorbox' as 'newmdtheoremenv'?

I wanna convert into using newtcolorbox instead of newmdtheoremv. Here I have a simple, indented, grey box: How do I achieve the same with newtcolorbox? How would I be able to adjust between having a ...
0
votes
2answers
33 views

Biometrika journal style file not getting along with TeXLive-2020

I cannot compile styleguide.tex in biometrika.zip (see https://academic.oup.com/biomet/pages/General_Instructions). Here is a MWE which leads to the same error message, though not sure yet that I've ...
1
vote
1answer
17 views

Hyperref problem with ntheorem theoremstyle{break}

I'd like to use the package hyperref together with ntheorem and its option \theoremstyle{break}, because I want to separate the title of a theorem from the theorem's content. My problem is that the ...
1
vote
1answer
33 views

Enable line breaks in captions of theorem environment

Normally, captions of a theorem-like environment are not broken across lines, because they are put into the argument of \item by the default styles. If one has long captions and a narrow text width ...
0
votes
1answer
27 views

Can tcolorbox be integrated with ntheorem?

Can tcolorbox be integrated with ntheorem? I.e. with the command \newtcbtheorem it does not seem ntheorem recongizes this so that you can put endmarks and include in list of theorems.
0
votes
0answers
18 views

Triangle symbol to end remarks

Does anyone know how to fix this preamble in order to put triangle symbols at the end of remarks (oss, ossi and oss*) and examples (es,esi and es*) in LaTeX? \documentclass[a4paper,openright,twoside,...
4
votes
2answers
163 views

Need to create an unnumbered 'conclusion' environment

I need to write conclusion in my thesis without a number. I used \newtheorem{conclusion}{Conclusion} \begin{conclusion} \end{conclusion} and got as a output Conclusion 1; however, I need only ...
2
votes
1answer
136 views

Biometrika latex template reports error when using theorem-like environments

I need to use the biometrika (see stylistic requirements) tex template for writing a report. But using the theorem-like environments (even without any modification to the codes) in styleguide.tex ...
0
votes
0answers
17 views

ntheorem, thmmarks and leqno

I'm trying to use the leqno option along with the package ntheorem. But if I then allow the thmmarks option to get the Q.E.D. for proofs, it totally breaks the code. Once I remove the leqno it will ...
1
vote
0answers
33 views

Are there any shaded theorems usable with tufte sidenote/marginnote?

I would like to use tuftes sidenote and marginnote commands. Is there any way to use them in combination with shaded theorems? I tried tcolorbox and mdframed, but both seem to be problematic. The ...
0
votes
2answers
62 views

How to make text normal and not italic in frame?

How can you make the text normal in the frame below and not italic? \documentclass[a4paper]{article} \usepackage{mdframed} \usepackage{ntheorem} \definecolor{superlightred}{HTML}{F5F5F5} \...
4
votes
1answer
57 views

ntheorem: Set normalfont to Theorem-Note

What is the key to set normalfont to the theorem-note and its brackets and its punct? \documentclass{scrreprt} \usepackage{ntheorem} \theoremseparator{.} \theorembodyfont{\upshape} %\...
2
votes
1answer
50 views

ntheorem with thmmarks and standard options fails when thebibliography is empty

When using an empty thebibliography environment, LaTeX normally warns, but goes on typesetting the document. However, it considers the following example as an error: “! LaTeX Error: Something's wrong--...
2
votes
1answer
51 views

How to fix an odd interaction between the tabularx and ntheorem packages?

After posting this answer to the query How to increase the width of one column and decrease the width of the other one by the same length?, I thought about how to generalize (and simplify) the OP's ...
0
votes
0answers
21 views

ntheorem counters and sub-counters without any section divisions

I'm writing an academic article response memo in LaTeX and would like to create counters for each reviewer and sub-counters for each of their comments, e.g.: Reviewer 1.1 (Problem X): Reviewer ...
2
votes
2answers
182 views

LuaLaTeX, ntheorem, unicode-math and Libertinus: Math in theorem header loads Computer Modern

Consider this MWE and compile it with LuaLaTex: \documentclass{article} \usepackage{libertinus} \usepackage{ntheorem} \theoremstyle{plain} \theoremheaderfont{\normalfont\bfseries} \newtheorem{...
1
vote
1answer
25 views

Weird problem with ntheorem resulting from some particular combination of packages

The following problem arose in a larger document, which I stripped down to the following MWE. Let me stress that it really is a MWE – changing any line makes it work. Unfortunately I want to use all ...
0
votes
1answer
114 views

numbers at the beginning in ntheorem

How can I get ntheorem (\usepackage{ntheorem})to write 1.7 Theorem instead of Theorem 1.7 ? I thought that was easy enough, but can't find anything with google.
0
votes
2answers
73 views

Using ntheorem with amsbook

I'm working with an amsbook document, and I want to use the ntheorem package. This is unsurprisingly causing a complaint with the amsthm package implicitly loaded for the amsbook documentclass. There'...
1
vote
0answers
31 views

Hyperref'ing definitions without having to navigate back like in wikipedia

I am currently typing up lecture notes and whenever a import term comes up I place hyperref to it's definition like so: \hyperref[defn:markovChain]{Markov-chain} where I am using the ntheorem ...
0
votes
2answers
134 views

ntheorem: Framing environment with vertical lines on both the left and right sides. Help with right side

When I write maths in LaTeX, I put it into a custom ntheorem environment called outlined, that gives it a grey line on the left. outlined is defined as: \def\theoremframecommand{{}{\color{gray!50}\...
2
votes
1answer
93 views

\NAME equivalent for ntheorem?

I am trying to color only the NUMBER part of my theorems and corollaries. After some fiddling I was able to produce the following image which I am almost happy with In the code below I have the line ...
0
votes
0answers
41 views

I want to detect an order placed at the beginning of each theorem

I want to detect an order placed at the beginning of each theorem. \documentclass{article} \usepackage{ifthen,ntheorem} \newtheorem{ex}{Exam} \begin{document} \begin{ex} \LaTeX{} There is the LaTeX ...
0
votes
1answer
83 views

Package 'thm-restate' breaks switching of theorem styles of 'ntheorem'

I use ntheorem and define two theorem-like environments ("Theorem" and "Lemma") that share the same counter which is reset for every section. Moreover I have a proof-environment that has no counter at ...
2
votes
1answer
43 views

Line break in starred ntheorem header

I came across this question that was posted before and have been using the solution for a while. However, I can't seem to get the same thing to work with starred environments. I am aware that long ...
0
votes
0answers
54 views

ntheorem and LyX (with amsmath)

Recently, I tried to use the ntheorem package with LyX and amsmath, but when compiling (pdflatex format) it complains: "! Package ntheorem Error: Theorem style plain already defined." When exporting ...
3
votes
1answer
109 views

Extend theorem header with title by citation

How can I redefine the theorem style, so that I can provide two "optional" arguments (I'm fine with using \begin{Definition}[title]{} if no citation is wanted.) I guess I'm quite flexible with the ...
1
vote
1answer
92 views

Line Break in Title of ntheorem

If I have a theorem or lemma or example, I want it to be split in two rows and not run into the margin and of the page. How can I achieve that? MWE \documentclass{article} \usepackage{framed,amsmath,...
1
vote
1answer
105 views

Ntheorem: Definitions rendered in italics despite \theoremstyle{definition}

I am using ntheorem. The text in my theorems is showing up in italics as expected. However, the text in my definitions is also italicized and it should not be. I have used the \theoremstyle{...
1
vote
1answer
57 views

Theorem titles in outer margins (even / odd pages)

I would like theorem / definition / etc. labels to appear in the outer page margin (taking even and odd pages into account). First, I tried to use the thmtools package (code and image below). However, ...
0
votes
1answer
65 views

Missing endmarks with ntheorem when ending with a formula

MWE \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage[thmmarks]{ntheorem} % proof \theoremstyle{plain} \theoremheaderfont{\normalfont\bfseries} \theoremprework{\...
4
votes
2answers
85 views

ntheorem Endmark On Line Alone Doesn't Flush Right

ntheorem seems to successfully handle every possible endmark placement EXCEPT when it's placed on a line alone. I noticed the issue following a list so I included it in the MWE. Also I'm ...
2
votes
1answer
79 views

Advanced Theorems List from ntheorem Documentation throws errors

I have defined my theorems as follows \documentclass[a4paper,twoside]{article} \usepackage{amsmath,amsfonts,mathtools,framed} \usepackage{enumitem} % einfacher Nummerierung verändern \usepackage{...
1
vote
1answer
154 views

Problem with list theorems and ntheorem. Clash with hyperref?

I have defined my theorems as follows \documentclass[a4paper,twoside]{article} \usepackage{amsmath,amsfonts,mathtools,framed} \usepackage{enumitem} % einfacher Nummerierung verändern \usepackage{...
0
votes
1answer
76 views

How to get 4 different theorem environments to be numbered consecutively in ntheorem?

I am working with the ntheorem package and a while back customized it. I would like my propositions, theorems, corollaries, and lemmas to be numbered as followed (for Chapter 1 - all of them ...
1
vote
0answers
58 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 ...
3
votes
1answer
113 views

Indented theorem and proof environemnts

I would like to be able to recreate the following theorem style, where the main body of a theorem/proof/definition etc. is indented by a variable amount. I would also like to end a theorem proof with ...
0
votes
1answer
77 views

ntheorem + showonlyrefs

I like the showonlyrefs option provided by mathtools. I also would like to use ntheorem. But they seem difficult to use together. Applying the various recommendations in the related manuals (including ...
2
votes
1answer
89 views

Eliminating extra vertical space inside theorem environment and enumerate

A friend and I are writing an Analysis book. We are using ntheorem and many times enumerate inside of various custom theorem style environments. Each time I put enumerate inside any of our theorem ...
1
vote
1answer
219 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
78 views

Indentation in ntheorem with inserted picture

My question is additional to Wrapping about of a tikzpicture placed between two theorem-environments. As one can see from CTAN:Text flow, the method of wrapping figure inside theorem-like (lists,...) ...
2
votes
1answer
216 views

Wrapping about of a tikzpicture placed between two theorem-environments

How to place tikzpicture inside theorem environments with wrapping? I found many decisions with cutwin package. But the decisions concern to the wrapping inside own theorem environment (besides, they ...
1
vote
0answers
698 views

Package ntheorem Error

After compiling this script: \documentclass[a4paper,10pt]{book} \usepackage[frenchb]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{amssymb,amsmath,...
1
vote
0answers
47 views

Definitions style [duplicate]

I need your help to get this style
1
vote
1answer
88 views

How to number theorems depending on whether there is a subsection

I am trying to typeset a exam subject with the same numbering as this document by Concours CentraleSupélec. Sections are numbered with Roman, subsections are numbered with Alph and questions are ...
2
votes
1answer
124 views

ntheorem Definition/Lemma/… ending with \dots results in no end-of-proof symbol

I would like to end ntheorem definition or proof with ellipsis. However, when I change the dot . in this MWE: \documentclass{article} \usepackage[standard,thmmarks]{ntheorem} \begin{document} \begin{...
5
votes
1answer
124 views

microtype/ntheorem: Protrusion not affecting headers of the theorems

I'm trying to switch to the ntheorem package (instead of amsthm) but I realized that headers of the theorems aren't protruded: \documentclass{article} \usepackage[activate={true, nocompatibility}, ...
1
vote
1answer
455 views

Missing QED symbol with proof and eqnarray environments in SIAM template

I can't seem to get consistent behavior with the proof environment and QED symbol in the latest SIAM document class, in particular with the eqnarray and equation environments. My MWE requires some ...
5
votes
1answer
188 views

Part of main text grabbed by watermark

I am using the solution presented in Q/A 132582 to produce a transparent foreground watermark. With success most of the time. But on some rare occasions, a part of the main text is embedded into the ...

1
2 3 4 5