In case you do not want the section number to the right of the section title in the table of contents (see BernS' answer), you could use the titlesec package to redefine the section header layout:
\documentclass{memoir}
\usepackage{lipsum}
\usepackage[explicit]{titlesec}
% \titleformat{<command>}[<shape>]{<format>}{<label>}{<sep>}{<before>}[<after>]
\titleformat{\section}[hang]{\normalfont\Large\bfseries}%
{\thechapter.}{4pt}%
{#1 \arabic{section}.}
\begin{document}
\tableofcontents
\chapter{Chapter}
\section{Section one}
\lipsum[1]
\section{Section two}
\lipsum[2]
\section{Section three}
\lipsum[3]
\end{document}
Credits go to Raphink's answer to my question regarding a problem I had with reading documentation properly. Consider voting his answer up. ;-)
From the tagging, it seems that you are using KOMAscript
and the class scrbook
. Then you change the font either with \setkomafont
or \addtokomafont
(see section 3.6, page 51 in the revised manual), and with the modifier chapterprefix
. Try:
\setkomafont{chapterprefix}{\rmfamily\Large\bfseries}
or, to change to a serif typeface only:
\addtokomafont{chapterprefix}{\rmfamily}
To change all sectioning to the default Roman font, reverse all font changes you have done to chapter
, and try
\addtokomafont{sectioning}{\rmfamily}
It seems from your comment that somebody has tampered with the definitions in your classfile. This minimal example works for me, giving me sans serif in heading and body text.
\documentclass[twoside,12pt,a4paper,pointlessnumbers,headsepline,idxtotoc]{scrbook}
\usepackage{fixltx2e}
\usepackage[UKenglish]{babel}
\usepackage{tgheros}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{blindtext}
\begin{document}
\blinddocument
\end{document}
In your document, comment out (or delete) all usepackage{secsty}
etc. that changes the headings. Or add packages and commands from you preamble to my code.
If you are going to use Helvetica as sans serif font, I suggest using the Tex-Gyre version instead, by loading the package tgheros
. I have changed my MWE correspondingly.
Best Answer
Here's a solution that doesn't make use of any particular LaTeX package. The code assumes that either XeLaTeX or LuaLaTeX is in use. I didn't make use of the
\FZzzh
instruction that's in your example code, though, as I don't have the font in question on my system.The point of this method is that cross-references to section numbers, elsewhere in the document, will continue to be typeset in the ambient text font, rather than in the particular sans-serif font and color that's desired for the sectioning number in the section headers.