# Examples — Recent

Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below. A simple example showing how to create Harvard style referencing in LaTeX
The following examples show how to produce Harvard style references using biblatex. See this post on TeX StackExchange for further discussion on the Harvard referencing style, and this post for more details on switching to biblatex if you're more familiar with e.g. natbib.
John Hammersley Math
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
altermundus 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
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
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