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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=43571dc3934519bd1e8fb697c2749a960ece6f5a082c3daa40c290adb2f9e315)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ccfa428b2f953d3af593d24cd3622ddf7736597966efd2cdaf29e8a6b064482c)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=55cf2d596bceaefcfa871649b1775bd2e5c5b132559c037af90fe2a2a798db89)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=3cf3800153c2fbfd767f93ea1c596c76af139491b9d2e527227e1e87c5aa1296)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=26d014085d5afcb5393cc8931170734bec682de69673ee188b2d5a14d2b68eb9)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=3fce018bf53d06b983b1d48fda44eb17bcfa7c4cf23ca1d6c3a18be7a7920e67)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=3ff7bcb0b324e4c91f667363e79a01ca1979ba0feac4c2d5b8f0d398a9a059a8)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4bf1aa9bf8e9545bbe6f523ed39819713f13c2ad5a97169059119ccb0e73a667)
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=20240701T021425Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=436c723e2f755055f231b5412c8d2ec5f5aacbb74583c7f43052efbf7c222ba7)
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