This is one of examples the that appears in the TeXbook (pg. 411) and I tried my hands at typseting it but couldn't. I'm a newbie and was hoping someone here could help, please?
The code supposedly is:
\input concert
\tsaologo
\medskip
\centerline{Friday, November 19, 1982, 8:00 p.m.}
\bigskip
\centerline{\bf PROGRAM}
\medskip
\composition{Variations on a Theme by Tchaikovsky}
\composer{Anton S. Arensky (1861--1906)}
\smallskip
{\medtype
\movements{Tema: Moderato\cr
Var.~I: Un poco pi\`u mosso&Var.~V: Andante\cr
Var.~II: Allegro non troppo&Var.~VI: Allegro con spirito\cr
Var.~III: Andantino tranquillo&Var.~VII: Andante con moto\cr
Var.~IV: Vivace&Coda: Moderato\cr}
}
\bigskip
\composition{Concerto for Horn and Hardart, S.\,27}
\composer{P. D. Q. Bach (1807--1742)?}
\smallskip
\movements{Allegro con brillo\cr
Tema con variazione \(su un tema differente)\cr
Menuetto con panna e zucchero\cr}
\medskip
\soloists{Ben Lee User, horn\cr
Peter Schickele, hardart\cr}
\bigskip
\centerline{INTERMISSION}
\bigskip
\composition{Symphony No.\,3 in E\flat\ Major\cr
Op.\,55, ``The Eroica''\cr}
\composer{Ludwig van Beethoven (1770--1827)}
\smallskip
\movements{Allegro con brio\cr
Marcia funebre: Adagio assai\cr
Scherzo: Allegro vivace\cr
Finale: Allegro molto\cr}
\bigskip
\smalltype \noindent
Members of the audience are kindly requested to turn off the
alarms on their digital watches, and to cough only between movements.
\bye
Before entering the code (b/w the \begin and \end), this is what I type:
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{calc}
\headheight -0.5in
\textheight 9.5in
\begin{document}
\end{document}
Also, these macros (or definition - I don't know if they're the same thing) are to be used too:
\def\composition#1{\halign{\bf\quad##\hfil\cr
\kern-1em#1\crcr}} % use \cr's if more than one line
\def\composer#1{\rightline{\bf#1}}
\def\movements#1{\halign{\quad\it##\hfil&&\qquad\it##\hfil\cr#1\crcr}}
\def\soloists#1{\centerline{\bf\vbox{\halign{##\hfil\cr#1\crcr}}}}
And
\def\tsaologo{\vbox{\bigtype\bf
\line{\hrulefill}
\kern-.5\baselineskip
\line{\hrulefill\phantom{ THE ST.\,ANFORD ORCHESTRA }\hrulefill}
\kern-.5\baselineskip
\line{\hrulefill\hbox{ THE ST.\,ANFORD ORCHESTRA }\hrulefill}
\kern-.5\baselineskip
\line{\hrulefill\phantom{ R. J. Drofnats, Conductor }\hrulefill}
\kern-.5\baselineskip
\line{\hrulefill\hbox{ R. J. Drofnats, Conductor }\hrulefill}
}}
I've noticed that I can use some of the definitions. For example, I get an error when I try using \tsaologo but \composition{Variations on a Theme by Tchaikovsky} works fine. Also, \centerline command doesn't work, but just \center
