I use memoir class and got some problems with ToC.
Chapter style defined as:
\font\robotoLarge="name:Roboto:protrusion=default;expansion=default;tlig;trep" at 24pt
\makechapterstyle{general}{
\renewcommand*{\chapterheadstart}{\vskip 30mm}
\renewcommand*{\printchaptername}{}
\renewcommand*{\printchapternum}{}
\renewcommand*{\printchaptertitle}[1]{\hspace*{16mm}\robotoLarge{}##1\rule[-1ex]{0pt}{1ex}}
\renewcommand*{\afterchaptertitle}{\hrule height 0.5mm\vskip 40pt}}\chapterstyle{general}
But when ToC is created, the chapter style is defferent: the font is smaller, the \hrule has no space before and sticks to letters. How can the style of ToC be fixed to be the same as my main chapterstyle?
fontspecfacilities for defining the "Roboto" font for usage in your document, not resorting to the\fontprimitive. – egreg Mar 19 '12 at 13:42fontspec. – SadChi Mar 20 '12 at 6:35