[OS X TeX] Problem with \textsc{}

Yan Zhou zhouyan1014 at gmail.com
Mon Jun 14 07:45:01 EDT 2010

The problem is that OT1/cmr/bx/sc is not defined, this font does not exit. Change the encoding to T1 for cmr or use any other fonts with /bx/sc face will solve the problem.
So the following is enough and the section text has proper bold weight and small caps. No need to use \usefont.
To be sure, you can check the Tesis.log in your test file, line 728

\chapter{The first}
\section{First section with \textsc{versalitas}}

On Jun 14, 2010, at 11:47 AM, Axel E. Retif wrote:

> On  14 Jun, 2010, at 04:33, Sr Sur wrote:
>> Hi everybody,
>> I have a problem witth \textsc. If I use this command in a section text, it appears as a normal text, but in the table of contents appears as with the correct Versalitas tipography.... Any idea that how can I fix the problem with the section text??
> \documentclass{book}
> \usepackage[T1]{fontenc}
> \newcommand{\versalitas}{\usefont{T1}{cmr}{m}{sc}}%
> \begin{document}
> \tableofcontents
> \chapter{The first}
> \section{First section with \versalitas{versalitas}}
> \end{document}
> The command
> \newcommand{\versalitas}{\usefont{T1}{cmr}{m}{sc}}
> is for Computer Modern (cmr); if you're using other family, you have to change that. But beware ---the small caps are in medium weight: they might look weird with a section title in bold.
> Best,
> Axel
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the MacOSX-TeX mailing list