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

How to use Spanish accents in LaTeX
A short example showing how to set up the correct packages in your preamble in order to use Spanish accents in your LaTeX documents.
John Hammersley

Syntax Highlighting in LaTeX with the listings Package
This example shows how to set the options for automatic syntax highlighting for code in LaTeX with the listings package (which provides the lstlisting environment). The listings package supports many languages, including Java, C, C++, MATLAB/Octave and Python, and you can set the language option globally with \lstset or for each listing, when you have listings in multiple languages.
writeLaTeX

Folded 3D Tokens for Descent 2 Boardgame
PGF based LaTeX templates to make custom Folded 3D Tokens for boardgames.
Example done with Hero, Familiar and Monster Tokens for Descent: Journeys in the Dark (Second Edition)
urukwai

Hello World Example
This is the very simple example of a 'Hello, World!' document in LaTeX, from video #1 in the LaTeX video tutorial series by Dr Vincent Knight.
Dr Vincent Knight

Table markers with tikz in Beamer presentation
This is a basic example of how to use tikz to add markers to a table that vary across the different sliedes of a frame.
IAJ

Ejemplo de uso de condicionales para definir un nuevo Macro
Esta es un ejemplo de cómo utilizar casos condicionales para evaluar
las diferentes opciones de un parámetro de entrada en un nuevo macro
personalizado, en este ejemplo se condiciona el tipo intervalo que se
representa de acuerdo a si se trata de un intervalo infinito o no y
si es abierto o cerrado.
2017 por Fausto M. Lagos S. <piratax007@protonmail.ch>
Este trabajo puede ser distribuido o modificado bajo los
términos y condiciones de la LaTeX Project Public License (LPPL) v1.3C,
o cualquier versión posterior. La última versión de esta licencia
puede verse en:
http://www.latex-project.org/lppl.txt
Usted es libre de usarlo, modificarlo o distribuirlo siempre que se
respeten los términos de la licencia y se reconozca al autor original
Fausto Mauricio Lagos Suárez

Track Changes in LaTeX with trackchanges
Note: TrackChanges is not part of TeX Live, and hasn't been updated in a while. Instead, changes.sty, a package for the same purpose, is available in TeX Live and more recent. You can find the example template here.
TrackChanges is a package for collaboratively editing LaTeX documents which allows multiple editors to make changes & add annotations to a document.
Here we present a short example of it's use, which you can use as a template to get started.
writeLaTeX

Example: Custom Nimbus TTF Font
Example: Custom Nimbus TTF Font

Chinese: A Visit to Qiantang Lake in Spring (钱唐湖春行)
This example shows how to write simplified Chinese characters in LaTeX with the CJKutf8 package. WriteLaTeX includes a full set of fonts for simplified Chinese, and we use utf-8 encoding, so you can type simplified Chinese characters directly into your LaTeX source code and have them appear in the output.
Bai Juyi