Examples — Recent

Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.

Cardioid (from an idea of O. Reboux)
Cardioid (from an idea of O. Reboux)
LaTeX is great for plotting mathematical shapes -- here we present an example of a cardioid. A cardioid is a plane curve created by tracing a point on the perimeter of a circle rolling around a fixed circle of the same radius. Read more Original source: http://www.altermundus.fr/pages/euclide.html
altermundus
PSTricks LaTeX Example 7: Drawing a circle
PSTricks LaTeX Example 7: Drawing a circle
PSTricks provides a number of built in functions to enable the quick creation of figures, graphs and diagrams in LaTeX. Here we see how to use the built in command for drawing a circle. Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
Megan
PSTricks LaTeX Example 6: Drawing a polygon
PSTricks LaTeX Example 6: Drawing a polygon
The pstricks package can be used to quickly draw polygons and other shapes in LaTeX, as an alternative to the TikZ package. This short example shows how to use pstricks to draw a polygon with some simple styling. Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
Megan
PSTricks LaTeX Example 5: Graphing a trig function
PSTricks LaTeX Example 5: Graphing a trig function
Following on from example 4 which showed how to plot the graph of a function in LaTeX using pstricks, here we extend the example to show how trig functions such as cos, sin and tan can be plotted. Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
Megan
PSTricks LaTeX Example 4: Graphing a function
PSTricks LaTeX Example 4: Graphing a function
A short example to show how to use pstricks to plot the graph of a function in LaTeX. Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
Megan
PSTricks LaTeX Example 3: Graphing a curve through specific points
PSTricks LaTeX Example 3: Graphing a curve through specific points
A quick example to demonstrate how pstricks can be used to show a curve between points, and to show the grid axes view. Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
Megan
PSTricks LaTeX Example 2: Graphing an interval
PSTricks LaTeX Example 2: Graphing an interval
This example shows how to use the pstricks package to indicate an interval region. Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
Megan
PSTricks LaTeX Example 1: Plotting points
PSTricks LaTeX Example 1: Plotting points
A short example showing how to use the pstricks package for plotting points on a graph with axes. Original source: http://www.thelazymathematician.com/p/pstricks-examples.html
Megan
Tikz airplane picture
Tikz airplane picture
Vectorized into eps by potrace, converted into metapost by pstoedit, manually edited into a tikz picture, cleaned up a bit. Source: https://github.com/lahvak/TeX-stuff/blob/master/plane.tex
lahvak