Index of /archives/text/CTAN/macros/latex2e/contrib/lapdf
Name Last modified Size Description
Parent Directory -
grids.pdf 2011-09-01 16:58 224K
fplot.pdf 2011-09-01 18:30 222K
rcircle.pdf 2011-09-01 17:05 188K
bezinfo.pdf 2011-09-01 16:44 179K
lapdf.pdf 2011-09-01 17:01 178K
cfamily.pdf 2011-09-01 16:47 131K
pplot.pdf 2011-09-01 17:03 119K
rparams.pdf 2011-09-01 17:07 117K
circle.pdf 2011-09-01 16:52 108K
hippo.pdf 2011-09-01 16:59 103K
cycloid.pdf 2011-09-01 16:56 97K
superell.pdf 2011-09-01 16:36 90K
trochoid.pdf 2011-09-01 17:10 89K
roundtri.pdf 2011-09-01 17:07 88K
conic.pdf 2011-09-01 16:53 71K
qcircle.pdf 2011-09-01 17:04 70K
tplot.pdf 2011-09-01 17:08 70K
polynom.pdf 2011-09-01 17:02 69K
rcurve.pdf 2011-09-01 18:27 64K
lapdf.sty 2011-09-02 06:51 63K
chrysant.pdf 2011-09-01 16:50 63K
geometry.pdf 2011-09-01 16:58 62K
buttrfly.pdf 2011-09-01 16:46 62K
arcs.pdf 2011-09-01 16:39 48K
ellipse.pdf 2011-09-01 16:57 47K
quartic.pdf 2011-09-01 17:04 47K
colors.pdf 2011-09-01 16:53 46K
rational.pdf 2011-09-01 17:05 42K
curveto.pdf 2011-09-01 16:55 41K
curve.pdf 2011-09-01 16:54 41K
pythagor.pdf 2011-09-01 17:04 38K
licence.txt 2011-09-02 06:43 31K
bezier.pdf 2011-09-01 16:39 29K
turtle.pdf 2011-09-01 17:11 27K
drawing.pdf 2011-09-01 16:57 26K
vector.pdf 2011-09-01 17:12 23K
line.pdf 2011-09-01 17:02 19K
recttria.pdf 2011-09-01 17:06 19K
bezinfo.tex 2011-09-01 16:45 17K
polygon.pdf 2011-09-01 17:02 16K
lapdf.tex 2011-09-01 17:01 12K
rcircle.tex 2011-09-01 00:31 9.2K
fplot.tex 2011-09-01 18:30 6.4K
README 2011-09-02 06:45 5.2K
tplot.tex 2011-09-01 00:32 3.3K
arcs.tex 2011-08-28 15:22 3.1K
turtle.tex 2011-08-27 09:01 2.8K
cfamily.tex 2011-08-31 06:15 2.8K
rcurve.tex 2011-08-27 08:44 2.6K
trochoid.tex 2011-08-27 13:43 2.5K
pplot.tex 2011-08-27 08:25 2.0K
conic.tex 2011-09-01 00:26 1.9K
cycloid.tex 2011-08-29 08:33 1.9K
rparams.tex 2011-08-27 08:47 1.9K
pythagor.tex 2011-09-01 00:30 1.8K
rational.tex 2011-08-29 09:19 1.7K
superell.tex 2011-09-01 16:06 1.7K
curveto.tex 2011-09-01 16:55 1.6K
qcircle.tex 2011-08-30 08:47 1.6K
curve.tex 2011-09-01 16:54 1.5K
quartic.tex 2011-08-30 10:24 1.5K
colors.tex 2011-09-01 00:25 1.4K
drawing.tex 2011-09-01 00:27 1.2K
polynom.tex 2011-09-01 00:29 1.1K
grids.tex 2011-08-27 08:19 1.1K
geometry.tex 2011-09-01 00:27 1.0K
chrysant.tex 2011-08-30 09:58 1.0K
roundtri.tex 2011-08-30 23:26 938
buttrfly.tex 2011-08-30 09:56 904
vector.tex 2011-08-27 09:02 815
line.tex 2011-09-01 00:28 802
polygon.tex 2011-08-27 08:20 789
bezier.tex 2011-08-30 09:34 710
circle.tex 2011-08-30 22:25 698
ellipse.tex 2011-08-28 13:08 644
recttria.tex 2011-08-27 08:45 578
hippo.tex 2011-08-27 08:14 555
preamble.tex 2011-08-25 21:52 258
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)