Questions tagged [ntheorem]

A package for handling theorem-like environments.

Filter by
Sorted by
Tagged with
4 votes
1 answer
116 views

Package amsmath Error: Multiple \labels

I have seen that this subject was discussed a couple of times, but often the reason was like "oh, I used align* with \label". In my case it is a bit different, here is a minimal example \...
Markus Linsenmann's user avatar
1 vote
1 answer
33 views

Force indenting at beginning of theorem environment

When I do my math homework, I use a theorem environment with custom theorem style via the amsthm package to enumerate my problems. I would like the first paragraph inside the theorem environment to be ...
August's user avatar
  • 23
2 votes
1 answer
94 views

different enumerate labels depending on surrounding environment

I want to use roman enumerate labels in theorems, and alphabetic labels in lists of examples: \documentclass{article} \usepackage{ntheorem} \usepackage{enumitem} \newtheorem{theorem}{Theorem} \...
user313032's user avatar
2 votes
2 answers
39 views

how to indent just first line in ntheorem package

I am writing a book and faced a problem with non-standard names of theorems and problems, which I solved with the help of the ntneorem package, but the standard indentation of the first line was ...
Fatima  Bogatyreva's user avatar
2 votes
0 answers
58 views

Error resulting from hyperref-cleveref-ntheorem interaction: No counter '[' defined

