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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=b08fb34958189fc7bfa5ea9aad0ffe45b8db5bb2e70019afd7be63ef2a45ca24)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=9ece20b9cafd604955c1634fa3a3ad991002de0b9f9e2d6f15e15808a3078102)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=d94092083c1ecac3e5ca74e3ce2bc5bd11d783e9d88325bef2bc8907a39781dd)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=f79bd84098fdac4fc01e3fba2b4596fc29db12e2d5cdef21844218a42eb27330)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=67659ef5544f69b78a6543411bb4819fb3c9ecec19521cb9066ff32d45799c80)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=741464aa51c5fd63e57d05e857211ebc1d6fdd487e4f48248d21a06d5a20dcc6)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4da53d0f235b8a5fef631ac6293619a7f2faec081041ec7111ff06ce9f435630)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=cb5aca047eaa82bceab954f2052d32a1c61d4b66ad8b2d12f308f445524b549a)
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=20240701T002155Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=3460a8baa3faddb1cb4ad90fde41f5bd383dee2d88957a0b00f5f63dd6b36fd8)
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