12.07.2015 Views

graphics with PSTric..

graphics with PSTric..

graphics with PSTric..

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.2. Placing and rotating T E X objectsThe \rput command can also be used for placing and rotating T E X material,which is usually text of some sort. Before giving examples of this, somethingmust be said about the way T E X does its typesetting job. Internally,T E X does this <strong>with</strong> boxes. For example, when you type {\Large boy} in yourdocument, you get boy after T E X has complied it and the printer driver hasprocessed it, but what T E X produces internally is something like b o y ormore precisely, <strong>with</strong> instructions on what to put in each box. In otherwords, individual characters are put in character boxes which are stringedtogether horizontally to form line boxes which again are packed verticallyinto paragraph boxes and so on.Note that in typesetting, the bottom of the letters <strong>with</strong>out descenders(such as for example, a, b, c, d, e but not f and g) are aligned along a line.This is called the baseline. In T E X every box has a width (no explanationneeded), height (which is its height above the baseline) and depth (which isthe distance it extends below the baseline) as shown below for two characterboxes:widthbywidthheightheightBASELINEBASELINEThus the “b” box has 0 depth, while the “y” box a positive depth. Note thatwhen these are joined to form the word “by”, the resulting box has positivedepth, equal to the depth of “y”depthPlacing ThingsPlacing and rotating <strong>PSTric</strong>ks objectsPlacing and rotating T E X objectsPutting labelsOnline L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ksE Krishnan, CV Radhakrishnan and AJ Alexconstitute the <strong>graphics</strong> tutorial team.Comments and suggestions may be mailed totutorialteam@tug.org.inc○2002, 2003, 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£ ¡ ¢ ¤ ¥ ¦ © 8/22

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

Saved successfully!

Ooh no, something went wrong!