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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=f9691e6e47c00960d11072ebc4dc24b6ec693c8c0632f6e89e85ab2ecf7d6bab)
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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=f4c465bf89e22c4236952ef324f86a8c4ad7562b6d23feb0ad2945618e452aee)
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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5384658e8616eccc6b7644631782adec7fa680c7e0b493910c0c27164dfc0520)
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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=51750ce7631dbcc106f321be13fb5ef394b121dfd93dec0d43d053a4bbd72856)
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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5b4961bc5eba56ebbd176ea44a5272949fb263ebb3031a63cf9de3f7c26b5d0c)
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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=43d7baf48b876effe0a6c3da30a7b97da2c59c9276009f0ce48cc729deff347d)
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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4592a34f6933a6139d7beaf2f6288748ecfc817054cafdcb312480b65db3ac63)
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=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=2c23157585935c0fc92cfee33b9eb0b8bac56d0a538fd132ac50f2757ff64d97)
Cases
Cases
![Aligned mathematics](https://writelatex.s3.amazonaws.com/published_ver/61.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240727T005422Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4ae2df7b3065b1ab1621ea1a898e1fe454a89d19470265cd7cf20f2210309d3a)
Aligned mathematics
Aligned mathematics