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