[OS X TeX] bold sf in memoir

Themis Matsoukas matsoukas at psu.edu
Sat Jan 21 06:51:44 EST 2006


Hi Morten,

A: Imagine if newspapers reported the news of the day starting with  
the big bang.
Q: Why isn't top-posting that bad after all?

Though I don't quite understand its workings, the command  
\DeclareFontShape{T1}{cmss}{b}{n}{<->sub*cmss/sbc/n}{} has fixed the  
problem.

Thanks,

Themis

On Jan 20, 2006, at 8:59 PM, Morten Høgholm wrote:

> 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/
>
>
>

------------------------- 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