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