[pstricks] fonts and uput

Richard Hensh hensh at math.msu.edu
Tue Jun 20 19:37:02 CEST 2006


Thank you. The Latin Modern fonts are not yet available for mathematics.
Sorry to have wasted the group's time.

Thanks
ricky 

-----Original Message-----
From: pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] On Behalf
Of Patrick Drechsler
Sent: Monday, June 19, 2006 7:48 PM
To: pstricks at tug.org
Subject: Re: [pstricks] fonts and uput


Richard Hensh wrote on 19 Jun 2006 20:27:28 MET:

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

> Is this a PSTricks restriction?

You were using math fonts within the `uput' command.

--8<------------------------schnipp------------------------->8---
\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}

font

$font$

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

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

\end{document}
--8<------------------------schnapp------------------------->8---

HTH

Patrick
--
DJ:"You may not say YES,NO,BLACK,WHITE. OK, let's start. Are you still
sober?"
Caller: "No."
              Friday night radio documents the search for intelligence 

_______________________________________________
pstricks mailing list
pstricks at tug.org
http://tug.org/mailman/listinfo/pstricks




More information about the PSTricks mailing list