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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=040082806eac6beed102bcddf2428404ab2d135778f6cbf02b8eb6c4e98d64ab)
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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=3a84ec9ddf7066a5c893e83e30c5a6dfbfe45c9874e231aa386ea4734dfb6c90)
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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=946c437ab667f71d1025e0f8edd8472f97137ba3a30a27dc2be0fb3bddae00cc)
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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=03759598f471c0a5831553ffca990921c086d6be66a344b5a9f10701744b8068)
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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=362ea5147e1148a4576f88f5b4d9c0cce9c304d6fe45b346bb24b66587f31386)
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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5bbaf7ea5dae4be0d04d722e54e345789153f3909a3339de2b35d0279663d60c)
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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4dd311d29e5f6ff8686f11e9da5e244bd3c4e2ab145dabd4f3a4f6cc30f573f5)
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=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4ca5f9be666d97fea6951878c993a4236b85f13efa1fff4a6b14eaf78ae56242)
Cases
Cases
![Aligned mathematics](https://writelatex.s3.amazonaws.com/published_ver/61.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240718T010049Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240718/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=d2e67cfbfe65d7903068417ab3b478eba14bd2be1064a8065f93b573de66379f)
Aligned mathematics
Aligned mathematics