tcolorbox theorem numberingCounter for tcolorboxProblem with tcolorbox packageCustom theorem numberingHow to...
What incentives do banks have to gather up loans into pools (backed by Ginnie Mae)and selling them?
In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?
Difference between i++ and (i)++ in C
What is the purpose of easy combat scenarios that don't need resource expenditure?
Which one of these password policies is more secure?
Why are the books in the Game of Thrones citadel library shelved spine inwards?
初めてです, is '初めて' an adverb?
How would an AI self awareness kill switch work?
Advice for a new journal editor
Cookies - Should the toggles be on?
Writing a character who is going through a civilizing process without overdoing it?
Using only 1s, make 29 with the minimum number of digits
Is boss over stepping boundary/micromanaging?
How long is the D&D Starter Set campaign?
A title for a history book
What's a good word to describe a public place that looks like it wouldn't be rough?
Why did the villain in the first Men in Black movie care about Earth's Cockroaches?
Can an insurance company drop you after receiving a bill and refusing to pay?
Consequences of lack of rigour
Roman Numerals equation 1
Explain the objections to these measures against human trafficking
Why do neural networks need so many training examples to perform?
Replacement expressions
How much mayhem could I cause as a sentient fish?
tcolorbox theorem numbering
Counter for tcolorboxProblem with tcolorbox packageCustom theorem numberingHow to add space around tcolorbox theoremnumbering of tcolorboxtcolorbox: theorem numbering in the margin is too close to textNo new line for theorem in enumerateTheorem, Lemma etc numberingNumbering of Theorem and Definitions on LaTeXtcolorbox theorems without numberingTheorem numbering like Theorem $1'$Problem with definition/examples and theorem numbering
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage{graphicx,float,hyperref}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage{tcolorbox}
tcbuselibrary{theorems}
newtcbtheorem{mytheo*}{}%
{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{title...}{}
text...
end{mytheo*}
end{document}
I am trying to make the theorem unnumbered, but I have not managed to figure out how to remove the number 1 and the colon that appear at the beginning of the theorem title. Does anyone know how to do this?
numbering theorems tcolorbox newtheorem
add a comment |
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage{graphicx,float,hyperref}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage{tcolorbox}
tcbuselibrary{theorems}
newtcbtheorem{mytheo*}{}%
{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{title...}{}
text...
end{mytheo*}
end{document}
I am trying to make the theorem unnumbered, but I have not managed to figure out how to remove the number 1 and the colon that appear at the beginning of the theorem title. Does anyone know how to do this?
numbering theorems tcolorbox newtheorem
add a comment |
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage{graphicx,float,hyperref}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage{tcolorbox}
tcbuselibrary{theorems}
newtcbtheorem{mytheo*}{}%
{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{title...}{}
text...
end{mytheo*}
end{document}
I am trying to make the theorem unnumbered, but I have not managed to figure out how to remove the number 1 and the colon that appear at the beginning of the theorem title. Does anyone know how to do this?
numbering theorems tcolorbox newtheorem
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage{graphicx,float,hyperref}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage{tcolorbox}
tcbuselibrary{theorems}
newtcbtheorem{mytheo*}{}%
{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{title...}{}
text...
end{mytheo*}
end{document}
I am trying to make the theorem unnumbered, but I have not managed to figure out how to remove the number 1 and the colon that appear at the beginning of the theorem title. Does anyone know how to do this?
numbering theorems tcolorbox newtheorem
numbering theorems tcolorbox newtheorem
edited Feb 17 '18 at 10:17
Christian Hupfer
151k15199395
151k15199395
asked Feb 14 '18 at 21:03
A. GoodierA. Goodier
1326
1326
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
There is a misunderstanding by the OP what newtcbtheorem does actually:
newtcbtheorem{foo}{...}{...}{...} will actually define both the numbered theorem - like enviroment foo and foo*, so newtcbtheorem{foo*} will actually define foo* and foo**, leaving foo* being numbered however and foo** is the unnumbered version.
See page 340 of current tcolorbox manual for a description of this.
In addition, hyperref should be loaded as last package as almost always in 98% of all cases.
As a reply to the comment below by Bryan-M-H:
The unstarred version of the theorem has an additional mandatory argument that is meant for the label, see the changed example where the label is given as {foo}, which is extended to th:foo since the definition of the theorem has th as label prefix.
Related (but not duplicate) Counter for tcolorbox
Also related (no duplicate too): Problem with tcolorbox package
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage[most]{tcolorbox}
usepackage{graphicx,float}
usepackage{hyperref}
newtcbtheorem{mytheo}{My theorem}{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{}
text...
end{mytheo*}
See ref{th:foo}
begin{mytheo}{Foo}{foo}
text...
end{mytheo}
end{document}

I tried to use the unstarred version of this in the body of the document, but found that the first letter of my theorem text was eaten up. [The word "text" came out as "ext" in the pink box.] What do I need to change? begin{mytheo}{Fowler's Folly} text... end{mytheo}
– Bryan M-H
Feb 17 '18 at 14:25
1
@BryanM-H: See my extended answer: You forgot the 2nd mandatory argument that is meant for the label of the unstarred environment. If you don't need a label, use{}
– Christian Hupfer
Feb 17 '18 at 15:17
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f415369%2ftcolorbox-theorem-numbering%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is a misunderstanding by the OP what newtcbtheorem does actually:
newtcbtheorem{foo}{...}{...}{...} will actually define both the numbered theorem - like enviroment foo and foo*, so newtcbtheorem{foo*} will actually define foo* and foo**, leaving foo* being numbered however and foo** is the unnumbered version.
See page 340 of current tcolorbox manual for a description of this.
In addition, hyperref should be loaded as last package as almost always in 98% of all cases.
As a reply to the comment below by Bryan-M-H:
The unstarred version of the theorem has an additional mandatory argument that is meant for the label, see the changed example where the label is given as {foo}, which is extended to th:foo since the definition of the theorem has th as label prefix.
Related (but not duplicate) Counter for tcolorbox
Also related (no duplicate too): Problem with tcolorbox package
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage[most]{tcolorbox}
usepackage{graphicx,float}
usepackage{hyperref}
newtcbtheorem{mytheo}{My theorem}{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{}
text...
end{mytheo*}
See ref{th:foo}
begin{mytheo}{Foo}{foo}
text...
end{mytheo}
end{document}

I tried to use the unstarred version of this in the body of the document, but found that the first letter of my theorem text was eaten up. [The word "text" came out as "ext" in the pink box.] What do I need to change? begin{mytheo}{Fowler's Folly} text... end{mytheo}
– Bryan M-H
Feb 17 '18 at 14:25
1
@BryanM-H: See my extended answer: You forgot the 2nd mandatory argument that is meant for the label of the unstarred environment. If you don't need a label, use{}
– Christian Hupfer
Feb 17 '18 at 15:17
add a comment |
There is a misunderstanding by the OP what newtcbtheorem does actually:
newtcbtheorem{foo}{...}{...}{...} will actually define both the numbered theorem - like enviroment foo and foo*, so newtcbtheorem{foo*} will actually define foo* and foo**, leaving foo* being numbered however and foo** is the unnumbered version.
See page 340 of current tcolorbox manual for a description of this.
In addition, hyperref should be loaded as last package as almost always in 98% of all cases.
As a reply to the comment below by Bryan-M-H:
The unstarred version of the theorem has an additional mandatory argument that is meant for the label, see the changed example where the label is given as {foo}, which is extended to th:foo since the definition of the theorem has th as label prefix.
Related (but not duplicate) Counter for tcolorbox
Also related (no duplicate too): Problem with tcolorbox package
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage[most]{tcolorbox}
usepackage{graphicx,float}
usepackage{hyperref}
newtcbtheorem{mytheo}{My theorem}{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{}
text...
end{mytheo*}
See ref{th:foo}
begin{mytheo}{Foo}{foo}
text...
end{mytheo}
end{document}

I tried to use the unstarred version of this in the body of the document, but found that the first letter of my theorem text was eaten up. [The word "text" came out as "ext" in the pink box.] What do I need to change? begin{mytheo}{Fowler's Folly} text... end{mytheo}
– Bryan M-H
Feb 17 '18 at 14:25
1
@BryanM-H: See my extended answer: You forgot the 2nd mandatory argument that is meant for the label of the unstarred environment. If you don't need a label, use{}
– Christian Hupfer
Feb 17 '18 at 15:17
add a comment |
There is a misunderstanding by the OP what newtcbtheorem does actually:
newtcbtheorem{foo}{...}{...}{...} will actually define both the numbered theorem - like enviroment foo and foo*, so newtcbtheorem{foo*} will actually define foo* and foo**, leaving foo* being numbered however and foo** is the unnumbered version.
See page 340 of current tcolorbox manual for a description of this.
In addition, hyperref should be loaded as last package as almost always in 98% of all cases.
As a reply to the comment below by Bryan-M-H:
The unstarred version of the theorem has an additional mandatory argument that is meant for the label, see the changed example where the label is given as {foo}, which is extended to th:foo since the definition of the theorem has th as label prefix.
Related (but not duplicate) Counter for tcolorbox
Also related (no duplicate too): Problem with tcolorbox package
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage[most]{tcolorbox}
usepackage{graphicx,float}
usepackage{hyperref}
newtcbtheorem{mytheo}{My theorem}{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{}
text...
end{mytheo*}
See ref{th:foo}
begin{mytheo}{Foo}{foo}
text...
end{mytheo}
end{document}

There is a misunderstanding by the OP what newtcbtheorem does actually:
newtcbtheorem{foo}{...}{...}{...} will actually define both the numbered theorem - like enviroment foo and foo*, so newtcbtheorem{foo*} will actually define foo* and foo**, leaving foo* being numbered however and foo** is the unnumbered version.
See page 340 of current tcolorbox manual for a description of this.
In addition, hyperref should be loaded as last package as almost always in 98% of all cases.
As a reply to the comment below by Bryan-M-H:
The unstarred version of the theorem has an additional mandatory argument that is meant for the label, see the changed example where the label is given as {foo}, which is extended to th:foo since the definition of the theorem has th as label prefix.
Related (but not duplicate) Counter for tcolorbox
Also related (no duplicate too): Problem with tcolorbox package
documentclass{article}
usepackage{amsmath,amsthm,amssymb,parskip}
usepackage[margin=1in]{geometry}
usepackage{titling,multicol}
usepackage[most]{tcolorbox}
usepackage{graphicx,float}
usepackage{hyperref}
newtcbtheorem{mytheo}{My theorem}{colback=purple!5,colframe=blue!100!,fonttitle=bfseries}{th}
begin{document}
begin{mytheo*}{}
text...
end{mytheo*}
See ref{th:foo}
begin{mytheo}{Foo}{foo}
text...
end{mytheo}
end{document}

edited 15 mins ago
answered Feb 14 '18 at 21:43
Christian HupferChristian Hupfer
151k15199395
151k15199395
I tried to use the unstarred version of this in the body of the document, but found that the first letter of my theorem text was eaten up. [The word "text" came out as "ext" in the pink box.] What do I need to change? begin{mytheo}{Fowler's Folly} text... end{mytheo}
– Bryan M-H
Feb 17 '18 at 14:25
1
@BryanM-H: See my extended answer: You forgot the 2nd mandatory argument that is meant for the label of the unstarred environment. If you don't need a label, use{}
– Christian Hupfer
Feb 17 '18 at 15:17
add a comment |
I tried to use the unstarred version of this in the body of the document, but found that the first letter of my theorem text was eaten up. [The word "text" came out as "ext" in the pink box.] What do I need to change? begin{mytheo}{Fowler's Folly} text... end{mytheo}
– Bryan M-H
Feb 17 '18 at 14:25
1
@BryanM-H: See my extended answer: You forgot the 2nd mandatory argument that is meant for the label of the unstarred environment. If you don't need a label, use{}
– Christian Hupfer
Feb 17 '18 at 15:17
I tried to use the unstarred version of this in the body of the document, but found that the first letter of my theorem text was eaten up. [The word "text" came out as "ext" in the pink box.] What do I need to change? begin{mytheo}{Fowler's Folly} text... end{mytheo}
– Bryan M-H
Feb 17 '18 at 14:25
I tried to use the unstarred version of this in the body of the document, but found that the first letter of my theorem text was eaten up. [The word "text" came out as "ext" in the pink box.] What do I need to change? begin{mytheo}{Fowler's Folly} text... end{mytheo}
– Bryan M-H
Feb 17 '18 at 14:25
1
1
@BryanM-H: See my extended answer: You forgot the 2nd mandatory argument that is meant for the label of the unstarred environment. If you don't need a label, use
{}– Christian Hupfer
Feb 17 '18 at 15:17
@BryanM-H: See my extended answer: You forgot the 2nd mandatory argument that is meant for the label of the unstarred environment. If you don't need a label, use
{}– Christian Hupfer
Feb 17 '18 at 15:17
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f415369%2ftcolorbox-theorem-numbering%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown