[pstricks] fonts and uput

Richard Hensh hensh at math.msu.edu
Mon Jun 19 21:27:28 CEST 2006


How do I get the uput command to use a particular font? 

In the following minimal example, I would like the word ``font'' to be
typeset using the default fonts from the document. Instead, the font chosen
seems to be CMMI10?

FWIW, I'm using the latest updated and patched version of MiKTeX on a
Windows 2003 machine.

Is this a PSTricks restriction?

Thanks
ricky 

\documentclass[10pt,dvips]{article}

\usepackage{pst-plot,pst-math,pstricks-add}%

%%Use the type-1 Latin Modern fonts.
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}

\begin{document}

    \begin{pspicture}(-6,6)(-6,6)
        \uput{4pt}[0](2,1){$font$}
    \end{pspicture}

\end{document}




More information about the PSTricks mailing list