I'm trying to change the font inside of my pstricks code, but I can't change to the font I want to use. I'd rather use another code instead \usefont
.
This is my code:
\thispagestyle{empty}
\newgeometry{left=0cm,right=0cm,top=0cm,bottom=0cm}
\begin{pspicture}(0cm,29.7cm)
\newsavebox\IBox
\sbox\IBox{\includegraphics[height=29.7cm,width=21cm]{Capa2.eps}}
\psset{unit=1cm}
\rput[lb](-0.63,0){\usebox\IBox}
\rput(9.02,25.7){\usefont{T1}{phv}{b}{n}\fontsize{48pt}{48pt}\color{white}\selectfont $\text{Anotações Sobre o}$}
\rput(8.3,23.7){\usefont{T1}{phv}{b}{n}\fontsize{54pt}{48pt}\color{white}\selectfont $\text{Operador Nabla}$}
\end{pspicture}
I set on my document the Palatino font, but the text in pstricks I would like to use a font from here http://www.tug.dk/FontCatalogue/. Can you guys help me out?
Best Answer
Since I'm not sure what the question is (see queries in comments to original question), I'm obviously not sure if this answers it. However, I hope that it will at least be helpful and perhaps help sharpen the question if nothing else.
This example shows how to use two fonts within the picture. The first, Zapf Chancery, is configured directly. We set up
\zapfstyle
(analogous to\itshape
,\bfseries
etc.) and\textzf{}
(analogous to\textit{}
,\textbf{}
etc.).For the second, Brush Script, we make use of the provided package
pbsi
. This defines the two analogous commands for us as\bsifamily
and\textbsi{}
.The code
The output