Phil Tomson wrote:
I'm working on my thesis and every school seems to have their own
format rules...

I'm using article(koma-script).  I need all of the sections listed in
the TOC to be the same size font (12pt) as the rest of the text of the
thesis and they cannot be bold.  I've managed to get this working for
the sections and subsections in body of the thesis, but I haven't been
able to figure out how to do it in the TOC where sections end up being
bold san serif (the rest of the text is Roman).

put the preamble into your LyX doc

Herbert


\documentclass[a4paper,12pt]{article}

\makeatletter
[EMAIL PROTECTED]
  \ifnum [EMAIL PROTECTED] >\z@
    [EMAIL PROTECTED]
    \addvspace{1.0em [EMAIL PROTECTED]@}%
    [EMAIL PROTECTED] <==== Important width
    \begingroup
      \parindent \z@ \rightskip [EMAIL PROTECTED]
      \parfillskip [EMAIL PROTECTED]
      \leavevmode %\bfseries  %<==== normal font
      [EMAIL PROTECTED]
      \hskip -\leftskip
      #1\nobreak\hfil [EMAIL PROTECTED]@[EMAIL PROTECTED] #2}\par
    \endgroup
  \fi}
[EMAIL PROTECTED]@section
[EMAIL PROTECTED]@section
[EMAIL PROTECTED]@section
\makeatother

\begin{document}
\tableofcontents

\section{foo}
bar
\subsection{foo}
bar
\subsubsection{foo}
bar
\paragraph{foo}
bar

\end{document}








any ideas?

Phil



Reply via email to