How to change the headfont of newtheorem environments to match komascript font?amsthm: what are the...

Is all-caps blackletter no longer taboo?

Is Jesus the last Prophet?

Is there a better way to do partial sums of array items in JavaScript?

How can I find out about the game world without meta-influencing it?

ASCII Meme Arrow Generator

How to generate list of *all* available commands and functions?

What's the difference between DHCP and NAT? Are they mutually exclusive?

What does this line mean in Zelazny's "The Courts of Chaos"?

How to make a composition of functions prettier?

Dedicated bike GPS computer over smartphone

What's the best way to quit a job mostly because of money?

How do I type a hyphen in iOS 12?

Problem with pronounciation

What plausible reason could I give for my FTL drive only working in space

Print "N NE E SE S SW W NW"

Was planting UN flag on Moon ever discussed?

As easy as Three, Two, One... How fast can you go from Five to Four?

What does the homotopy coherent nerve do to spaces of enriched functors?

What class is best to play when a level behind the rest of the party?

How to befriend someone who doesn't like to talk?

Does a single fopen introduce TOCTOU vulnerability?

Can I use 220 V outlets on a 15 ampere breaker and wire it up as 110 V?

What is this Amiga 2000 mod?

Oil draining out shortly after turbo hose detached/broke



How to change the headfont of newtheorem environments to match komascript font?


amsthm: what are the newtheoremstyle parameters for the default styles?TeXLive/PDFTeX fonts loading problemAmsbook: Theoremstyles definition and remark identical?How to determine the font being used by a latex documentUsing a handwriting font from myscriptfont.comProblem with sans serif font in KomascriptHow to change the TOC FontImitating another document styleEverything is CMR – except the LMR chapter headings in ToCFont style in newtheorembegin{proof} and begin{problem} don't work in new section













2















I'd like to change the theorem environment headfont to match komascript's fonts in chapters and sections. Particularly I'm interested in knowing how to do this using packages like thmtools.



Here's the MWE:



documentclass{scrbook}
usepackage[utf8]{inputenc}
usepackage{amsmath}
newtheorem{thm}{Theorem}
begin{document}
section{Introduction to the theorem}

Introduction of something. Here's the theorem:

begin{thm}
This is a theorem.
end{thm}

end{document}


Here's the output



enter image description here










