AZ logo

CTAN directory: /macros/latex/contrib/lapdf

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
lapdf PDF drawing directly in TeX documents.

Files

Name Size* Date UTC Notes
README 5 KiB 2011-Sep-01 Shown below
arcs.pdf 48 KiB 2011-Sep-01
arcs.tex 3 KiB 2011-Aug-28
bezier.pdf 29 KiB 2011-Sep-01
bezier.tex 1 KiB 2011-Aug-30
bezinfo.pdf 179 KiB 2011-Sep-01
bezinfo.tex 17 KiB 2011-Sep-01
buttrfly.pdf 62 KiB 2011-Sep-01
buttrfly.tex 1 KiB 2011-Aug-30
cfamily.pdf 131 KiB 2011-Sep-01
cfamily.tex 3 KiB 2011-Aug-30
chrysant.pdf 63 KiB 2011-Sep-01
chrysant.tex 1 KiB 2011-Aug-30
circle.pdf 108 KiB 2011-Sep-01
circle.tex 1 KiB 2011-Aug-30
colors.pdf 46 KiB 2011-Sep-01
colors.tex 1 KiB 2011-Aug-31
conic.pdf 71 KiB 2011-Sep-01
conic.tex 2 KiB 2011-Aug-31
curve.pdf 41 KiB 2011-Sep-01
curve.tex 1 KiB 2011-Sep-01
curveto.pdf 41 KiB 2011-Sep-01
curveto.tex 2 KiB 2011-Sep-01
cycloid.pdf 97 KiB 2011-Sep-01
cycloid.tex 2 KiB 2011-Aug-28
drawing.pdf 26 KiB 2011-Sep-01
drawing.tex 1 KiB 2011-Aug-31
ellipse.pdf 47 KiB 2011-Sep-01
ellipse.tex 1 KiB 2011-Aug-28
fplot.pdf 222 KiB 2011-Sep-01
fplot.tex 6 KiB 2011-Sep-01
geometry.pdf 62 KiB 2011-Sep-01
geometry.tex 1 KiB 2011-Aug-31
grids.pdf 224 KiB 2011-Sep-01
grids.tex 1 KiB 2011-Aug-26
hippo.pdf 103 KiB 2011-Sep-01
hippo.tex 1 KiB 2011-Aug-26
lapdf.pdf 178 KiB 2011-Sep-01
lapdf.sty 63 KiB 2011-Sep-01
lapdf.tex 12 KiB 2011-Sep-01
licence.txt 31 KiB 2011-Sep-01
line.pdf 19 KiB 2011-Sep-01
line.tex 1 KiB 2011-Aug-31
polygon.pdf 16 KiB 2011-Sep-01
polygon.tex 1 KiB 2011-Aug-26
polynom.pdf 69 KiB 2011-Sep-01
polynom.tex 1 KiB 2011-Aug-31
pplot.pdf 119 KiB 2011-Sep-01
pplot.tex 2 KiB 2011-Aug-26
preamble.tex 258 bytes 2011-Aug-25
pythagor.pdf 38 KiB 2011-Sep-01
pythagor.tex 2 KiB 2011-Aug-31
qcircle.pdf 70 KiB 2011-Sep-01
qcircle.tex 2 KiB 2011-Aug-29
quartic.pdf 47 KiB 2011-Sep-01
quartic.tex 1 KiB 2011-Aug-30
rational.pdf 42 KiB 2011-Sep-01
rational.tex 2 KiB 2011-Aug-29
rcircle.pdf 188 KiB 2011-Sep-01
rcircle.tex 9 KiB 2011-Aug-31
rcurve.pdf 64 KiB 2011-Sep-01
rcurve.tex 3 KiB 2011-Aug-26
recttria.pdf 19 KiB 2011-Sep-01
recttria.tex 1 KiB 2011-Aug-26
roundtri.pdf 88 KiB 2011-Sep-01
roundtri.tex 1 KiB 2011-Aug-30
rparams.pdf 117 KiB 2011-Sep-01
rparams.tex 2 KiB 2011-Aug-26
superell.pdf 90 KiB 2011-Sep-01
superell.tex 2 KiB 2011-Sep-01
tplot.pdf 70 KiB 2011-Sep-01
tplot.tex 3 KiB 2011-Aug-31
trochoid.pdf 89 KiB 2011-Sep-01
trochoid.tex 2 KiB 2011-Aug-27
turtle.pdf 27 KiB 2011-Sep-01
turtle.tex 3 KiB 2011-Aug-27
vector.pdf 23 KiB 2011-Sep-01
vector.tex 1 KiB 2011-Aug-27

  *File sizes in kibibytes.

Contents of README

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)