Examples — Popular

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

Psfrag Example
Psfrag Example
Use the psfrag package to replace strings in EPS images, so that they are typeset with the same body font as your LaTeX document. Note that your project needs to be compiled with the LaTeX dvipdf engine. To configure this, after creating a new project, click on the Overleaf menu icon above the file list panel, and make sure the "Compiler" setting is set to "LaTeX". (The sample image is taken from the psfrag package.)
LianTze Lim
Álgebra
Álgebra
Ejercicios de álgebra tomados del Baldor (edición 1980). Algebra exercises from Baldor (1980 edition)
Alberto Ordonez
Blue Hyperlinks in Bibliography
Blue Hyperlinks in Bibliography
Hebrew / English Chicago Style History Paper, with the DOI fields suppressed in the bibliography, based on instructions from here, here and here.
Brandon Payne
Overleaf to Texmaker Bibtex Template
Overleaf to Texmaker Bibtex Template
get bibtex working on both in Overleaf (BibLaTeX) and Texmaker (MiKTeX, Apacite)
Lee Zhen Yong
Aligned mathematics
Aligned mathematics
Aligned mathematics
Using the Free Linux Libertine Fonts in LaTeX
Using the Free Linux Libertine Fonts in LaTeX
This example shows how to use the free Linux Libertine fonts on writeLaTeX. The Libertine font family provides serif fonts similar to Times New Roman. The source code is based on The LaTeX Font Catalogue.
The LaTeX Font Catalogue
The Mouse's Tale in LaTeX
The Mouse's Tale in LaTeX
This example from section three of the LaTeX verse package documentation demonstrates an ambitious use of \indentpattern to create a striking visual effect. In this case it is defined to recreate the famous typesetting of the original Mouse's Tale as it appeared in print. Background: "The Mouse's Tale" is a poem by Lewis Carroll involving a 'quadruple pun' which appears in his novel Alice's Adventures in Wonderland. It uses typesetting style to create the final pun (it is a mouse's tale typeset in the shape of a mouse's tail). For more details see the poem's Wikipedia entry.
Lewis Carroll
Escher Illusions in LaTeX
Escher Illusions in LaTeX
A drawing in TikZ. The first picture draws an impossible brick, which induces an optical illusion similar to that triggered by Escher's impossible cube. The second picture draws a Penrose triangle, another similar optical illusion.
Julien Cretel
Creating Partial Table of Contents using titletoc
Creating Partial Table of Contents using titletoc
This example shows how to create partial tables of contents using the titletoc package.
LianTze Lim