Examples — Recent

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

6.046
MIT 6.046 homework template.
MIT 6.046 Staff
Math
Hello! Here's how this works: You edit the source code here on the left, and the preview on the right shows you the result within a few seconds. Bookmark this page and share the URL with your co-authors. They can edit at the same time! You can upload figures, bibliographies, custom classes and styles using the files menu. This presentation is made with the Beamer package. For tutorials and more info, see: http://en.wikipedia.org/wiki/Beamer_(LaTeX) We're still in beta. Please leave some feedback using the link at the top left of this page. Enjoy!
David James
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
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
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
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
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
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
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