[pstricks] Big arrow with text inside

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Mar 12 17:45:52 CET 2009

David Arnold schrieb:

> I'd like to create a large arrow with shaded fill and solid border.  
> Inside the arrow I'd like to center the text "Increasing", with the  
> arrow pointing to the right. I'd like to be able to translate this  
> arrow to a desired position. Similarly, I'd like a left pointed arrow  
> with the word "decreasing" inside.
> Any suggestions?

a simple one ...



\def\bigArrow{\pst at object{bigArrow}}
\def\bigArrow at i(#1,#2){%
  \begin at ClosedObj
  \pspolygon(#1,0)(#1,0.4)(!#2 0.75 sub 0.4)
    (!#2 0.75 sub 0.8)(#2,0)(!#2 0.75 sub -0.8)
    (!#2 0.75 sub -0.4)(#1,-0.4)
  \end at ClosedObj%



More information about the PSTricks mailing list