3
votes
2answers
86 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...
5
votes
0answers
65 views

How to see dependencies between theorems [duplicate]

I have a paper that uses \label for naming theorems, propositions and etc. We say that a theorem, proposition and etc X depends on the theorem, proposition and etc Y if Y is mentioned in the closest ...
0
votes
1answer
20 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 ...
2
votes
2answers
76 views

Referencing Definition by Name and Optional Argument

I have the following MWE: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \newtheorem*{definition}{Definition} \begin{document} \section{Section Definitions} ...
0
votes
1answer
34 views

LaTeX is truncating my theorem reference numbers. How do I correct this?

I will have a Theorem, Lemma or Corollary and it will be numbered, say for example, 2.2.3 ... Unfortunately, every reference back to ANY Theorem, Lemma or Corollary simply state 2.2 ... It seems to be ...
3
votes
1answer
81 views

Label in a ntheorem environment witout additional caption

I defined a new theorem with the ntheorem package. If i want to add a label to a certain theorem i get an error from the caption package. And referencing doesn't work. Package caption Warning: ...
2
votes
1answer
48 views

Reference to assumptions

Assumption 1. (i) something1, (ii) something2. I would like to refer to separate parts as 1(i) and 1(ii). Is there any way of doing it? I guess that I can use enumerate and three labels, namely, ...
6
votes
1answer
77 views

Theorem and lemma sharing counter with mdframed and cleveref

Problem Essentially I've got the same problem described in Cleveref with counters with same name: I've got theorems, lemmata and corollaries all sharing the same counter, and when referencing them ...
7
votes
2answers
145 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
6
votes
2answers
92 views

Getting the number of a chapter-numbered theorem but without the chapter number

Suppose in Chapter 3 I have Theorem 3.17. I need to get the "17", NOT the "3.17" which would readily be obtained using \label then \ref. How do i do that? Edit: (Probably a more relaxing condition): ...
7
votes
2answers
66 views

Problems with theoremref

I'm having some problems with the theoremref package. Basically, instead of giving me as output something like "Lemma 1.1.1", where "Lemma" is the name of the theorem, it gives me something like "lem ...
9
votes
1answer
159 views

Remove numbering of unreferenced theorems

Can theorems, lemmas, etc., be automatically displayed without numbers if not referenced (like \mathtoolsset{showonlyrefs} for equation tags)?
7
votes
2answers
70 views

Reference-able custom section numbering

I am writing some lecture notes from a class that I have on Monday, Wednesday, and Friday. What I would like to do is organize them by sections defined by the week and the day, e.g. 1M, 1W, 1F, 2M, ...
3
votes
1answer
53 views

Name referencing for arbitrary text?

