Examples — Popular

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

Universidad Nacional Presentation
Universidad Nacional Presentation
A Beamer presentation with the Universidad Nacional de Colombia theme, modified from the Feather beamer theme.
German Dario Alvarez Rodriguez
Example: Custom Font
Example: Custom Font
Example: Custom Font
Estilos para escrever Código Fonte em \LaTeX
Estilos para escrever Código Fonte em \LaTeX
Estilos para código fonte para Java e R language!
Taciano Morais Silva
How to use Spanish accents in LaTeX
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
Using the CTeX Package on Overleaf (在Overleaf平台上使用CTeX)
Using the CTeX Package on Overleaf (在Overleaf平台上使用CTeX)
The CTeX package (http://ctan.org/pkg/ctex) provides a style common in Chinese typsetting. However, many CTeX-based templates uses fonts bundled with Windows, which are unavailable on Overleaf. This example shows how the CTeX package can be configured to use fonts installed on Overleaf. The default Fandol font works if you compile with XeLaTeX or LuaLaTeX. You may upload your own OTF/TTF fonts and use those also, but do be aware that Chinese font files are usually quite large! 应该有很多 CTeX 用户把自己的文件上载到 Overleaf 后,才发现由于没有 Windows 默认字体,文件不能编译而抓狂吧。不过这是可以改正的。在这个范例里,我们挪用了 Overleaf 伺服器上已有的字体,CTeX 文件就可以编译了。
LianTze Lim
Tracking changes in LaTeX with "changes" package
Tracking changes in LaTeX with "changes" package
The changes pack­age, distributed with TeX Live, al­lows the user to man­u­ally markup changes of text, such as ad­di­tions, dele­tions, or re­place­ments. Changed text is shown in a dif­fer­ent colour; deleted text is crossed out. The pack­age al­lows def­i­ni­tion of ad­di­tional au­thors and their as­so­ci­ated colour. It also al­lows you to de­fine a markup for au­thors or an­no­ta­tions. (Here's another customised example using avatars for the author annotations.)
LianTze Lim
A longtable + tabularx example
A longtable + tabularx example
The ltxtable combines the functionalities of longtable and tabularx. The trick is to put your longtable using tabularx-style X columns in a separate file, and then include this file in your main document using the command \LTXtable.
LianTze Lim
Automatic Acronym List in LaTeX
Automatic Acronym List in LaTeX
A simple example of creating a list of acronyms using the acronym package, which supports auto-expansion on first mention, and shortening on subsequent mentions.
LianTze Lim
Matrices
Matrices
Matrices