Examples — Recent
Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.
![Likert scale](https://writelatex.s3.amazonaws.com/published_ver/25715.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=6ca69a47a1581c73626d8687926840b4c9933914b4e3560161a5a8f0bec773a9)
Likert scale
A Likert scale with options ranging from Strongly disagree to Strongly agree can be usefull in (printed) surveys if one wants to measure agreement or disagreement from respondents.
Nils Van Dessel
![Flag of China](https://writelatex.s3.amazonaws.com/published_ver/17575.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=eed945fdcb09ca23734a2ab292d4c70d8946c793294984261394e214c3d219ac)
Flag of China
Flag of the People's Republic of China, according to official government specifications
Senan Sekhon
![Flag of the United Kingdom](https://writelatex.s3.amazonaws.com/published_ver/17466.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=9be303fd39b508a4fcd0157a60caba562bc1dc77906455b180874f72be4e8f53)
Flag of the United Kingdom
Flag of the United Kingdom of Great Britain and Northern Ireland, according to official government specifications
Senan Sekhon
![Bangladesh Flag](https://writelatex.s3.amazonaws.com/published_ver/15587.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ca1969e01f810f6aee7a6a1112cb840f5e8375f58e7160a6faf8b38834f8cb98)
Bangladesh Flag
Flag of Bangladesh created with dimensions and color information retrieved from Wikipedia
Kazi Aurnob
![Using LuaTeX to convert interword glue to spaces and kerns](https://writelatex.s3.amazonaws.com/published_ver/14618.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=15a73a51c77ce763a692958a34b2d795cc823e726cbae15b6350a3fc78f16ee1)
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
![Waggoner Proof Template with Table](https://writelatex.s3.amazonaws.com/published_ver/13790.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ce688d8174411556825c8a1eb434a10b714a24857cbfe798b1cd8143ec838128)
Waggoner Proof Template with Table
A proof template with a truth table. The table is added as a figure, has a caption and a label, and there is a reference to the table (as a figure) in the prose.
Martha Ellen Waggoner
![Bibliography management: thebibliography environment](https://writelatex.s3.amazonaws.com/published_ver/12376.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=46cc122129f763f156c0b394345f0fc3c857706a107c5f2a8ebb46403b1678f9)
Bibliography management: thebibliography environment
This document is an example showing how to use the thebibliography environment for bibliography management.
This example was originally published on ShareLaTeX and subsequently moved to Overleaf in November 2019.
Uploaded from ShareLaTeX
![Example of qtree package](https://writelatex.s3.amazonaws.com/published_ver/12182.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5689acf4f4a1d321b3c2b579d394ba5623bbcf77b6899a77c99ed19e5f4f934e)
Example of qtree package
A demonstration of the qtree package, by way of its documentation.
Source and further information is available on CTAN.
This example was originally published on ShareLaTeX and subsequently moved to Overleaf in November 2019.
Uploaded from ShareLaTeX
![Flashcards example](https://writelatex.s3.amazonaws.com/published_ver/12159.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T185405Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=6125295d4257d6bd9fb73e56fbc0e7ed5486befd1a54fd7d91f4bdc7ff58ee59)
Flashcards example
Example using the flashcards class.
This example was originally published on ShareLaTeX and subsequently moved to Overleaf in October 2019.
Uploaded from ShareLaTeX