% % some test sequences for PSNFSS distribution, \input by latest.tex and % slitest.tex. see those files for assumptions of style options. % \newsavebox{\Result} % a table using font styles and some maths \def\Test#1{% \gdef\thisize{\csname#1\endcsname}\thisize\rm \begin{tabular}{l}{\thisize #1}\\ {\thisize {\bf Bold} } \end{tabular}& \ifx\slide\undefined {\thisize\rm $\sqrt{\frac{\lambda\nabla}{1+\sum_i^j=\Omega}}$ } \else $a=\sqrt{B}$ \fi &\begin{tabular}{l}{% %\thisize {\sc S'Caps} }\\ {\thisize {\em Italic} }\end{tabular} \\ } %------------------ % % my dvips runs out of raster memory for fonts when I % try this page with all the combinations. dviscr doesn't, % or dvihplj. I wonder why dvips is so much more fussy? % \begin{Slide}{Font sizes and styles} \sbox{\Result}{{ \begin{tabular}{|l|ll|} \hline \Test{tiny} %\Test{scriptsize} %\Test{footnotesize} %\Test{small} \Test{normalsize} %\Test{large} %\Test{Large} %\Test{LARGE} %\Test{huge} \Test{Huge} \hline \end{tabular} }} % this shenanigans is to force the table onto a page regardless. Otherwise % slitex puts it on the next page, and leaves this blank. sigh. \wd\Result.9\textwidth \dp\Result.45\textheight \ht\Result.45\textheight \usebox{\Result} \end{Slide} \begin{Slide}{Punk, changebars and color} \bgroup \fontfamily{punk}\selectfont The {\bf first} generation of hypertext was an idea, a vision of Ted {\bf Nelson}; an information handling system sophisticated it transcended itself and encompassed all else within itself. It thus contradicts itself by also being the the {\em final} generation hypertext. \begin{changebar} {\bf Second generation} hypertext was an instantiation of a small part of Nelson's ideas in the shape of {\bf Hypercard}, providing a framework for fixed links between arbitrary objects combined with an unsophisticated overall hierarchy of information. \end{changebar} {\red {\bf Third} generation hypertext will offer a fusion of structured documents, which have an inherent set of links}, arbitrary infra-document jumps, and an object-oriented relational database to enhance and expand the `knowledge' being expounded. \cbstart {\blue Thus the universe is that of the traditional document but} \cbend its presentation and abilities are enhanced by the ability to bypass traditional navigation methods and access external information. \egroup \end{Slide} \begin{Slide}{Epsfig vs psfig} Epsfig, Width 2in, Height 2in: \framebox{\epsfig{figure=colorcir.eps,width=2in,height=2in}} Epsfig, Width 3in, Height .5in: \framebox{\epsfig{figure=colorcir.eps,width=3in,height=.5in}} Psfig, Width 3in, Height .5in: \framebox{\psfig{figure=colorcir.eps,width=3in,height=.5in}} \end{Slide} \begin{Slide}{Epsfig, clipping to BB} \framebox{\epsfig{figure=colorcir.eps,bbllx=216pt,bblly=360pt,bburx=564pt,bbury=576pt,% clip=,width=\textwidth}} \end{Slide} \begin{Slide}{Tables, color and changebars} \changebarwidth6pt {\Large \begin{tabular}{|l|>{\green}ll>{\bgroup\cyan}l<{\egroup}|} \hline &{\red 8pt}&{\red 10pt} &{\red 17pt}\\ \hline 14&1727&1440&\\ 17&2074&1728&\\ \cbstart 20& 2488&2074&1220\cbend\\ 24&2986&2488&1464\\ 29&3583&2986&1756\\ 34&4300&3583&2108\\ 41&5160&{\blue 4128}&2428\\ \hline \end{tabular} } \end{Slide} \begin{Slide}{Zapf Dingbats and Chancery} {\romanfont{zapf} \begin{dinglist}{65} \item \verb|\dingfill| (with the usual numeric parameter) acts like other filling commands, but fills the space with a chosen Dingbat \dingfill{34} like that. \item \verb|\dingline| generates a freestanding line of the little chaps: \dingline{44} \item {\family{bigzapf}\selectfont Inevitably, the `dinglist' environment sets up an itemized list, but has a Dingbat instead of a bullet (you are reading a \verb|dinglist| at the moment).} \end{dinglist} } \end{Slide}