share|improve this question



























    2















    I'd like to change the theorem environment headfont to match komascript's fonts in chapters and sections. Particularly I'm interested in knowing how to do this using packages like thmtools.



    Here's the MWE:



    documentclass{scrbook}
    usepackage[utf8]{inputenc}
    usepackage{amsmath}
    newtheorem{thm}{Theorem}
    begin{document}
    section{Introduction to the theorem}

    Introduction of something. Here's the theorem:

    begin{thm}
    This is a theorem.
    end{thm}

    end{document}


    Here's the output



    enter image description here










    share|improve this question

























      2












      2








      2








      I'd like to change the theorem environment headfont to match komascript's fonts in chapters and sections. Particularly I'm interested in knowing how to do this using packages like thmtools.



      Here's the MWE:



      documentclass{scrbook}
      usepackage[utf8]{inputenc}
      usepackage{amsmath}
      newtheorem{thm}{Theorem}
      begin{document}
      section{Introduction to the theorem}

      Introduction of something. Here's the theorem:

      begin{thm}
      This is a theorem.
      end{thm}

      end{document}


      Here's the output



      enter image description here










      share|improve this question














      I'd like to change the theorem environment headfont to match komascript's fonts in chapters and sections. Particularly I'm interested in knowing how to do this using packages like thmtools.



      Here's the MWE:



      documentclass{scrbook}
      usepackage[utf8]{inputenc}
      usepackage{amsmath}
      newtheorem{thm}{Theorem}
      begin{document}
      section{Introduction to the theorem}

      Introduction of something. Here's the theorem:

      begin{thm}
      This is a theorem.
      end{thm}

      end{document}


      Here's the output



      enter image description here







      fonts koma-script newtheorem






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      Richard CostaRichard Costa

      326




      326






















          4 Answers
          4






          active

          oldest

          votes


















          2














          With amsthm, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:



          documentclass{scrbook}
          usepackage[utf8]{inputenc}
          usepackage{amsmath}
          usepackage{amsthm}

          newtheoremstyle{komaplain}
          {topsep} % ABOVESPACE
          {topsep} % BELOWSPACE
          {itshape} % BODYFONT
          {0pt} % INDENT (empty value is the same as 0pt)
          {bfseriessffamily} % HEADFONT
          {.} % HEADPUNCT
          {5pt plus 1pt minus 1pt} % HEADSPACE
          {} % CUSTOM-HEAD-SPEC

          theoremstyle{komaplain}
          newtheorem{thm}{Theorem}

          begin{document}

          section{Introduction to the theorem}

          Introduction of something. Here's the theorem:

          begin{thm}
          This is a theorem.
          end{thm}

          begin{thm}[Note]
          This is a theorem.
          end{thm}

          end{document}


          enter image description here






          share|improve this answer































            1














            Using thmtools you can change the headfont as follows:



            enter image description here



            documentclass{scrbook}
            usepackage[utf8]{inputenc}
            usepackage{amsmath,amsthm}

            usepackage{thmtools}
            declaretheoremstyle[headfont=sffamilybfseries]{thm}
            declaretheorem[style=thm]{thm}

            begin{document}
            section{Introduction to the theorem}

            Introduction of something. Here's the theorem:

            begin{thm}
            This is a theorem.
            end{thm}

            end{document}





            share|improve this answer
























            • Thanks! To make the body text italic do we just add the option bodyfont=itshape ?

              – Richard Costa
              8 hours ago



















            1














            Here is an example code with amsthm and thmtools. Note that thmtools also cooperates with ntheorem:



            documentclass{scrbook}
            usepackage[utf8]{inputenc}
            usepackage{amsmath}
            usepackage{amsthm, thmtools}
            newtheorem{thm}{Theorem}
            declaretheoremstyle[%
            spaceabove=6pt, spacebelow=6pt,%
            headfont=sffamilybfseries,
            notefont=sffamilybfseries, notebraces={(}{)},
            headpunct =,—,
            bodyfont=normalfontitshape]%
            {sf}
            declaretheorem[style=sf, within=chapter, name=Theorem]{theo}

            begin{document}

            setcounter{chapter}{3}
            section{Introduction to the theorem}

            Introduction of something. Here's the theorem:

            begin{theo}[using a sans font]
            This is a well-known theorem.
            end{theo}

            end{document}


            enter image description here






            share|improve this answer































              0














              To ensure that headfont matches the font settings of chapter and section titles in a KOMA-Script document use



              usekomafont{disposition}



              The initial definition for the disposition font element is normalcolorsffamilybfseries. But this can be changed using setkomafont or addtokomafont.



              documentclass{scrbook}
              PreventPackageFromLoading{remreset}% comment this line, if you use an older TeX-Distribution
              usepackage[utf8]{inputenc}
              usepackage{amsmath,amsthm}

              %addtokomafont{disposition}{rmfamily}

              usepackage{thmtools}
              declaretheoremstyle[headfont=usekomafont{disposition}]{thm}
              declaretheorem[style=thm]{thm}

              begin{document}
              section{Introduction to the theorem}

              Introduction of something. Here's the theorem:

              begin{thm}[Note]
              This is a theorem.
              end{thm}

              end{document}


              Additional remark: thmtools loads package remreset which is obsolete with uptodate TeX distributions. To avoid the resulting warning »The remreset package is obsolete: @removefromreset is defined.« KOMA-Script command PreventPackageFromLoading{remreset} is used in the example.






              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
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f495146%2fhow-to-change-the-headfont-of-newtheorem-environments-to-match-komascript-font%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                2














                With amsthm, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:



                documentclass{scrbook}
                usepackage[utf8]{inputenc}
                usepackage{amsmath}
                usepackage{amsthm}

                newtheoremstyle{komaplain}
                {topsep} % ABOVESPACE
                {topsep} % BELOWSPACE
                {itshape} % BODYFONT
                {0pt} % INDENT (empty value is the same as 0pt)
                {bfseriessffamily} % HEADFONT
                {.} % HEADPUNCT
                {5pt plus 1pt minus 1pt} % HEADSPACE
                {} % CUSTOM-HEAD-SPEC

                theoremstyle{komaplain}
                newtheorem{thm}{Theorem}

                begin{document}

                section{Introduction to the theorem}

                Introduction of something. Here's the theorem:

                begin{thm}
                This is a theorem.
                end{thm}

                begin{thm}[Note]
                This is a theorem.
                end{thm}

                end{document}


                enter image description here






                share|improve this answer




























                  2














                  With amsthm, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:



                  documentclass{scrbook}
                  usepackage[utf8]{inputenc}
                  usepackage{amsmath}
                  usepackage{amsthm}

                  newtheoremstyle{komaplain}
                  {topsep} % ABOVESPACE
                  {topsep} % BELOWSPACE
                  {itshape} % BODYFONT
                  {0pt} % INDENT (empty value is the same as 0pt)
                  {bfseriessffamily} % HEADFONT
                  {.} % HEADPUNCT
                  {5pt plus 1pt minus 1pt} % HEADSPACE
                  {} % CUSTOM-HEAD-SPEC

                  theoremstyle{komaplain}
                  newtheorem{thm}{Theorem}

                  begin{document}

                  section{Introduction to the theorem}

                  Introduction of something. Here's the theorem:

                  begin{thm}
                  This is a theorem.
                  end{thm}

                  begin{thm}[Note]
                  This is a theorem.
                  end{thm}

                  end{document}


                  enter image description here






                  share|improve this answer


























                    2












                    2








                    2







                    With amsthm, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:



                    documentclass{scrbook}
                    usepackage[utf8]{inputenc}
                    usepackage{amsmath}
                    usepackage{amsthm}

                    newtheoremstyle{komaplain}
                    {topsep} % ABOVESPACE
                    {topsep} % BELOWSPACE
                    {itshape} % BODYFONT
                    {0pt} % INDENT (empty value is the same as 0pt)
                    {bfseriessffamily} % HEADFONT
                    {.} % HEADPUNCT
                    {5pt plus 1pt minus 1pt} % HEADSPACE
                    {} % CUSTOM-HEAD-SPEC

                    theoremstyle{komaplain}
                    newtheorem{thm}{Theorem}

                    begin{document}

                    section{Introduction to the theorem}

                    Introduction of something. Here's the theorem:

                    begin{thm}
                    This is a theorem.
                    end{thm}

                    begin{thm}[Note]
                    This is a theorem.
                    end{thm}

                    end{document}


                    enter image description here






                    share|improve this answer













                    With amsthm, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:



                    documentclass{scrbook}
                    usepackage[utf8]{inputenc}
                    usepackage{amsmath}
                    usepackage{amsthm}

                    newtheoremstyle{komaplain}
                    {topsep} % ABOVESPACE
                    {topsep} % BELOWSPACE
                    {itshape} % BODYFONT
                    {0pt} % INDENT (empty value is the same as 0pt)
                    {bfseriessffamily} % HEADFONT
                    {.} % HEADPUNCT
                    {5pt plus 1pt minus 1pt} % HEADSPACE
                    {} % CUSTOM-HEAD-SPEC

                    theoremstyle{komaplain}
                    newtheorem{thm}{Theorem}

                    begin{document}

                    section{Introduction to the theorem}

                    Introduction of something. Here's the theorem:

                    begin{thm}
                    This is a theorem.
                    end{thm}

                    begin{thm}[Note]
                    This is a theorem.
                    end{thm}

                    end{document}


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 8 hours ago









                    egregegreg

                    748k8919543296




                    748k8919543296























                        1














                        Using thmtools you can change the headfont as follows:



                        enter image description here



                        documentclass{scrbook}
                        usepackage[utf8]{inputenc}
                        usepackage{amsmath,amsthm}

                        usepackage{thmtools}
                        declaretheoremstyle[headfont=sffamilybfseries]{thm}
                        declaretheorem[style=thm]{thm}

                        begin{document}
                        section{Introduction to the theorem}

                        Introduction of something. Here's the theorem:

                        begin{thm}
                        This is a theorem.
                        end{thm}

                        end{document}





                        share|improve this answer
























                        • Thanks! To make the body text italic do we just add the option bodyfont=itshape ?

                          – Richard Costa
                          8 hours ago
















                        1














                        Using thmtools you can change the headfont as follows:



                        enter image description here



                        documentclass{scrbook}
                        usepackage[utf8]{inputenc}
                        usepackage{amsmath,amsthm}

                        usepackage{thmtools}
                        declaretheoremstyle[headfont=sffamilybfseries]{thm}
                        declaretheorem[style=thm]{thm}

                        begin{document}
                        section{Introduction to the theorem}

                        Introduction of something. Here's the theorem:

                        begin{thm}
                        This is a theorem.
                        end{thm}

                        end{document}





                        share|improve this answer
























                        • Thanks! To make the body text italic do we just add the option bodyfont=itshape ?

                          – Richard Costa
                          8 hours ago














                        1












                        1








                        1







                        Using thmtools you can change the headfont as follows:



                        enter image description here



                        documentclass{scrbook}
                        usepackage[utf8]{inputenc}
                        usepackage{amsmath,amsthm}

                        usepackage{thmtools}
                        declaretheoremstyle[headfont=sffamilybfseries]{thm}
                        declaretheorem[style=thm]{thm}

                        begin{document}
                        section{Introduction to the theorem}

                        Introduction of something. Here's the theorem:

                        begin{thm}
                        This is a theorem.
                        end{thm}

                        end{document}





                        share|improve this answer













                        Using thmtools you can change the headfont as follows:



                        enter image description here



                        documentclass{scrbook}
                        usepackage[utf8]{inputenc}
                        usepackage{amsmath,amsthm}

                        usepackage{thmtools}
                        declaretheoremstyle[headfont=sffamilybfseries]{thm}
                        declaretheorem[style=thm]{thm}

                        begin{document}
                        section{Introduction to the theorem}

                        Introduction of something. Here's the theorem:

                        begin{thm}
                        This is a theorem.
                        end{thm}

                        end{document}






                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered 8 hours ago









                        leandriisleandriis

                        13.8k11135




                        13.8k11135













                        • Thanks! To make the body text italic do we just add the option bodyfont=itshape ?

                          – Richard Costa
                          8 hours ago



















                        • Thanks! To make the body text italic do we just add the option bodyfont=itshape ?

                          – Richard Costa
                          8 hours ago

















                        Thanks! To make the body text italic do we just add the option bodyfont=itshape ?

                        – Richard Costa
                        8 hours ago





                        Thanks! To make the body text italic do we just add the option bodyfont=itshape ?

                        – Richard Costa
                        8 hours ago











                        1














                        Here is an example code with amsthm and thmtools. Note that thmtools also cooperates with ntheorem:



                        documentclass{scrbook}
                        usepackage[utf8]{inputenc}
                        usepackage{amsmath}
                        usepackage{amsthm, thmtools}
                        newtheorem{thm}{Theorem}
                        declaretheoremstyle[%
                        spaceabove=6pt, spacebelow=6pt,%
                        headfont=sffamilybfseries,
                        notefont=sffamilybfseries, notebraces={(}{)},
                        headpunct =,—,
                        bodyfont=normalfontitshape]%
                        {sf}
                        declaretheorem[style=sf, within=chapter, name=Theorem]{theo}

                        begin{document}

                        setcounter{chapter}{3}
                        section{Introduction to the theorem}

                        Introduction of something. Here's the theorem:

                        begin{theo}[using a sans font]
                        This is a well-known theorem.
                        end{theo}

                        end{document}


                        enter image description here






                        share|improve this answer




























                          1














                          Here is an example code with amsthm and thmtools. Note that thmtools also cooperates with ntheorem:



                          documentclass{scrbook}
                          usepackage[utf8]{inputenc}
                          usepackage{amsmath}
                          usepackage{amsthm, thmtools}
                          newtheorem{thm}{Theorem}
                          declaretheoremstyle[%
                          spaceabove=6pt, spacebelow=6pt,%
                          headfont=sffamilybfseries,
                          notefont=sffamilybfseries, notebraces={(}{)},
                          headpunct =,—,
                          bodyfont=normalfontitshape]%
                          {sf}
                          declaretheorem[style=sf, within=chapter, name=Theorem]{theo}

                          begin{document}

                          setcounter{chapter}{3}
                          section{Introduction to the theorem}

                          Introduction of something. Here's the theorem:

                          begin{theo}[using a sans font]
                          This is a well-known theorem.
                          end{theo}

                          end{document}


                          enter image description here






                          share|improve this answer


























                            1












                            1








                            1







                            Here is an example code with amsthm and thmtools. Note that thmtools also cooperates with ntheorem:



                            documentclass{scrbook}
                            usepackage[utf8]{inputenc}
                            usepackage{amsmath}
                            usepackage{amsthm, thmtools}
                            newtheorem{thm}{Theorem}
                            declaretheoremstyle[%
                            spaceabove=6pt, spacebelow=6pt,%
                            headfont=sffamilybfseries,
                            notefont=sffamilybfseries, notebraces={(}{)},
                            headpunct =,—,
                            bodyfont=normalfontitshape]%
                            {sf}
                            declaretheorem[style=sf, within=chapter, name=Theorem]{theo}

                            begin{document}

                            setcounter{chapter}{3}
                            section{Introduction to the theorem}

                            Introduction of something. Here's the theorem:

                            begin{theo}[using a sans font]
                            This is a well-known theorem.
                            end{theo}

                            end{document}


                            enter image description here






                            share|improve this answer













                            Here is an example code with amsthm and thmtools. Note that thmtools also cooperates with ntheorem:



                            documentclass{scrbook}
                            usepackage[utf8]{inputenc}
                            usepackage{amsmath}
                            usepackage{amsthm, thmtools}
                            newtheorem{thm}{Theorem}
                            declaretheoremstyle[%
                            spaceabove=6pt, spacebelow=6pt,%
                            headfont=sffamilybfseries,
                            notefont=sffamilybfseries, notebraces={(}{)},
                            headpunct =,—,
                            bodyfont=normalfontitshape]%
                            {sf}
                            declaretheorem[style=sf, within=chapter, name=Theorem]{theo}

                            begin{document}

                            setcounter{chapter}{3}
                            section{Introduction to the theorem}

                            Introduction of something. Here's the theorem:

                            begin{theo}[using a sans font]
                            This is a well-known theorem.
                            end{theo}

                            end{document}


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 8 hours ago









                            BernardBernard

                            181k781213




                            181k781213























                                0














                                To ensure that headfont matches the font settings of chapter and section titles in a KOMA-Script document use



                                usekomafont{disposition}



                                The initial definition for the disposition font element is normalcolorsffamilybfseries. But this can be changed using setkomafont or addtokomafont.



                                documentclass{scrbook}
                                PreventPackageFromLoading{remreset}% comment this line, if you use an older TeX-Distribution
                                usepackage[utf8]{inputenc}
                                usepackage{amsmath,amsthm}

                                %addtokomafont{disposition}{rmfamily}

                                usepackage{thmtools}
                                declaretheoremstyle[headfont=usekomafont{disposition}]{thm}
                                declaretheorem[style=thm]{thm}

                                begin{document}
                                section{Introduction to the theorem}

                                Introduction of something. Here's the theorem:

                                begin{thm}[Note]
                                This is a theorem.
                                end{thm}

                                end{document}


                                Additional remark: thmtools loads package remreset which is obsolete with uptodate TeX distributions. To avoid the resulting warning »The remreset package is obsolete: @removefromreset is defined.« KOMA-Script command PreventPackageFromLoading{remreset} is used in the example.






                                share|improve this answer




























                                  0














                                  To ensure that headfont matches the font settings of chapter and section titles in a KOMA-Script document use



                                  usekomafont{disposition}



                                  The initial definition for the disposition font element is normalcolorsffamilybfseries. But this can be changed using setkomafont or addtokomafont.



                                  documentclass{scrbook}
                                  PreventPackageFromLoading{remreset}% comment this line, if you use an older TeX-Distribution
                                  usepackage[utf8]{inputenc}
                                  usepackage{amsmath,amsthm}

                                  %addtokomafont{disposition}{rmfamily}

                                  usepackage{thmtools}
                                  declaretheoremstyle[headfont=usekomafont{disposition}]{thm}
                                  declaretheorem[style=thm]{thm}

                                  begin{document}
                                  section{Introduction to the theorem}

                                  Introduction of something. Here's the theorem:

                                  begin{thm}[Note]
                                  This is a theorem.
                                  end{thm}

                                  end{document}


                                  Additional remark: thmtools loads package remreset which is obsolete with uptodate TeX distributions. To avoid the resulting warning »The remreset package is obsolete: @removefromreset is defined.« KOMA-Script command PreventPackageFromLoading{remreset} is used in the example.






                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    To ensure that headfont matches the font settings of chapter and section titles in a KOMA-Script document use



                                    usekomafont{disposition}



                                    The initial definition for the disposition font element is normalcolorsffamilybfseries. But this can be changed using setkomafont or addtokomafont.



                                    documentclass{scrbook}
                                    PreventPackageFromLoading{remreset}% comment this line, if you use an older TeX-Distribution
                                    usepackage[utf8]{inputenc}
                                    usepackage{amsmath,amsthm}

                                    %addtokomafont{disposition}{rmfamily}

                                    usepackage{thmtools}
                                    declaretheoremstyle[headfont=usekomafont{disposition}]{thm}
                                    declaretheorem[style=thm]{thm}

                                    begin{document}
                                    section{Introduction to the theorem}

                                    Introduction of something. Here's the theorem:

                                    begin{thm}[Note]
                                    This is a theorem.
                                    end{thm}

                                    end{document}


                                    Additional remark: thmtools loads package remreset which is obsolete with uptodate TeX distributions. To avoid the resulting warning »The remreset package is obsolete: @removefromreset is defined.« KOMA-Script command PreventPackageFromLoading{remreset} is used in the example.






                                    share|improve this answer













                                    To ensure that headfont matches the font settings of chapter and section titles in a KOMA-Script document use



                                    usekomafont{disposition}



                                    The initial definition for the disposition font element is normalcolorsffamilybfseries. But this can be changed using setkomafont or addtokomafont.



                                    documentclass{scrbook}
                                    PreventPackageFromLoading{remreset}% comment this line, if you use an older TeX-Distribution
                                    usepackage[utf8]{inputenc}
                                    usepackage{amsmath,amsthm}

                                    %addtokomafont{disposition}{rmfamily}

                                    usepackage{thmtools}
                                    declaretheoremstyle[headfont=usekomafont{disposition}]{thm}
                                    declaretheorem[style=thm]{thm}

                                    begin{document}
                                    section{Introduction to the theorem}

                                    Introduction of something. Here's the theorem:

                                    begin{thm}[Note]
                                    This is a theorem.
                                    end{thm}

                                    end{document}


                                    Additional remark: thmtools loads package remreset which is obsolete with uptodate TeX distributions. To avoid the resulting warning »The remreset package is obsolete: @removefromreset is defined.« KOMA-Script command PreventPackageFromLoading{remreset} is used in the example.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 7 hours ago









                                    esddesdd

                                    61.2k35094




                                    61.2k35094






























                                        draft saved

                                        draft discarded




















































                                        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%2f495146%2fhow-to-change-the-headfont-of-newtheorem-environments-to-match-komascript-font%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

                                        Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                                        Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                                        Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...