Welcome to the PSTricks web site Basics |
|||||||||||||||||||||||||||||
|
Base line |
Defining new PSTricks object |
Infix notation |
Objects |
Optional argument |
pspicture environment |
pspicture environment in a tabular |
Special Coordinates |
Units, typesetting |
Infix notation Mathematical expressions must by default written in the Postfix notation, also known as Reverse Polish Notation. pst-plot supports the Infix notation with the option algebraic. For more information have a look at the package pstricks-add
Optional argument of the pspicture environmentWith a pspicture environment the lower left of the box is on the
current baseline. With an optional argument the baseline can be lifted up or down.
This is in opposite to the behaviour of the \raisebox macro, where
the box is shifted relative to the baseline.
Typesetting of units There is a commen sense to typeset units always upright (http://physics.nist.gov/Document/typefaces.pdf). In Germany we use it in the following way: \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage{upgreek} \begin{document} \Huge \[ 320\,\mathrm{mJ\,m\,K} \] \[ 320\,\mathrm{mJ\cdot m \cdot K} \] \[ \frac{3\,\textrm{eV}}{5\,\textrm{km}}\cdot 3\,\upmu\textrm{m} \] \end{document}With the package upgreek, greek letters like mu are also upright. For more information look at package SIUnits or read its documentation . New PSTricks objects |