| Ralf Stubner 2006-09-27, 7:07 pm |
| "MyMichelle" <mymichelle_07@yahoo.com> writes:
> (1) I have this problem with using mathematical symbols in my section
> titles, because they don't come out bold in the section header. If I
> use boldmath, then they come out bold in the table of contents, which I
> don't want for subsections. Is there a way around this that doesn't
> involve editing the .toc file?
It is easy to achieve this with a KOMA Script class:
\documentclass[chapterprefix]{scrbook}
\addtokomafont{sectioning}{\rmfamily\bol
dmath}
\begin{document}
\tableofcontents
\chapter{Abc $y=x$}
def
\section{ghi $y=x$}
jkl
\subsection{ghi $y=x$}
jkl
\end{document}
Note that 'chapterprefix' and '\rmfamily' are only used to make scrbook
look similar to the default book.cls (at least at first sight).
Please also note that bold symbols in section headings are always a bit
dangerous since in mathematics bold symbols often have a different
meaning.
cheerio
ralf
|