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{definition} command before I define the definition but the PDF is building as if theorems and definitions both had the same theorem style. How can I remove the italics from my definitions?
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theoremstyle{definition}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
ntheorem
New contributor
add a comment |
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{definition} command before I define the definition but the PDF is building as if theorems and definitions both had the same theorem style. How can I remove the italics from my definitions?
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theoremstyle{definition}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
ntheorem
New contributor
Look in the log file:LaTeX Warning: Unknown theoremstyle
definition'. Usingplain' on input line 10.
– daleif
12 hours ago
add a comment |
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{definition} command before I define the definition but the PDF is building as if theorems and definitions both had the same theorem style. How can I remove the italics from my definitions?
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theoremstyle{definition}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
ntheorem
New contributor
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{definition} command before I define the definition but the PDF is building as if theorems and definitions both had the same theorem style. How can I remove the italics from my definitions?
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theoremstyle{definition}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
ntheorem
ntheorem
New contributor
New contributor
New contributor
asked 12 hours ago
Jonathan TookerJonathan Tooker
212
212
New contributor
New contributor
Look in the log file:LaTeX Warning: Unknown theoremstyle
definition'. Usingplain' on input line 10.
– daleif
12 hours ago
add a comment |
Look in the log file:LaTeX Warning: Unknown theoremstyle
definition'. Usingplain' on input line 10.
– daleif
12 hours ago
Look in the log file:
LaTeX Warning: Unknown theoremstyle
definition'. Using plain' on input line 10.
– daleif
12 hours ago
Look in the log file:
LaTeX Warning: Unknown theoremstyle
definition'. Using plain' on input line 10.
– daleif
12 hours ago
add a comment |
1 Answer
1
active
oldest
votes
There is no definition
style with ntheorem
.
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theorembodyfont{upshape}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header
of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
Are you sure about [subsection]
?
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
});
}
});
Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.
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%2f483203%2fntheorem-definitions-rendered-in-italics-despite-theoremstyledefinition%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 no definition
style with ntheorem
.
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theorembodyfont{upshape}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header
of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
Are you sure about [subsection]
?
add a comment |
There is no definition
style with ntheorem
.
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theorembodyfont{upshape}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header
of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
Are you sure about [subsection]
?
add a comment |
There is no definition
style with ntheorem
.
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theorembodyfont{upshape}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header
of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
Are you sure about [subsection]
?
There is no definition
style with ntheorem
.
documentclass[twoside]{article}
usepackage{amssymb}
usepackage{amsmath}
usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[amsmath, thmmarks, thref]{ntheorem}
newtheorem{thm}{Theorem}[subsection]
theorembodyfont{upshape}
newtheorem{defin}[thm]{Definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
section{Section Number One}
begin{thm}
I am glad that this is showing up in italics
end{thm}
begin{defin}
Since I have used ``theoremstyle:definition'' in the header
of my tex file, I am expecting this not to show up in italics.
end{defin}
end{document}
Are you sure about [subsection]
?
answered 12 hours ago
egregegreg
731k8919303252
731k8919303252
add a comment |
add a comment |
Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.
Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.
Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.
Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.
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%2f483203%2fntheorem-definitions-rendered-in-italics-despite-theoremstyledefinition%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
Look in the log file:
LaTeX Warning: Unknown theoremstyle
definition'. Usingplain' on input line 10.
– daleif
12 hours ago