I have a document using scrbook
as document class. Somewhere during the text I would like certain words to have exactly the same font size as the section titles.
Consulting the documentation, I found out that for class options headings=big|normal
the section title font size is Large
, while for headings=small
it is large
.
How can I always have the proper font size in case I switch to headings=small
without manually replacing all local font size declarations? In other words: how can I extract and transfer the current section title font size to some other text?
\addtokomafont{section}{\footnotesize}
\usefontofkomafont{section}
.\usesizeofkomafont{section}
if only the font size should be the same as for sections (but not the family, series, shape and all other settings as color etc.)