# Myriad Pro: Chapter number style of the toc with pdfLaTex

I use the MinioPro and MyriadPro fonts in my document.

To compile I use the pdfLaTex.

I'm looking for an option to make the chapter numbers and page numbers (of the chapters) in the table of contents bold in Myriad Pro.

Here a MWE:

\documentclass[11pt]{scrreprt}
\usepackage[textlf,mathlf]{MinionPro}
\usepackage[toc,eqno,enum,bib,lineno]{tabfigures}

\begin{document}
\tableofcontents
\chapter{Chapter One}
\section{Section One}
\section{Section Two}
\chapter{Chapter Two}
\section{Section One}
\section{Section Two}
\end{document}


Thank you very much for some hints!

@maetra: I tried you code out in a new document with copy-paste but I got a different result. Why do we have a difference? Thank you!

That should do the trick, just let the package tocloft help you:

## MWE

\documentclass{scrreprt}

\usepackage[textlf,mathlf]{MinionPro}
\usepackage[toc,eqno,enum,bib,lineno]{tabfigures}

\usepackage[titles]{tocloft}

\renewcommand{\cftchapfont}         {\sffamily\bfseries}
\renewcommand{\cftchappagefont}     {\sffamily\bfseries}

\begin{document}
\tableofcontents
\chapter{Chapter One}
\section{Section One}
\section{Section Two}
\chapter{Chapter Two}
\section{Section One}
\section{Section Two}
\end{document}

• I tried you code out, but it seems to use the standard LaTeX fonts. See the updated question. – Fabio Oct 31 '13 at 18:19
• @Fabio Do you have the MyriadPro available? Try to load it via \usepackage[]{MyriadPro} before the renewcommand, maybe that helps you. – maetra Nov 1 '13 at 0:28
• @ maetra: I installed the MinionPro and MyriadPro following the guide at latex-community.org/forum/viewtopic.php?f=48&t=8415#p39693. I tryed to run the command \usepackage[]{MyriadPro} but the program claims it cannot find this map. In the guide is written to not use this command but intead \renewcommand{\sfdefault}{MyriadPro-LF}. Could this be my problem? How can I fix it? How did you install the package? – Fabio Nov 1 '13 at 9:46
• @Fabio use fontpro github.com/sebschub/FontPro, it will install a package with more options – maetra Nov 1 '13 at 10:36
• @Fabio if your problem is solved you can mark this answer as ‘Accepted’ by clicking on the tickmark below. If not, try to be more specific in your question so that the community can help you. – maetra Nov 4 '13 at 8:09