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.

3.2. Inside, outside or in the middle?When we draw a double boundary for an object, one natural question iswhether the dimensions of the object are <strong>with</strong> reference to the outer orinner boundary. For example, if we specify the radius of a circle as 1 cmand give it a double border, is it the inner circle or the outer circle that hasradius 1 cm? By default, it’s the outer circle, but it can be changed <strong>with</strong> thehelp of the dimen parameter. Its possible values are inner, middle andouter and the default value is outer. The example below illustrates this:\begin{pspicture}(0,0)(2,2)\pscircle[doubleline=true,%doublesep=5pt,%dimen=outer]%(1,1){1}\end{pspicture}\hspace{.5cm}\begin{pspicture}(0,0)(2,2)\pscircle[doubleline=true,%doublesep=5pt,%dimen=middle]%(1,1){1}\end{pspicture}\hspace{.5cm}\begin{pspicture}(0,0)(2,2)\pscircle[doubleline=true,%doublesep=5pt,%dimen=inner]%(1,1){1}\end{pspicture}givesBorderline TricksDouble boundaryInside, outside or in the middle?Borders—visible or invisibleShadowsOnline L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ksc○2002, 2003, The Indian T E X Users GroupThis document is generated by PDFT E X <strong>with</strong>hyperref, pstricks, pdftricks and pdfscreenpackages on 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£ ¡ ¢ ¤ ¥ ¦ © 8/19

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

Saved successfully!

Ooh no, something went wrong!