I am on a Linux system running TeX Live 2023 installed manually (not through the distro's repo), and up to date at the time of this writing (2023-04-21). The following short document has started ...
grobber's user avatar
  • 181
0 votes
1 answer
113 views

Conflict of pdfx (hyperref), ntheorem, and cleveref

Compiling the MWE \documentclass{book} \usepackage[x-1a1]{pdfx}% also loads hyperref \usepackage{amsmath} \usepackage[amsmath,amsthm,thref,thmmarks]{ntheorem} \usepackage{cleveref} \newtheorem{...
CampanIgnis's user avatar
  • 4,539
0 votes
0 answers
37 views

newenvironment with enviromentS (plural) inside

I'm trying to create an environment for a particular class (based on memoir) I'm doing. I followed this video (https://www.youtube.com/watch?v=r_DQnSXLHBc) besides Overleaf basic tutorials on creating ...
D.ClassMemoir's user avatar
3 votes
0 answers
54 views

Space before theorems using ntheorem and add-ons using mdframed

I've developed the attached framework for my mathematical developments using several inputs. Anyway, I have faced two inconveniences: I would like to add space before each theorem. I would like also ...
Luis Subirana's user avatar
1 vote
0 answers
28 views

A hook to add support for thmtool's notefont in ntheorem

I want to use ntheorem extended with thmtools. In the documentation of the latter, I read: notefont (Value: TEX code). Executed just before the note in the head is typeset, inside a group. Intended ...
sparusaurata's user avatar
1 vote
1 answer
57 views

Incompatibility of amsmath, ntheorem, and mathtools with option showonlyrefs

In the minimal example \documentclass{article} \usepackage{amsmath} \usepackage[amsmath,thmmarks]{ntheorem} \theoremsymbol{$\diamondsuit$} \newtheorem{defi}{Definition} \usepackage{mathtools} \...
user313032's user avatar
1 vote
1 answer
103 views

Is ntheorem[thref] truly incompatible with hyperref?

I was using the texlive version from Ubuntu's repos, but then started needing some features from the latest versions of some packages, so I replaced the repos' texlive with a new system from https://...
Daniel Diniz's user avatar
2 votes
1 answer
71 views

How to avoid typing \leavevmode before a citation macro that already starts with \leavevmode?

Control sequences with optional arguments inside optional arguments must be "hidden" with braces. Using the abntex2cite package to handle my citations, I often want to write: \begin{teor}[{\...
Daniel Diniz's user avatar
2 votes
1 answer
76 views

Unwanted space in the beginning of first line by ntheorem

How to avoid the space in the beginning of first line by ntheorem \documentclass[a4paper,10pt,openany,twoside]{scrbook} \usepackage[paperwidth=94mm,paperheight=50mm,margin=2mm,footskip=2mm,showframe ]...
sandu's user avatar
  • 7,910
2 votes
2 answers
1k views

How to write a null hypothesis using the ntheorem package

I have two hypotheses. One effect hypothesis (number 1), and a null hypothesis (number 2). How do I make the null hypothesis appear as Hypothesis 0 instead of Hypothesis 2? I.e. I want to change the ...
pheb's user avatar
  • 25
0 votes
1 answer
39 views

Change qedsymbol and font shape within a ntheorem framed environment

Good morning: After a lot of proofs changing variables and parameters as suggested in the documentation of ntheorem package and others, I'm not been able to replace the qedsymbol with \blacksquare and ...
Luis Subirana's user avatar
3 votes
1 answer
291 views

Why does my `lemma` environment has "Theorem" as a title?

I have written a macro \createEnvironment{lemma}{Lemma} that automatically creates several environments lemma, lemma1, lemma2, lemma3 with different styles and whose title should be Lemma. My problem ...
Colas's user avatar
  • 6,658
0 votes
1 answer
316 views

How to increase the space between a section/subsection title and a theorem

I would like to add some space between a theorem and the preceding line. I used titlesec and amsthm to customise the spacing but when the theorem is just after a subsection, the required spacing ...
Colas's user avatar
  • 6,658
4 votes
1 answer
54 views

package ntheorem seems not to obey the LaTeX-kernel's old protection mechanism

This question is related to my answer to the question Construct math super/sub-script from reference (\ref) with hyperref and cleveref being loaded: [...] In the example below this is done via ...
Ulrich Diez's user avatar
  • 27.5k
1 vote
0 answers
58 views

Section/theorem/definition headers in margin

I would like a style in which sectioning headers along with theorem/definitions are in the margin. I particularly like the style used in An Introduction to Kolmogorov Complexity and Its Applications (...
Jeffrey Goldberg's user avatar
0 votes
0 answers
53 views

How to produce the following theorem environment

See here and use the 'look inside feature.' If you scroll to see Theorem 1.1 (Uniformization Theorem), you will see that the theorem appears to be in a \quote environment. I wish to produce the same ...
user253822's user avatar
0 votes
0 answers
84 views

Indent entire theorem environment

I am looking not for a hanging indentation on a theorem/definition, but for an entire theorem/definition to be indented an amount \indent. Here is essentially what I am looking for (with 3pt replaced ...
user253822's user avatar
0 votes
0 answers
126 views

Precompiled preamble causing new errors with ntheorem

I'll start off by noting that I already made a post yesterday with a similar title and want to say that this is a new problem. Here's the link to my previous post if it helps provide any context. I ...
Joshua A's user avatar
1 vote
0 answers
41 views

Precompiled preamble causing issues with ntheorem [closed]

Whenever I compiled a file, it always took about 30 seconds, so I read up on using mylatexformat to precompile my packages. I have figured out how to do so and have stored my fmt file as /home/...
Joshua A's user avatar
1 vote
1 answer
58 views

Ergonomic restatable environment

I want to restate several results in a manuscript. Currently I use ntheorem and thm-restate with the restatable environment, but I am annoyed by how my source looks: \begin{restatable}{theorem}{...
Daniel Paleka's user avatar
3 votes
0 answers
85 views

ntheorem and hyperref at pagebreaks

It seems that hyperref and theorem do not cope together very well whenever a theorem happens to start at the beginning of a new page. Clicking a hyperlink to such a theorem leads to a jump to the end ...
midnighttex's user avatar
1 vote
1 answer
147 views

Changing number format in newmdtheoremenv or newtheorem

Using the mdframed package (with [frame-method=tikz]) I can create a new environment that resets every chapter with \newmdtheoremenv[<options>]{myenv}[<numberedlike>]{Sample}[chapter] The ...
nicholas's user avatar
0 votes
0 answers
77 views

Problem with ntheorem and minipage

I have a problem with ntheorem and minipage. If I use a minipage immediately after \begin{mytheorem}, the name of the theorem is inside the minipage and not placed where I would expect it to be. I ...
Didier's user avatar
  • 1,281
1 vote
1 answer
78 views

Flexible definition of Theorem/Satz and its reference not working correctly

I am trying to combine ntheorem, translations and cleveref to define a multilingual theorem environment that is called “Theorem” or “Satz” depending on the language but I am stuck with the following ...
Ronny's user avatar
  • 6,050
1 vote
2 answers
239 views

thref from ntheorem not working with hyperref

I want to use the extended reference features from ntheorem, but they seem to be not working with hyperref, even with the parameter hyperref for ntheorem. \documentclass[11pt,a4paper]{article} \...
Dennis1111's user avatar
0 votes
0 answers
48 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} \...
Syvshc's user avatar
  • 1,328
0 votes
0 answers
274 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{...
Nourless's user avatar
  • 111
1 vote
2 answers
156 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]{...
markus23's user avatar
  • 345
2 votes
2 answers
183 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 ...
Manlio's user avatar
  • 480
1 vote
0 answers
58 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, ...
Manlio's user avatar
  • 480
0 votes
1 answer
95 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 ...
Prithwiraj Mukherjee's user avatar
0 votes
1 answer
295 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 ...
Tristan Nemoz's user avatar
2 votes
1 answer
389 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'...
Martyn Quick's user avatar
1 vote
1 answer
140 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 ...
einpoklum's user avatar
  • 12.2k
2 votes
0 answers
122 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 ...
R. N's user avatar
  • 972
1 vote
1 answer
244 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 \...
R. N's user avatar
  • 972
1 vote
1 answer
36 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} ...
Frode Alfson Bjørdal's user avatar
2 votes
1 answer
634 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 ...
Robin Hellmers's user avatar
2 votes
2 answers
1k 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 ...
Wannabe Mathematician's user avatar
1 vote
1 answer
49 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 ...
bookofproofs's user avatar
2 votes
1 answer
277 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 ...
nagmat84's user avatar
  • 1,075
0 votes
1 answer
219 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.
helios321's user avatar
  • 101
0 votes
0 answers
81 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,...
Fede96's user avatar
  • 101
4 votes
2 answers
709 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 ...
Shoaib Assar's user avatar
4 votes
1 answer
1k 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 ...
trisct's user avatar
  • 207
1 vote
0 answers
75 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 ...
Manuel Schmidt's user avatar

1
2 3 4 5 6