Index of /archives/text/CTAN/macros/latex/contrib/lapdf
Name Last modified Size Description
Parent Directory -
preamble.tex 2011-08-25 21:52 258
hippo.tex 2011-08-27 08:14 555
grids.tex 2011-08-27 08:19 1.1K
polygon.tex 2011-08-27 08:20 789
pplot.tex 2011-08-27 08:25 2.0K
rcurve.tex 2011-08-27 08:44 2.6K
recttria.tex 2011-08-27 08:45 578
rparams.tex 2011-08-27 08:47 1.9K
turtle.tex 2011-08-27 09:01 2.8K
vector.tex 2011-08-27 09:02 815
trochoid.tex 2011-08-27 13:43 2.5K
ellipse.tex 2011-08-28 13:08 644
arcs.tex 2011-08-28 15:22 3.1K
cycloid.tex 2011-08-29 08:33 1.9K
rational.tex 2011-08-29 09:19 1.7K
qcircle.tex 2011-08-30 08:47 1.6K
bezier.tex 2011-08-30 09:34 710
buttrfly.tex 2011-08-30 09:56 904
chrysant.tex 2011-08-30 09:58 1.0K
quartic.tex 2011-08-30 10:24 1.5K
circle.tex 2011-08-30 22:25 698
roundtri.tex 2011-08-30 23:26 938
cfamily.tex 2011-08-31 06:15 2.8K
colors.tex 2011-09-01 00:25 1.4K
conic.tex 2011-09-01 00:26 1.9K
drawing.tex 2011-09-01 00:27 1.2K
geometry.tex 2011-09-01 00:27 1.0K
line.tex 2011-09-01 00:28 802
polynom.tex 2011-09-01 00:29 1.1K
pythagor.tex 2011-09-01 00:30 1.8K
rcircle.tex 2011-09-01 00:31 9.2K
tplot.tex 2011-09-01 00:32 3.3K
superell.tex 2011-09-01 16:06 1.7K
superell.pdf 2011-09-01 16:36 90K
arcs.pdf 2011-09-01 16:39 48K
bezier.pdf 2011-09-01 16:39 29K
bezinfo.pdf 2011-09-01 16:44 179K
bezinfo.tex 2011-09-01 16:45 17K
buttrfly.pdf 2011-09-01 16:46 62K
cfamily.pdf 2011-09-01 16:47 131K
chrysant.pdf 2011-09-01 16:50 63K
circle.pdf 2011-09-01 16:52 108K
colors.pdf 2011-09-01 16:53 46K
conic.pdf 2011-09-01 16:53 71K
curve.tex 2011-09-01 16:54 1.5K
curve.pdf 2011-09-01 16:54 41K
curveto.tex 2011-09-01 16:55 1.6K
curveto.pdf 2011-09-01 16:55 41K
cycloid.pdf 2011-09-01 16:56 97K
drawing.pdf 2011-09-01 16:57 26K
ellipse.pdf 2011-09-01 16:57 47K
geometry.pdf 2011-09-01 16:58 62K
grids.pdf 2011-09-01 16:58 224K
hippo.pdf 2011-09-01 16:59 103K
lapdf.tex 2011-09-01 17:01 12K
lapdf.pdf 2011-09-01 17:01 178K
line.pdf 2011-09-01 17:02 19K
polygon.pdf 2011-09-01 17:02 16K
polynom.pdf 2011-09-01 17:02 69K
pplot.pdf 2011-09-01 17:03 119K
pythagor.pdf 2011-09-01 17:04 38K
qcircle.pdf 2011-09-01 17:04 70K
quartic.pdf 2011-09-01 17:04 47K
rational.pdf 2011-09-01 17:05 42K
rcircle.pdf 2011-09-01 17:05 188K
recttria.pdf 2011-09-01 17:06 19K
roundtri.pdf 2011-09-01 17:07 88K
rparams.pdf 2011-09-01 17:07 117K
tplot.pdf 2011-09-01 17:08 70K
trochoid.pdf 2011-09-01 17:10 89K
turtle.pdf 2011-09-01 17:11 27K
vector.pdf 2011-09-01 17:12 23K
rcurve.pdf 2011-09-01 18:27 64K
fplot.tex 2011-09-01 18:30 6.4K
fplot.pdf 2011-09-01 18:30 222K
licence.txt 2011-09-02 06:43 31K
README 2011-09-02 06:45 5.2K
lapdf.sty 2011-09-02 06:51 63K
Lapdf
-----
This is a short introduction for the Lapdf style. It has many instructive example
files to show the usage of this macro package. I hope, this style helps you to
produce nice graphics with the pdfTeX engine.
This package is distributed under the GNU general pupblic licence (GPL) and it's
free to use by everyone.
What is it?
-----------
Lapdf needs pdfTeX and the calc style, which is included in the LaTeX tools
folder as standard package. Lapdf is a drawing environment like the standard
LaTeX picture environment. So you can design you graphic from within the LaTeX
document. Lapdf uses pdfTeX to calculate everything and native PDF commands for
drawing everything. It lets you also put typesetted text into the graphic, which
is sometimes rather complicated in other packages.
Additionally to all the PDF drawing commands, Lapdf has a unique set of it's own
drawing primitives and other macros. Here is a list:
Math functions: These macros are used internally, but they can be also used in
your own drawings.
Sin, Cos, Tan, Asin, Acos, Atan, Sinh, Cosh, Tanh, Asinh,
Acosh, Atanh, Exp, Pow, Ln, Log, Pot, Root, Sqrt, Abs, Sig,
Mod, Len, Hypot, Direc, Rotpoint
Loop macros: There are two looping macros for repeating tasks:
- Whilenum{condition}{commands}
- Whiledim{condition}{commands}
PDF commands: These are the available PDF drawing primitives. I used my own
names, which differ only a bit from the original names:
- Gsave
- Grestore
- Setclip
- Stroke
- Closepath
- Setwidth
- Setcap
- Setjoin
- Setflat
- Setmiter
- Setdash
- Bezier
- Concat
- Translate
- Scale
- Rotate
- Rect
Typesetting: You can typeset text at position with direction with:
- Text
Drawing macros: Lapdf fully supports color without the need of any style file. Color
usage is specified as an option [black | color] in the preamble:
- Setcol
- Setgray
For repreated color changes (especially in loops) there are 96
rainbow colors defined, wich can be used with these macros:
- Stepcol
- Nextcol
- Resetcol
Here are the standard drawing primitives:
- Moveto
- Lineto
- Line
- Polygon
- Vecto
- Vect
- Vpolygon
- Rectangle
- Triangle
- Epolygon
- Circle
- Point
- Ellipse
- Arc
- Sector
- Arcto
- Fill
- Gfill
- Sfill
These are special Bezier curve additions, which are unique. Lapdf
lets you draw integral and also rational Bezier curves up to a
degree of seven.
- Curveto
- Curve
- Rmoveto
- Rcurveto
- Rcurve
- Quadratic
- Cubic
There are 5 kinds of grids availabe:
- Lingrid
- Logxgrid
- Logygrid
- Logxygrid
- Polgrid
You can plot functions in three different ways: normal functions,
parameter functions, polar functions with these commands:
- Fplot
- Tplot
- Pplot
Additionally you can plot polynoms (degree <= 3) directly and also
Tangents:
- Polynom
- Tangent
For special tasks you can also compute polynom values, derivatives,
partial and total derivatives:
- Fpoly
- Dpoly
- Df
- Dtx
- Dty
- Dtt
- Dpx
- Dpy
- Dpt
Some macros are useful shortcuts, like these:
- Thick
- Thin
- Dash
- Black
- Dred
- Dgreen
- Dblue
- Dcyan
- Dmagenta
- Dyellow
- Dgray
- Gray
- Red
- Green
- Blue
- Cyan
- Magenta
- Yellow
- White
Documentation:
--------------
There are several additional info files, which help you to use this package. I'm
still working on the documentation, but the intro chapter completed. This Lapdf
docs will be completed as soon as possible. The package itself will also be
updated regularly. If you find errors or have any suggestions for improvements,
please let me know.
I wish you happy Texing with Lapdf!
Detlef Reimers
---------------------------------------------------------------------------------
(Email: detlefreimers@gmx.de; Web: http://detlefreimers.de)