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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4dea73f94882e3634ced1b2e8977f613a4eb478439d11f4a5fcab9b3ca65f636)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=023ad547df9b2dc1137bbe4f545ac04adbe48cbccc66362702ce5ed16fd2f208)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=925e484d049cb1d9fdb9a4605a2c5d26a261780adbee8992fac9bd8fa1385195)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=b7947c9e472533634d59fa5d00f286ab28672c360393d2219f0aeaa8449bff41)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=953b02d54c033861a22c6d9c7f265583f5aa58214e41c3f80286f886ff683fe2)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a2bb963f5de3ff95349e5f743dda3c4391178a93372a8537cb201f87d047121e)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=3595dce3ecd84d75fa77828b1e3ffc4710b3256be4ad8133caae3192b0a8fa37)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=3a78a24063d41040658e507d52a5119d183de1e7bbe48307b9154cb12dff4f53)
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=20240701T021839Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=69b7084d4e586597399cd25a25f0b463cfd04f1e7f1a82330c9bc498455ce6ca)
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