Examples — Recent
Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.
![Example: Custom Nimbus TTF Font](https://writelatex.s3.amazonaws.com/published_ver/87.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=8ee4f680522a4ce4905deaad7d2e79cd972ff5b0d0f3a53b34706f2f16daec79)
Example: Custom Nimbus TTF Font
Example: Custom Nimbus TTF Font
![Package Example: ArabTeX](https://writelatex.s3.amazonaws.com/published_ver/84.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=093fcb2bc7d8f523f704960309b6f8580318f891211a4a7362383ed4e20a49c6)
Package Example: ArabTeX
Package Example: ArabTeX
![Chinese: A Visit to Qiantang Lake in Spring (钱唐湖春行)](https://writelatex.s3.amazonaws.com/published_ver/83.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=f14a35e126b0038e3be768cf0b9a3e21e50b03910c99ebdef346592bba2424c8)
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
![The first six levels of the Sierpinski triangle](https://writelatex.s3.amazonaws.com/published_ver/80.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=f41ec4c01c0be8c0569713ba66302cb8989c8eda8a0fd190a41564e0349d64d5)
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
![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=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=f6213a6465aa6f6855785fed7ddd452cabc18bba66a31f72644dea27e5e05d6b)
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=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=16645fe42559ebcc0b913eac1f3844b3372f9b630bc49c3b2b29a12f2095bfad)
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
![Homework Problem Sheet Template](https://writelatex.s3.amazonaws.com/published_ver/66.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=1857e168255a594ecd4ab029e0ed45347064b7e889288f2022eb7829a2d045c7)
Homework Problem Sheet Template
Homework Problem Sheet Template
![Cases](https://writelatex.s3.amazonaws.com/published_ver/62.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=9829b337a3ec61d2716781f10c8c9d02c3bd782e60d9ac737ea74928dc05f122)
Cases
Cases
![Aligned mathematics](https://writelatex.s3.amazonaws.com/published_ver/61.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010311Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=c9ac121e27d3c14feb2f2c07c867d58fc36facf2c167a3189ea309c05c893715)
Aligned mathematics
Aligned mathematics