In my TeX file I have a something like this: \newcommand{\head}[2]{ \textbf{#1 \imp:} \textit{#2}\\ } \newcommand{\definition}[1]{ \head{Definition}{#1} } \newcommand{\lemma}[1]{ \head{Lemma}{#1} } ...
5
votes
0answers
46 views

Repeat a Theorem [duplicate]

For my thesis I have to repeat my theorems, not just the number but the exact wording of the Theorems. I found the question How to repeat the content of a quote (e.g. introduction+conclusion) without ...
9
votes
1answer
645 views

How can I create a “Proof of Theorem x.xx” header for a proof environment?

In many papers in mathematics, the author states a theorem in somewhere and adds some explanations and perhaps some lemmas and later starts the proof with a phrase like "Proof of Theorem x.xx" (x's ...
5
votes
1answer
131 views

How to dynamically number theorems?

I am writing an introduction. I want to reference theorems and so on which come later. I want to do something like the following. \newtheorem*{thmcustom}[1]{Theorem #1} Then \begin{thmcustom}[3.2.1] ...
6
votes
2answers
117 views

How to get cleveref to treat separate theorem-types as one?

Introduction I'm using a somewhat complex theorem-environment setup which, perhaps, is finally getting me into trouble. I use memoir, cleveref and ntheorem. There is a global thmcounter that all ...
4
votes
1answer
304 views

Remove blank page between Acknowledgements and Table of Contents?

I get a blank page between “Acknowledgement” and “Table of contents”. How can I remove it? I used a template from somewhere. The preamble is as follows: \documentclass[openany,12pt]{ubthesis} ...
3
votes
2answers
213 views

cleveref doesn't use correct capitalized name if used with amsthm?

It seems that the cleveref package does not capitalize properly when referring to a newtheorem if both \crefname and \Crefname have been defined. Or is it just me? Here is my MWE: ...
3
votes
2answers
102 views

Reference entire title of a Theorem, not just its number

Say I have \begin{theorem}\label{thm:Fermat} This is a theorem about Fermat. \end{theorem} and the output is Theorem 5.2. This is a theorem about Fermat. Now I want to reference it by ...
2
votes
1answer
88 views

Referencing enumerated observations in proof

I am writing a rather complicated proof (graph theory/algorithmics), which contains a number of listed observations that are going to be referenced later in the course of the proof. The observations ...
2
votes
1answer
422 views

Defining cross-reference names for custom theorem environments in cleveref

I am concerned with the difference between this working example \documentclass{article} \usepackage{amsthm} \usepackage[capitalise]{cleveref} \newtheorem{thm}{Theorem} \begin{document} ...
6
votes
1answer
84 views

How to refer to the number of an item in an enumerate environment inside a theorem

I have something that looks like this: \usepackage{amsmath} \begin{document} \begin{thm} The following are true: \begin{enumerate} \item \label{foo} Foo \item \label{bar} Bar \item \label{baz} Baz ...
5
votes
2answers
121 views

Theorem/remark/proposition/etc tagging/labelling

I have been wondering this for years, and never really had so much trouble that I couldn't bear not to know, but now I think I'll just ask and see if anyone knows. It is common practice to label ...
4
votes
1answer
653 views

How do I reference in appendix a theorem given in the body?

I have a theorem given in the body text of a paper, say Theorem 2 with label {theorem-abc}. I would like to provide the proof of this theorem in the appendix. 1) How do I cross-reference this theorem ...
2
votes
1answer
154 views

using a restatable before it is stated

This question is related to the question at Recalling a theorem, which uses the thmtools and thm-restate packages and the restatable environment to define a theorem that can be re-stated later on. Is ...
1
vote
1answer
187 views

Alternative numbering for theorem

I am using thmtools as a front end to amsthm and I have a definition environment as follows. \declaretheorem[ style=mydefinitionstyle, name=Definition, numberwithin=chapter ]{definition} ...
4
votes
1answer
101 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
14
votes
3answers
596 views

Cleveref and named theorems

Is it possible with Cleverref to reference not only the number of an environment but the "name" (the thing that is passed to it in square brackets? In the following example I want to replace the line ...
3
votes
1answer
73 views

cleveref: \lcnamecref fails to work with theorem names that are not pre-defined

I'm using cleveref with the capitalise option, and I'd like to use the \lcnamecref command to give the name of one of my theorems in the text. But if this is not one of the theorem types pre-defined ...
8
votes
2answers
431 views

References to named theorems

I would like to know how to give theorem type environments names and then how to later reference them using those names. I was able to use this thread to create named theorems. However, this seems ...
5
votes
1answer
159 views

Using amsthm to number examples - how do I account for altered examples (i.e. 1', 1'', etc.)

I have sought long and hard for a solution to this and experimented with a combination of http://tex.stackexchange.com/a/43351 and http://tex.stackexchange.com/a/443, but could not get it to work. I ...
8
votes
2answers
342 views

wrong page with pageref if using thmtools

I don't know if the following issue is related to any other question already asked. My issue and minimal looks very simple. \documentclass{book} \usepackage{hyperref} \usepackage{amsthm} ...
3
votes
1answer
80 views

Check if macro argument has specific prefix

I'm writing a math paper, and I've got macros which take labels of theorems, corollaries, etc. as arguments. I'm wondering, is there a way to check if the label starts with a particular prefix? That ...
11
votes
1answer
321 views

beamer: \nameref calls the name of the section instead of the name of the theorem environment

In my LaTeX documents, I am playing with a lot of axioms which I write under a theorem environment, while using the following math packages: \usepackage{amsmath} \usepackage{amsfonts} ...
12
votes
2answers
380 views

How to create *local* labels/refs in LaTeX?

Concise question: Is there any way to limit the scope in which a \label is visible to a \ref? Motivation: My current goal is to create a rather large document, containing many exercises and their ...
3
votes
2answers
218 views

problems with hyperref when \thethm points to undefined reference

Consider the following three minimal examples. I do not understand why the first doesn't work while the second and third is fine. Can anyone tell me? Hyperref seems to have problems when \thethm is ...
4
votes
2answers
1k views

Lyx 2.0 Formatted references to theorem/lemma/claim environments

In Lyx 2.0, I'm trying to use a formatted reference to a claim, but I cannot get the "formatted" part, i.e. I can't get it to typeset "claim" as well as the claim number. I'm using modules "Theorems ...
2
votes
1answer
245 views

Reference Lemma from the same document

I am writing a document, where I have 3-4 Theorems, and a Lemma. I want to refer to the Lemma in the Theorems (possibly highlighted and a link to the Lemma). How should I go about doing it? I tried ...
10
votes
1answer
442 views

Enumerate environments within theorems

How to create an environment for enumerating that allows one to identify the enumeration with the theorem environment? Example: Definition 1.1 Let X be a set. An algebra over X is a collection C ...
2
votes
1answer
654 views

How to find out the counter of theorems etc. in LyX

I have a document that has a lot of theorems - all introduced in LyX via the "Theorems"-Module (for those who don't know LyX, that means, that I didn't define my own theorem environment via ...
4
votes
1answer
152 views

How do I determine the name of the counter associated with a theorem-like environment

(A question related to this one and leading up to this one.) Suppose I'm using ntheorem. I would like to have a command which determines the name (not the value) of the counter associated with a ...
3
votes
2answers
229 views

How to use an environment whose name comes from a reference?

Suppose somewhere in my long Ph.D. thesis I use a theorem-like environment (maybe it's a theorem, maybe it's a lemma, etc.), and label it. At another place I want to have an environment which is the ...
4
votes
1answer
783 views

Easy-to-use reference-able environment for restating theorem-like environments?

This question is a development of the same issue as this one; following my own answer and later comment there, I decided it deserves a spin-off. I would like to define an environment for restating ...
4
votes
1answer
282 views

Subsections for theorems

\documentclass[14pt]{article} \usepackage{amsmath,amsfonts,amssymb,amsthm} \newtheorem{thm}{Theorem}[section] \newtheorem{defn}[thm]{Definition} \newtheorem{cor}[thm]{Corollary} ...
13
votes
1answer
1k views

How to cross-reference theorems with “Theorem”?

I use \begin{lemma} \label{aaa} ... \end{lemma} \begin{theorem} \label{bbb} ... \end{theorem} and many other similar kinds in the same document. When I cross-reference those lemmas and theorems ...
2
votes
1answer
706 views

Equation-reference with cleveref

I am using cleveref, which seems to be working fine, except for my equation references, which are referenced as ??. My equation is: \begin{equation}\label{ex2eqn} Y_{t} = \epsilon_t + 1.8Y_{t-1} + ...
4
votes
3answers
453 views

thmtools: how to put xrefs in argument to thm environment?

I'm using thmtools for defining several environments for theorems, lemmas, etc. Among these is an environment for corollaries. (I give the full definition of this environment at the end of this ...
9
votes
2answers
853 views

autoref names messed up when defining certain ntheorem theoremstyles

I define a theorem style pretty innocuously, to get things looking a bit more like amsthm theorems. But - my \autoref{}s become messed up with optional arguments of theorem environments. ...