[OS X TeX] Problem with \textsc{}

Yan Zhou zhouyan1014 at gmail.com
Tue Jun 15 11:09:49 CEST 2010


Axel's code shall fix your problem. Are you sure in your preamble, the [T1] option is used when loading fontenc? In the original test file you sent, you have no option for fontenc, which means fontenc will have no actual effect.

On Jun 15, 2010, at 9:58 AM, Sr Sur wrote:

> You can still use Latin Modern and just for the bold small caps resort to cm-super. The following works, but you have to put in brackets the section title for the Contents, otherwise you get there also bold small caps:
> 
> If I typset your code the problem is fixed but witth my preamble theprobles is unfixed..... sorry. Perhaps the problem is with the Spanish babel....?
> 
> In the other hand perhaps Yan is in the correct way.. the differences between lmr and cmr are minimal taking a look...
> 
> 
> thanks fot your time... 
> 
> On 15 June 2010 09:05, Axel E. Retif <axel.retif at mac.com> wrote:
> On  14 Jun, 2010, at 18:18, Sr Sur wrote:
> 
> > some questions
> >
> > Yan, thanks!!
> >
> > \usepackage[T1]{fontenc}
> >
> > fix the problem perfectly, but only if I use cmr, but if I'm using lmr (\use package{lmodern}) doesn't fix the problem...
> 
> You can still use Latin Modern and just for the bold small caps resort to cm-super. The following works, but you have to put in brackets the section title for the Contents, otherwise you get there also bold small caps:
> 
> \documentclass{book}
> \usepackage[T1]{fontenc}
> \usepackage{lmodern}
> \newcommand{\versalitas}[1]{{\usefont{T1}{cmr}{bx}{sc}#1}}%
> \begin{document}
> \tableofcontents
> \chapter{The first}
> \section[First section with \textsc{versalitas}]{First section with \versalitas{versalitas}}
> \end{document}
> 
> 
> 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
> 
> 
> 
> 
> 
> -- 
> Atte: Sr. Sur
> 
> ----------- 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
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20100615/a823a01e/attachment.html>


More information about the macostex-archives mailing list