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 newtheorembeginproof and beginproblem don't work in new section
How much web presence should I have?
Why do (or did, until very recently) aircraft transponders wait to be interrogated before broadcasting beacon signals?
What's the difference between DHCP and NAT? Are they mutually exclusive?
What is the logic behind charging tax _in the form of money_ for owning property when the property does not produce money?
What is the STRONGEST end-of-line knot to use if you want to use a steel-thimble at the end, so that you've got a steel-eyelet at the end of the line?
Is there a better way to do partial sums of array items in JavaScript?
Enchiridion, 16: Does a stoic moan, or not?
How to handle when PCs taste a potion that is actually poison?
Does a single fopen introduce TOCTOU vulnerability?
Is it true that "only photographers care about noise"?
What does "lit." mean in boiling point or melting point specification?
Placement of positioning lights on A320 winglets
How can powerful telekinesis avoid violating Newton's 3rd Law?
Dedicated bike GPS computer over smartphone
What is the theme of analysis?
How does AFV select the winning videos?
In The Incredibles 2, why does Screenslaver's name use a pun on something that doesn't exist in the 1950s pastiche?
A life of PhD: is it feasible?
My mom's return ticket is 3 days after I-94 expires
Realistic, logical way for men with medieval-era weaponry to compete with much larger and physically stronger foes
Oil draining out shortly after turbo hose detached/broke
Grandpa has another non math question
Why do I seem to lose data using this bash pipe construction?
Should I list a completely different profession in my technical resume?
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 newtheorembeginproof and beginproblem don't work in new section
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:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Here's the output
fonts koma-script newtheorem
add a comment |
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:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Here's the output
fonts koma-script newtheorem
add a comment |
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:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Here's the output
fonts koma-script newtheorem
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:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Here's the output
fonts koma-script newtheorem
fonts koma-script newtheorem
asked 9 hours ago
Richard CostaRichard Costa
326
326
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
With amsthm
, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm
newtheoremstylekomaplain
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
theoremstylekomaplain
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
beginthm[Note]
This is a theorem.
endthm
enddocument
add a comment |
Using thmtools
you can change the headfont
as follows:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath,amsthm
usepackagethmtools
declaretheoremstyle[headfont=sffamilybfseries]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Thanks! To make the body text italic do we just add the optionbodyfont=itshape
?
– Richard Costa
8 hours ago
add a comment |
Here is an example code with amsthm
and thmtools
. Note that thmtools
also cooperates with ntheorem
:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm, thmtools
newtheoremthmTheorem
declaretheoremstyle[%
spaceabove=6pt, spacebelow=6pt,%
headfont=sffamilybfseries,
notefont=sffamilybfseries, notebraces=(),
headpunct =,—,
bodyfont=normalfontitshape]%
sf
declaretheorem[style=sf, within=chapter, name=Theorem]theo
begindocument
setcounterchapter3
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
begintheo[using a sans font]
This is a well-known theorem.
endtheo
enddocument
add a comment |
To ensure that headfont
matches the font settings of chapter and section titles in a KOMA-Script document use
usekomafontdisposition
The initial definition for the disposition
font element is normalcolorsffamilybfseries
. But this can be changed using setkomafont
or addtokomafont
.
documentclassscrbook
PreventPackageFromLoadingremreset% comment this line, if you use an older TeX-Distribution
usepackage[utf8]inputenc
usepackageamsmath,amsthm
%addtokomafontdispositionrmfamily
usepackagethmtools
declaretheoremstyle[headfont=usekomafontdisposition]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm[Note]
This is a theorem.
endthm
enddocument
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 PreventPackageFromLoadingremreset
is used in the example.
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%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
With amsthm
, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm
newtheoremstylekomaplain
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
theoremstylekomaplain
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
beginthm[Note]
This is a theorem.
endthm
enddocument
add a comment |
With amsthm
, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm
newtheoremstylekomaplain
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
theoremstylekomaplain
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
beginthm[Note]
This is a theorem.
endthm
enddocument
add a comment |
With amsthm
, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm
newtheoremstylekomaplain
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
theoremstylekomaplain
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
beginthm[Note]
This is a theorem.
endthm
enddocument
With amsthm
, looking at https://tex.stackexchange.com/a/17555/4427 where the standard values are listed:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm
newtheoremstylekomaplain
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
theoremstylekomaplain
newtheoremthmTheorem
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
beginthm[Note]
This is a theorem.
endthm
enddocument
answered 8 hours ago
egregegreg
748k8919543296
748k8919543296
add a comment |
add a comment |
Using thmtools
you can change the headfont
as follows:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath,amsthm
usepackagethmtools
declaretheoremstyle[headfont=sffamilybfseries]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Thanks! To make the body text italic do we just add the optionbodyfont=itshape
?
– Richard Costa
8 hours ago
add a comment |
Using thmtools
you can change the headfont
as follows:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath,amsthm
usepackagethmtools
declaretheoremstyle[headfont=sffamilybfseries]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Thanks! To make the body text italic do we just add the optionbodyfont=itshape
?
– Richard Costa
8 hours ago
add a comment |
Using thmtools
you can change the headfont
as follows:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath,amsthm
usepackagethmtools
declaretheoremstyle[headfont=sffamilybfseries]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
Using thmtools
you can change the headfont
as follows:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath,amsthm
usepackagethmtools
declaretheoremstyle[headfont=sffamilybfseries]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm
This is a theorem.
endthm
enddocument
answered 8 hours ago
leandriisleandriis
13.8k11135
13.8k11135
Thanks! To make the body text italic do we just add the optionbodyfont=itshape
?
– Richard Costa
8 hours ago
add a comment |
Thanks! To make the body text italic do we just add the optionbodyfont=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
add a comment |
Here is an example code with amsthm
and thmtools
. Note that thmtools
also cooperates with ntheorem
:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm, thmtools
newtheoremthmTheorem
declaretheoremstyle[%
spaceabove=6pt, spacebelow=6pt,%
headfont=sffamilybfseries,
notefont=sffamilybfseries, notebraces=(),
headpunct =,—,
bodyfont=normalfontitshape]%
sf
declaretheorem[style=sf, within=chapter, name=Theorem]theo
begindocument
setcounterchapter3
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
begintheo[using a sans font]
This is a well-known theorem.
endtheo
enddocument
add a comment |
Here is an example code with amsthm
and thmtools
. Note that thmtools
also cooperates with ntheorem
:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm, thmtools
newtheoremthmTheorem
declaretheoremstyle[%
spaceabove=6pt, spacebelow=6pt,%
headfont=sffamilybfseries,
notefont=sffamilybfseries, notebraces=(),
headpunct =,—,
bodyfont=normalfontitshape]%
sf
declaretheorem[style=sf, within=chapter, name=Theorem]theo
begindocument
setcounterchapter3
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
begintheo[using a sans font]
This is a well-known theorem.
endtheo
enddocument
add a comment |
Here is an example code with amsthm
and thmtools
. Note that thmtools
also cooperates with ntheorem
:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm, thmtools
newtheoremthmTheorem
declaretheoremstyle[%
spaceabove=6pt, spacebelow=6pt,%
headfont=sffamilybfseries,
notefont=sffamilybfseries, notebraces=(),
headpunct =,—,
bodyfont=normalfontitshape]%
sf
declaretheorem[style=sf, within=chapter, name=Theorem]theo
begindocument
setcounterchapter3
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
begintheo[using a sans font]
This is a well-known theorem.
endtheo
enddocument
Here is an example code with amsthm
and thmtools
. Note that thmtools
also cooperates with ntheorem
:
documentclassscrbook
usepackage[utf8]inputenc
usepackageamsmath
usepackageamsthm, thmtools
newtheoremthmTheorem
declaretheoremstyle[%
spaceabove=6pt, spacebelow=6pt,%
headfont=sffamilybfseries,
notefont=sffamilybfseries, notebraces=(),
headpunct =,—,
bodyfont=normalfontitshape]%
sf
declaretheorem[style=sf, within=chapter, name=Theorem]theo
begindocument
setcounterchapter3
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
begintheo[using a sans font]
This is a well-known theorem.
endtheo
enddocument
answered 8 hours ago
BernardBernard
181k781213
181k781213
add a comment |
add a comment |
To ensure that headfont
matches the font settings of chapter and section titles in a KOMA-Script document use
usekomafontdisposition
The initial definition for the disposition
font element is normalcolorsffamilybfseries
. But this can be changed using setkomafont
or addtokomafont
.
documentclassscrbook
PreventPackageFromLoadingremreset% comment this line, if you use an older TeX-Distribution
usepackage[utf8]inputenc
usepackageamsmath,amsthm
%addtokomafontdispositionrmfamily
usepackagethmtools
declaretheoremstyle[headfont=usekomafontdisposition]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm[Note]
This is a theorem.
endthm
enddocument
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 PreventPackageFromLoadingremreset
is used in the example.
add a comment |
To ensure that headfont
matches the font settings of chapter and section titles in a KOMA-Script document use
usekomafontdisposition
The initial definition for the disposition
font element is normalcolorsffamilybfseries
. But this can be changed using setkomafont
or addtokomafont
.
documentclassscrbook
PreventPackageFromLoadingremreset% comment this line, if you use an older TeX-Distribution
usepackage[utf8]inputenc
usepackageamsmath,amsthm
%addtokomafontdispositionrmfamily
usepackagethmtools
declaretheoremstyle[headfont=usekomafontdisposition]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm[Note]
This is a theorem.
endthm
enddocument
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 PreventPackageFromLoadingremreset
is used in the example.
add a comment |
To ensure that headfont
matches the font settings of chapter and section titles in a KOMA-Script document use
usekomafontdisposition
The initial definition for the disposition
font element is normalcolorsffamilybfseries
. But this can be changed using setkomafont
or addtokomafont
.
documentclassscrbook
PreventPackageFromLoadingremreset% comment this line, if you use an older TeX-Distribution
usepackage[utf8]inputenc
usepackageamsmath,amsthm
%addtokomafontdispositionrmfamily
usepackagethmtools
declaretheoremstyle[headfont=usekomafontdisposition]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm[Note]
This is a theorem.
endthm
enddocument
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 PreventPackageFromLoadingremreset
is used in the example.
To ensure that headfont
matches the font settings of chapter and section titles in a KOMA-Script document use
usekomafontdisposition
The initial definition for the disposition
font element is normalcolorsffamilybfseries
. But this can be changed using setkomafont
or addtokomafont
.
documentclassscrbook
PreventPackageFromLoadingremreset% comment this line, if you use an older TeX-Distribution
usepackage[utf8]inputenc
usepackageamsmath,amsthm
%addtokomafontdispositionrmfamily
usepackagethmtools
declaretheoremstyle[headfont=usekomafontdisposition]thm
declaretheorem[style=thm]thm
begindocument
sectionIntroduction to the theorem
Introduction of something. Here's the theorem:
beginthm[Note]
This is a theorem.
endthm
enddocument
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 PreventPackageFromLoadingremreset
is used in the example.
answered 7 hours ago
esddesdd
61.2k35094
61.2k35094
add a comment |
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%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
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