12.07.2015 Views

graphics with PSTric..

graphics with PSTric..

graphics with PSTric..

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Graphics <strong>with</strong> <strong>PSTric</strong>ksis less. Thus\begin{center}\begin{pspicture}(-0.5,0.5)(5.5,3.5)\psframe[framearc=0.5](0,0)(5,3)\psframe[framearc=0.5](1,1)(4,2)\end{pspicture}\end{center}Getting the pointsDrawing DotsSimple LinesEnds of LinesBent Lines and PolygonsSimple CurvesgivesNote that the corners of the larger rectangle are more rounded, as shouldbe obvious from the definition of the framearc parameter. The radius ofthe corners can be made he same by setting the parameter cornersize toabsolute (its default setting is relative) and then setting the radius usingthe linearc parameter as in the example below:Online L A T E X TutorialPart II – Graphics\begin{center}\begin{pspicture}(-0.5,-0.5)(5.5,3.5)\psframe[cornersize=absolute,%linearc=0.5](0,0)(5,3)\psframe[cornersize=absolute,%linearc=0.5](1,1)(4,2)\end{pspicture}\end{center}c○2002, The Indian T E X Users GroupThis document is generated by PDFT E X <strong>with</strong>hyperref, pstricks, pdftricks and pdfscreenpackages in an intel PC running GNU/LINUXand is released under LPPLThe Indian T E X Users GroupFloor iii, sjp Buildings, Cotton HillsTrivandrum 695014, indiahttp://www.tug.org.in

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!