I am using the scrbook class document and observed that the heading, subheading and caption fonts are different from the normal text font style.
Along-with the scrbook settings, I have caption package included, which helps me changing the caption font style only. But I'm not sure how can I change the heading and subheading fonts. Once I know the normal text style, I can copy the same style into caption package.
But how can I make them all (heading, subheading, caption and normal text) of same style, but of different sizes? However, the chapter titlefont style should remain the same.
MWE:
\documentclass[
fontsize=11pt, % Schriftgröße
DIV=12, % Seitenaufteilung
BCOR=5mm, % Bindekorrektur
ngerman, % für Umlaute, Silbentrennung etc.
Inhaltsverzeichnis ein
]{scrbook}
\usepackage[textfont={small,sf},labelfont={small,bf,sf},labelsep=endash,format=hang,justification=justified]{caption}
\usepackage{titlesec, graphicx, geometry, titlecaps}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
%Chapter Headers%
\titleformat{\chapter}[display]{} {\normalfont\Large\scshape\titlecap{\chaptertitlename}\enspace\scalebox{1.8}{\thechapter}\filright} {8ex}{\Huge\bfseries\sffamily\filleft}[{\titlerule[0.5pt]}]
\titlespacing*{\chapter}{0pt}{30pt}{20pt}
\chapter{Fruits}
\section{Apple}
The most of the fiber in apples is soluble fiber...
\begin{figure}[h!]
\caption{Apple Apple Apple Apple }
\end{figure}
\subsection{Apple}
Most of the fiber in apples is soluble fiber...
\end{document}


captionas that of normal text font. I tried the link you suggested and that works too. But I can only change the sizes, not the style; as I don't know the text style name. How can I find the name of the font I'm using? I can then use the\setkomafont{<section>}{<font>}to set standard sizes. Lastly, if I removetitlesec, chapter headings changes and I don't get atitlerule. @Werner – Yousaf Oct 23 '16 at 13:36\rmfamily. – Werner Oct 23 '16 at 13:54\newcommand*{\myfont}{\fontfamily{<cmr>}\selectfont}and\setkomafont{section}{\LARGE\cmrfamily}commands but the section font remain the same, in both cases. @Werner – Yousaf Oct 23 '16 at 14:30