Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
KOMA-Script: change font of sectioning headings to serif

I am using scrbook document class but want to change the default font to Times. However when I add:

\usepackage{times}

to the preamble, it does not change the font of the chapter, section or the ToC, but only the text. Am I missing something?

share|improve this question
    
@doncherry I swear I've looked for an "original" before I answered this. Voted to close. –  lockstep Oct 23 '12 at 20:47
    
@lockstep: That's quite alright, you don't have to apologize to me :) –  doncherry Oct 23 '12 at 20:59
add comment

marked as duplicate by doncherry, lockstep, cgnieder, Kurt, Harish Kumar Oct 23 '12 at 22:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 4 down vote accepted

By default, the KOMA-Script classes will typeset sectioning headings in sans-serif (and bold, \sffamily\bfseries), so changing the serif font to Times won't affect those headings. To switch to serif for headings, use \setkomafont{disposition}{\bfseries}. You should also replace the obsolete times package with mathptmx.

\documentclass{scrbook}

\usepackage{mathptmx}

\setkomafont{disposition}{\bfseries}

\usepackage{lipsum}

\begin{document}

\chapter{foo}

\lipsum[1]

\end{document}
share|improve this answer
    
Works perfectly! Thanks for the super fast reply! –  StevenHouben Oct 23 '12 at 20:21
2  
An alternative to mathptmx is the new newtx package, newtxtext and newtxmath. –  Guido Oct 23 '12 at 20:40
add comment

The font family is set to \sffamily for sectional titles. You can modify \sectfont for this:

enter image description here

\documentclass{scrbook}% http://ctan.org/pkg/koma-script
\usepackage{times}% http://ctan.org/pkg/times
\renewcommand*\sectfont{\normalcolor\bfseries}% removed \sffamily
\begin{document}
\chapter{Chapter title}
\end{document}​

However, the times package is superseded by mathptmx that provides math support in Times as well. Lockstep's answer is perhaps more Koma-Script-y.

share|improve this answer
    
\sectfont looks like a user command, but isn't documented. –  lockstep Oct 23 '12 at 20:17
    
Thanks for the quick reply! –  StevenHouben Oct 23 '12 at 20:19
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.