Created
October 3, 2010 06:13
-
-
Save wspr/608324 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper]{article} | |
\usepackage{geometry,pdflscape} | |
\usepackage{mathptmx,microtype} | |
\geometry{margin=1cm,top=3cm} | |
\def\text{There is no just ground, therefore, for the charge brought against me by | |
certain ignoramuses---that I have never written a moral tale, or, in more | |
precise words, a tale with a moral. They are not the critics predestined | |
to bring me out, and \emph{develop} my morals:---that is the secret. By and by | |
the ``North American Quarterly Humdrum'' will make them ashamed of their | |
stupidity. In the meantime, by way of staying execution---by way of | |
mitigating the accusations against me---I offer the sad history appended,--- | |
a history about whose obvious moral there can be no question whatever, | |
since he who runs may read it in the large capitals which form the title | |
of the tale. I should have credit for this arrangement---a far wiser one | |
than that of La Fontaine and others, who reserve the impression to be | |
conveyed until the last moment, and thus sneak it in at the fag end of | |
their fables.} | |
\newcommand\testline[2]{% | |
\begin{minipage}[t]{\testlinewidth} | |
\sffamily\begin{tabular}{@{}ll} | |
Leading: & #1pt\\ | |
Relative speed: & #2 | |
\end{tabular} | |
\par\bigskip | |
\rmfamily\fontsize{10}{#1}\selectfont\text | |
\end{minipage}} | |
\newcommand\rank[1]{\makebox[0pt][l]{\makebox[\testlinewidth][r]{\fbox{\LARGE#1}}}} | |
\newlength\testlinewidth | |
\newcommand\setlinewidth[1]{\newpage\section{Line width = #1}\setlength\testlinewidth{#1}} | |
\pagestyle{empty} | |
\setcounter{secnumdepth}{-1} | |
\setlength\parindent{0pt} | |
\begin{document} | |
\section{The top five} | |
\setlength\testlinewidth{3.2in} | |
\rank{1} \testline{12}{-0.0 (1)} | |
\hfill | |
\setlength\testlinewidth{3.2in} | |
\rank{5}\testline{14}{-2.0 (5)} | |
\vspace{5ex} | |
\setlength\testlinewidth{2.3in} | |
\rank{2}\testline{12}{-0.3 (2)}\hfill | |
\setlength\testlinewidth{2.3in} | |
\rank{3}\testline{11}{-0.6 (3)}\hfill | |
\setlength\testlinewidth{2.3in} | |
\rank{4}\testline{14}{-1.7 (4)} | |
\newpage | |
\setlinewidth{1.5in} | |
\testline{10}{-9.3 (20)}\hspace{1cm} | |
\testline{11}{-6.0 (15)}\hspace{1cm} | |
\testline{12}{-5.3 (13)}\hspace{1cm} | |
\testline{14}{-7.1 (16)} | |
\begin{landscape} | |
\setlinewidth{2.3in} | |
\testline{10}{-4.5 (10)}\hspace{1cm} | |
\testline{11}{-0.6 (3)}\hspace{1cm} | |
\testline{12}{-0.3 (2)}\hspace{1cm} | |
\testline{14}{-1.7 (4)} | |
\end{landscape} | |
\setlinewidth{3.2in} | |
\testline{10}{-5.0 (11)}\hspace{1cm} | |
\testline{11}{-5.1 (12)}\\[1cm] | |
\testline{12}{-0.0 (1)}\hspace{1cm} | |
\testline{14}{-2.0 (5)}\\[1cm] | |
\setlinewidth{5.2in} | |
\testline{10}{-3.7 (8)}\\[4ex] | |
\testline{11}{-3.8 (9)}\\[4ex] | |
\testline{12}{-2.4 (6)}\\[4ex] | |
\testline{14}{-3.6 (7)} | |
\setlinewidth{7.2in} | |
\testline{10}{-9.1 (19)}\\[4ex] | |
\testline{11}{-9.0 (18)}\\[4ex] | |
\testline{12}{-5.9 (14)}\\[4ex] | |
\testline{14}{-8.8 (17)} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment