[OS X TeX] Problem with \textsc{}

Yan Zhou zhouyan1014 at gmail.com
Tue Jun 15 07:07:31 EDT 2010


I have no clue why it does not work. My understanding is that babel only affects hypen and other language related stuff, at least it has no effect on fonts loading. Sorry for not helping.

On Jun 15, 2010, at 12:03 PM, Sr Sur wrote:

> >Are you sure in your preamble, the [T1] option is used when loading fontenc?
>  
> I`m not sure... How can be sure?? 
> 
> I just have put it in the preamble of the test I sent you:
> \usepackage[T1]{fontenc}
> \usepackage{lmodern}
> \newcommand{\versalitas}[1]{{\usefont{T1}{cmr}{bx}{sc}#1}}%
> 
> thanks
> 
> On 15 June 2010 11:09, Yan Zhou <zhouyan1014 at gmail.com> wrote:
> 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
>> 
> 
> 
> ----------- 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://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100615/28468b06/attachment.html>


More information about the MacOSX-TeX mailing list