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. (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
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 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
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
Guia de Aplicação para o Doutorado Pleno no Exterior (Versão Colaborativa)
Guia de Aplicação para o Doutorado Pleno no Exterior (Versão Colaborativa)
Copyright (C) 2014 M. Moreira and D. Oliveira, . Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''.
Carol Maria
Aligned mathematics
Aligned mathematics
Aligned mathematics
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
The tcolorbox Package
The tcolorbox Package
tcolorbox provides an environment for colored and framed text boxes with a heading line. Optionally, such a box can be split in an upper and a lower part. The package tcolorbox can be used for the setting of LaTeX examples where one part of the box displays the source code and the other part shows the output. Another common use case is the setting of theorems. The package supports saving and reuse of source code and text parts.