Examples of powerful LaTeX packages and techniques in use — a great way to learn LaTeX by example. Search or browse below.
Example of rotated text in LaTeX
A minimal example of rotated text in LaTeX. All you need is
in the preamble, and
around the text you wish to rotate (in this case, by an angle of 45 degrees).
This example was originally posted at: http://texblog.org/2013/10/01/rotate-an-image-table-or-paragraph-in-latex/
Tom at TeXblog
Test LaTeX file for the Rice University / Coursera Algorithmic Thinking (Part 1).
Drawing coloured boxes using tcolorbox
The package provides an environment for coloured and framed text boxes with a heading line. Optionally, such a box may be split in an upper and a lower part; thus the package may 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.
Thomas F. Sturm (uploaded by LianTze Lim)
Package Example: apacite
This example shows how to load and use the apacite package. The apacite package uses LaTeX and BibTeX to generate citations and a reference list, formatted according to the rules of the American Psychological Association.
Table cells with diagonal lines
This example demonstrates how to produce diagonal lines in table cells using the slashbox and diagbox packages.
The diagonal line produced by the slashbox package is rather jagged and unwieldy.
The diagbox package does a better job in general.
Try loading only one of these packages to see
the difference — if diagbox is loaded at all,
it overrides slashbox's behavior./p>
LianTze Lim (using sample text from slashbox.tex)
This example is being developed collaboratively in response to this question on the TeX StackExchange. Improvements welcome!
Benny Neugebauer and the TeX StackExchange Community