Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .