Examples — Recent

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

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
Example Event Poster with QR Codes
Example Event Poster with QR Codes
An event poster with a simple layout, courtesy of beamer. Try scanning the QR codes with a scanner app (e.g. "Scan" on iOS; "QR Droid" on Android and see what happens!
LianTze Lim
日本語縦書きテンプレート / Japanese Tategaki Templete
日本語縦書きテンプレート / Japanese Tategaki Templete
日本語縦書き用のてんぷれーと A template for Japanese vertical text.
にほんご大好きくん
Page de manuel
Page de manuel
J'ai essayé de reproduire sous LaTeX la mise en page d'un extrait du manuel de français Colibris à destination des 5e. On voit que LaTeX permet en particulier d'afficher des notes de bas de page directement en dessous d'un texte.
Nicolas Reichel
Matrix Table
Matrix Table
This is a redrawn from [1, page 35] using the 'matrix' library of TikZ. [1] Mathematics HL (Core) 3rd edition
tikz.vn (Le Huy Tien)
Program Correctness: Example
Program Correctness: Example
An example that shows how to write proof outlines in LaTeX.
Hans-Dieter Hiep
Multilingual document with babel and lualatex
Multilingual document with babel and lualatex
A sample of a multilingual document (Arabic, Greek, Hebrew, Japanese, Serbian, etc.) created with babel and lualatex. See also the following resources: Multilingual typesetting on Overleaf using babel and fontspec (XeLaTeX and LuaLaTeX) Gallery example here Multilingual typesetting on Overleaf using polyglossia and fontspec (XeLaTeX and LuaLaTeX) Gallery example here
Javier Bezos