Examples — Recent
Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.
![Track Changes in LaTeX with trackchanges](https://writelatex.s3.amazonaws.com/published_ver/89.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=7155b70aecfa5b768371f7a03c9bdcfbd1801ef47e71ba9ac7d1f9a33f9d1b8e)
Track Changes in LaTeX with trackchanges
Note: TrackChanges is not part of TeX Live, and hasn't been updated in a while. Instead, changes.sty, a package for the same purpose, is available in TeX Live and more recent. You can find the example template here.
TrackChanges is a package for collaboratively editing LaTeX documents which allows multiple editors to make changes & add annotations to a document.
Here we present a short example of it's use, which you can use as a template to get started.
writeLaTeX
![Example: Custom Nimbus TTF Font](https://writelatex.s3.amazonaws.com/published_ver/87.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=77c3deb474b6e7fdbe8fb7eb0af6214e5ed528fbc8fd6723b20b7a9e16ca0783)
Example: Custom Nimbus TTF Font
Example: Custom Nimbus TTF Font
![Chinese: A Visit to Qiantang Lake in Spring (钱唐湖春行)](https://writelatex.s3.amazonaws.com/published_ver/83.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=1fdb593997d19cdb3715f42739da3b2336c05fce8429277ca96648d19ab8c772)
Chinese: A Visit to Qiantang Lake in Spring (钱唐湖春行)
This example shows how to write simplified Chinese characters in LaTeX with the CJKutf8 package. WriteLaTeX includes a full set of fonts for simplified Chinese, and we use utf-8 encoding, so you can type simplified Chinese characters directly into your LaTeX source code and have them appear in the output.
Bai Juyi
![Bound States in the Continuum](https://writelatex.s3.amazonaws.com/published_ver/11538.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ad4d981c65cc397b1acf134bb3b42a4bc3e5adc62f8c86ca5bcdced5ef68fc57)
Bound States in the Continuum
Poster created for presenting it in a student conference. Happy to share.
Daniel Prelipcean
![The first six levels of the Sierpinski triangle](https://writelatex.s3.amazonaws.com/published_ver/80.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=d440c37e8a103ecff55ba349d5d461b52c25cad7c566d0851942fed6a73db3ed)
The first six levels of the Sierpinski triangle
The first six levels of the Sierpinski triangle in LaTeX.
For some beautiful variations (and more information), see http://www.oftenpaper.net/sierpinski.htm
Jake on TeX SE
![Example: gnuplot + tikz](https://writelatex.s3.amazonaws.com/published_ver/4044.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=fd7915d3d425808a2bac7887c60076a793134816bb169c3867f7e922928fcc47)
Example: gnuplot + tikz
This is an example for re-creating gnuplot charts with tikz on LaTeX, made possible by adding gnuplot-lua-tikz.sty and gnuplot-lua-tikz-common.tex to your project. (These files can be generated by invoking lua gnuplot-tikz.lua style where gnuplot-tikz.lua can be found in $GNUPLOT/lua/gnuplot-tikz.lua.
(This will work with all engines, not just LuaLaTeX!)
Gudrun, LianTze Lim
![PagedeGardeMem](https://writelatex.s3.amazonaws.com/published_ver/8301.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=b8f193cb53683d9d6e7e48c5efe7dd6026c5cf7972fd9df610b97de69f24a9d5)
PagedeGardeMem
Page de garde memoire, version arabe, tikz, tcolorbox, polyglossia, fancybox.
SIFI Khedidja
![How to produce a list of prime numbers in LaTeX](https://writelatex.s3.amazonaws.com/published_ver/78.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=1624576559ec0bae4be4c5edff397685aba8b3270fceb5f61eb7c235ff647c19)
How to produce a list of prime numbers in LaTeX
How to produce a list of prime numbers in LaTeX
![Example of rotated text in LaTeX](https://writelatex.s3.amazonaws.com/published_ver/73.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021434Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4dfe992868ed0900973a2b6149638b09898ff0fde6fbf802de5ccecb8003e0df)
Example of rotated text in LaTeX
A minimal example of rotated text in LaTeX. All you need is
\usepackage{rotating}
in the preamble, and
\begin{turn}{45}
...
\end{turn}
around the text you wish to rotate (in this case, by an angle of 45 degrees).
This example was originally posted at: http://texblog.org/2013/10/01/rotate-an-image-table-or-paragraph-in-latex/
Tom at TeXblog