Ntheorem: Definitions rendered in italics despite theoremstyle{definition}












1















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}









share|improve this question







New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Look in the log file: LaTeX Warning: Unknown theoremstyle definition'. Using plain' on input line 10.

    – daleif
    12 hours ago
















1















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}









share|improve this question







New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Look in the log file: LaTeX Warning: Unknown theoremstyle definition'. Using plain' on input line 10.

    – daleif
    12 hours ago














1












1








1


1






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}









share|improve this question







New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question







New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 hours ago









Jonathan TookerJonathan Tooker

212




212




New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • 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

















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










1 Answer
1






active

oldest

votes


















3














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}


enter image description here



Are you sure about [subsection]?






share|improve this answer
























    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.










    draft saved

    draft discarded


















    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









    3














    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}


    enter image description here



    Are you sure about [subsection]?






    share|improve this answer




























      3














      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}


      enter image description here



      Are you sure about [subsection]?






      share|improve this answer


























        3












        3








        3







        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}


        enter image description here



        Are you sure about [subsection]?






        share|improve this answer













        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}


        enter image description here



        Are you sure about [subsection]?







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 12 hours ago









        egregegreg

        731k8919303252




        731k8919303252






















            Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)