[pstricks] Help With Letterhead Logo

Jean-Côme Charpentier Jean-Come.Charpentier at wanadoo.fr
Wed May 25 02:38:43 CEST 2005


rossi at york.cuny.edu wrote:
> Hello All:
> 
> Could someone help me to use pstricks to draw the "Y" on the main splash page of
> http://www.york.cuny.edu?
> 
> If I could do this with pstricks, then I could construct my own letterhead where
> the "Y" would be in the upper left-hand corner of the stationery.  All I would
> need is a couple of hints in the right direction.
> 

In fact it isn't an hard work.  The three parts could be stroke with 
pspolygon*.  Perhaps some parameters could be usefull, e.g.  \Lthick, 
\Mthick, \Rthick, \slantv, \slanth (for vertical slant and horizontal 
slant), etc.

For the text, I think that the best is to use PostScript fonts (Times 
and Helvetica in my source).

\documentclass{article}
\usepackage{mathptmx}
\usepackage{helvet}
\usepackage{pstricks}

\newrgbcolor{Ycolor}{0.82 0.0 0.0}

\newlength{\Ytmp}
\newcommand\Yorklogo{%
   \pspolygon*[linecolor=Ycolor]
                (0,1.8)(0.2,1.8)(2.3,0.7)
                (2.3,0)(2.1,0)(2.1,0.7)
   \pspolygon*[linecolor=Ycolor]
                (5.9,1.8)(4.8,1.8)(2.7,0.7)
                (2.7,0)(3.8,0)(3.8,0.7)
   \pspolygon*[linecolor=Ycolor]
                (6.5,1.8)(6.1,1.8)(4,0.7)
                (4,0)(4.4,0)(4.4,0.7)

}
\begin{document}
\begin{pspicture}(6.5,3.5)
   \rput(0,1.7){\Yorklogo}
   \rput[b](3.25,0.5){\scaleboxto(6.5,0.5)
     {\sffamily \bfseries \Ycolor YORK COLLEGE}}
   \rput[b](3.25,0){\scaleboxto(6.5,0.3)
     {\Ycolor The City University of New York}}
\end{pspicture}
\end{document}

   Jean-Côme Charpentier




More information about the PSTricks mailing list