overleaf template galleryLaTeX examples — Recent
Examples to help you learn how to use powerful LaTeX packages and techniques.
![Example: Custom Nimbus TTF Font](https://writelatex.s3.amazonaws.com/published_ver/87.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=b6c8f3dbaed972296b77ad901160eed892c04af03f7e05e426e6d4cf38462845)
Example: Custom Nimbus TTF Font
![Package Example: ArabTeX](https://writelatex.s3.amazonaws.com/published_ver/84.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=201bd4430cb4beb531a451ae03898568e1bd47d772a2d095c9715b1f67a7dc1b)
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=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=78b697220b30020ba6f32377692ed7f1a66e2b4400c517b9648224ef36d33d5f)
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.
![The first six levels of the Sierpinski triangle](https://writelatex.s3.amazonaws.com/published_ver/80.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=16c848a9b6b7d1e80c2c3a3fcec499f86953d7936df5c434883c86bd9c9a1dd7)
The first six levels of the Sierpinski triangle in LaTeX. For some beautiful variations (and more information), see http://www.oftenpaper.net/sierpinski.htm
![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=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=613156244f835549eedb65306a9eb7f51c6f6ddad14b945b9477261b6eb9eb0d)
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=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=6fd0d709e883c5a118b2b6aedba1edf74346faab8ad1a1185d3f4391a0d9770c)
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/
![Homework Problem Sheet Template](https://writelatex.s3.amazonaws.com/published_ver/66.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=13c00cf6beb0394255da3bbb4b6b867969edfe0a3cef2deba512a447306e8e4f)
Homework Problem Sheet Template
![Cases](https://writelatex.s3.amazonaws.com/published_ver/62.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5a4a91119ba406903ca30ba3c4adf4ac9be4246368ab19282f3606ba574aaeff)
Cases
![Aligned mathematics](https://writelatex.s3.amazonaws.com/published_ver/61.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250120T193539Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250120/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=7471a769130b4126e3a3fe8b48f1ec3f706d7672803cf90bcd10f5ce1054d39f)
Aligned mathematics
\begin
Discover why 18 million people worldwide trust Overleaf with their work.