Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Adaption of 'Beauty of LaTeX' by Dario Taraborelli (2008)
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% Dario Taraborelli (2008)
% The Beauty of LaTeX
% URL:
% Some rights reserved: CC-BY-SA
\usepackage[dvipdfm, colorlinks, breaklinks, pdftitle={The Beauty of LaTeX},pdfauthor={Taraborelli, Dario}]{hyperref}
\newcommand{\red}[1]{\color{red} #1}
\newcommand{\old}[1]{\fontspec[Alternate=1,Ligatures={Common, Rare}, Swashes={LineInitial, LineFinal}]{Hoefler Text}\fontsize{24pt}{30pt}\selectfont #1}%
\newcommand{\smallprint}[1]{\fontspec{Adobe Garamond Pro}\fontsize{10pt}{13pt}\color{Gray}\selectfont #1}%
``\emph{N}{\textsc eque} porro quisquam est qui do{\red lorem ipsum} quia {\red dolor sit amet, consectetur, adipisci velit}.''
\raggedleft\smallprint{from sections 1.10.32 of Cicero's \emph{De finibus bonorum et malorum}, \url{}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.