Examples — Recent

Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.

Example: Linear Regression with pgfplots
Example: Linear Regression with pgfplots
Example: Linear Regression with pgfplots
Venn Diagrams in LaTeX
Venn Diagrams in LaTeX
Venn Diagrams in LaTeX
Homework Template
Homework Template
Homework Template. Note: This is a modified version of the original template by Dana Ernst.
Sarah Wright (based on the a original by Dana Ernst)
Package Test: algorithm/algorithmic
Package Test: algorithm/algorithmic
Package Test: algorithm/algorithmic
Solution to the pie problem - with the help of Justin Bieber
Solution to the pie problem - with the help of Justin Bieber
Solution to the pie problem - with the help of Justin Bieber
Exploring underfull or overfull boxes and badness calculations
Exploring underfull or overfull boxes and badness calculations
This article (17 pages) was written to accompany an Overleaf help item. It explores the meaning of underfull or overfull boxes and examines the calculation of badness using an \hbox with finite and infinite glues. We have tried to provide a range of examples to demonstrate various aspects of TeX engines’ box-construction behaviour and the underfull or overfull “diagnostic messages” issued by TeX engines during the box-creation process.
Graham Douglas
Using LuaTeX to convert interword glue to spaces and kerns
Using LuaTeX to convert interword glue to spaces and kerns
PDF accessibility requirements stipulate that word breaks must be represented explicitly in the PDF. However, TeX engines do not use space characters to separate words: they use interword glue. This project shows how you can use LuaTeX to replace interword glue with space characters and kerns without affecting the visual appearance of typeset text. To understand the difference this makes for users of accessibility software, listen to this sound recording made using Adobe Reader DC's Read Out Loud feature. It records the two lines of text in this project being read out loud, before and after converting glue to spaces. This is a plain TeX file compiled using LuaTeX. It is for experimental use only and not intended to be a full, production-quality solution. Primarily, it is designed to assist with understanding technical issues related to accessible PDFs. The Lua code in this project is based on the earlier Overleaf article Boxes and Glue: A Brief, but Visual, Introduction Using LuaTeX. Note This project uses its own simple and very minimal OpenType font loader derived from this code: http://wiki.luatex.org/index.php/Use_a_TrueType_font.
Graham Douglas
Mapa Conceptual SE
Mapa Conceptual SE
A horizontal stepped concept map.
Juan Samuel Soto González
日本語縦書きテンプレート / Japanese Tategaki Templete
日本語縦書きテンプレート / Japanese Tategaki Templete
日本語縦書き用のてんぷれーと A template for Japanese vertical text.
にほんご大好きくん