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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=9d55460fd53ac01d9f7c7b7cb365abcaed7a5625267855762cc44e924929830f)
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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=e857b1f35db15a77cd46c5883cc45fbd6d83712c2586cd4bf3a17762c0d3879c)
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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=9b9c588d9ad0cd3f5f1ec9f88e0933204470f81f4bdaa0bc58fdbc4b71a5e0f9)
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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4f6fd173e0d0221d4af87508ab3f5bc913a8b7eab00c302f4048e4b73ba17975)
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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=b9defd32ddaf71d5e393cd58cfd9c3ca9f8a33adb69378ed7ea16fc20368dcd9)
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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=604e54a702bee4c324afd9ab3c1965997838e336b46a61adc8f736f04b2565e4)
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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=af86bb4e28b94e1a95546cdde9fd77763a5f2f55fc47582141d850cee5a01925)
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=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=47cbce6b71b26e129f0dd4ddb3c326377c9189607ab8136c293387df38065cdd)
Cases
Cases
![Aligned mathematics](https://writelatex.s3.amazonaws.com/published_ver/61.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240727T042813Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=1f5733ad7553da0411096d7dd7238acadcfcc9869d4ad19c49673fac3e6921d2)
Aligned mathematics
Aligned mathematics