Questions tagged [ntheorem]

A package for handling theorem-like environments.

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

Indent in the first paragraph in the break style of ntheorem

I'm using ntheorem package to make my template. When I use break style, I found that the paragraph below the header doesn't have an indent, like this \documentclass{article} \usepackage{ntheorem} \...
0
votes
0answers
42 views

What is the problem with new theorem environments?

I have several theorem-like environments ... \usepackage{ntheorem} \theorembodyfont{\rmfamily\slshape} \theoremstyle{plain} \newtheorem{Theorem}{Теорема} \newtheorem{Corollary}{Следствие} \newtheorem{...
1
vote
2answers
50 views

How to restate theorems with new number?

\documentclass[final,a4paper,11pt,oneside,openany]{memoir} \usepackage[naustrian]{babel} \usepackage[thmmarks]{ntheorem} \usepackage{thm-restate} \newcounter{reqcounter} \newtheorem{RQ}[reqcounter]{...
3
votes
2answers
61 views

ntheorem - indentation at beginning of chapter

I am writing a document using the book class, which, by design, does not indent the first line of the chapter/section/subsection. I noticed that if I start a chapter with a framed theorem then, for ...
1
vote
0answers
9 views

ntheorem and psframebox - bad box splitting

I am having some troubles with the typesetting of boxed theorems. I use ntheorem to typeset theorems in a colored frame, defining them via the \newshadedtheorem macro. The problem is that sometimes, ...
0
votes
1answer
20 views

Theorem numbering as subscript

The following thread gives "Hypothesis 1 (H_1)" as output. Is it possible to just have "H_1" instead? The subscript is needed. Is it possible for ntheorem to number each instance ...
0
votes
1answer
32 views

Nameref refers to section title instead of theorem title

I've seen similar issue here, but the answer was posted in 2011, stating that it was due to the fact that the used nameref version was obsolete. I have to use Overleaf for my document and I don't have ...
0
votes
1answer
60 views

ntheorem: Manually placing end-of-proof symbol in an equation

I would like to use ntheorem to produce theorems and proofs. I've got an end-of-proof symbol that works ok but, in the case of a trivial result, I'd like to place the symbol in the theorem itself. I'...
1
vote
1answer
50 views

Why does the “lifted” ntheorem proof environment sometimes fail to add the QED symbol?

Reading: ntheorem with the [amsthm] option ignores styling of a theorem environment I adopted the suggested proof environment for ntheorem without the amsmath option. I also made sure to add the ...
1
vote
0answers
34 views

How to have ntheorem with option thmarks and <alert@> beamer command working together?

I am puzzled by the interaction between the package \usepackage[thmarks]{ntheorem} and the command <alert> from beamer class. Indeed, in a recent question it has been shown that the interaction ...
1
vote
1answer
64 views

How to use ntheorem and beamer together?

I want to create a presentation with beamer. In it I want to include the package ntheorem. When I do it, I get the following error message: ! LaTeX Error: \begin{altenv} on input line 40 ended by \...
1
vote
1answer
32 views

May the second column in a row of theorems be aligned

Is there a way to align the second column of universalized disjunctions in the following row of theorem like environments? \usepackage{amsmath, amssymb, amsthm} \newtheoremstyle{exercise} {\topsep} ...
2
votes
1answer
117 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 ...
2
votes
2answers
330 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
24 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
41 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
95 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
34 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
219 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 ...
3
votes
1answer
416 views

Biometrika latex template reports error when using theorem-like environments [duplicate]

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 ...
1
vote
0answers
45 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
3answers
175 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
76 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
57 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--...
4
votes
1answer
68 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
29 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
283 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
150 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
85 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
32 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
245 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
127 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
43 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
115 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
49 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
86 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
161 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
124 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
194 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
72 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
83 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
111 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
90 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
220 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
90 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
63 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
135 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
98 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
123 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
2 3 4 5