Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For some fonts, it's easy to replace the default font with something like: \renewcommand{\rmdefault}{somefont}.

However, some fonts, like BrushScriptX want you to use a special command like \bsifamily to use the font. In the

\bsifamily is defined in /usr/share/texmf-texlive/tex/latex/brushscr/pbsi.sty:

\DeclareRobustCommand\bsifamily{\fontencoding{T1}\fontfamily{pbsi}%
  \fontseries{xl}\fontshape{n}\selectfont}

In this case, I have a document that uses a cls stylesheet that I am editing. I'm using the standard includes to use this font:

\usepackage[T1]{fontenc}
\usepackage{pbsi}

If I try to use \renewcommand{\rmdefault}{bpsi} in my document's template, it fails with the error: Font shape `T1/pbsi/m/n' undefined

What might be the best way to replace the default roman font with BrushScriptX in a template, like \renewcommand{\rmdefault}{font} would?

share|improve this question
    
Answered on stack overflow (where you will find a bigger LaTeX community by far): stackoverflow.com/questions/877597/… –  dmckee Nov 10 '09 at 0:03
    
Thanks. I'll move this over there –  nilbus Nov 10 '09 at 3:50
add comment

1 Answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.