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