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.
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/