[OS X TeX] bold sf in memoir

Morten Høgholm morten.hoegholm at gmail.com
Fri Jan 20 20:59:19 EST 2006


On Sat, 21 Jan 2006 02:36:40 +0100, Themis Matsoukas <matsoukas at psu.edu>  
wrote:

Hi Themis,

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing when reading email or newsgroups?

I wrote:

>> In the log file I see
>>
>> ....\OT1/cmss/bx/n/10 X
>>
>> which is bold sans serif.

> Thanks to your test I realize that the conflict occurs because I load
>
> \usepackage{mathtime}
> \renewcommand{\sfdefault}{cmss}
> \renewcommand{\ttdefault}{cmtt}

The relevant lines in the mathtime package are:

\edef\@tempa{\rmdefault}
\def\@tempb {cmr}
\ifx\@tempa\@tempb
   \renewcommand*\sfdefault{phv}
   \renewcommand*\rmdefault{ptm}
   \renewcommand*\ttdefault{pcr}
   \renewcommand*\bfdefault{b}
\fi

As you can see, it redefines \bfdefault to simply b so when you try to do  
boldface, the combination cmss/b is tried but it doesn't exist. You  
logfile should also show you a warning for this.

You can define the fallback as
   \DeclareFontShape{T1}{cmss}{b}{n}{<->sub*cmss/bx/n}{}
in your preamble, here assuming you are using the recommended T1 encoding.  
As an alternative you can try the semibold condensed series as fallback;  
perhaps it fits better with Times Bold.
   \DeclareFontShape{T1}{cmss}{b}{n}{<->sub*cmss/sbc/n}{}
-- 
Morten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list