| 1 |
|
| 2 |
%% testflow.tex |
| 3 |
%% V1.1 |
| 4 |
%% 2009/01/10 |
| 5 |
%% Copyright (c) 2002-2009 by Michael Shell and The LaTeX3 Project |
| 6 |
%% See: http://www.michaelshell.org/ |
| 7 |
%% for current contact information. |
| 8 |
%% |
| 9 |
%% A test page based on Rainer Schoepf's testpage.tex which is part of the |
| 10 |
%% LaTeX2e system with added modifications to add tests to verify PS/PDF |
| 11 |
%% output by Michael Shell. |
| 12 |
%% |
| 13 |
%% For complete usage documentation, see the file testflow_doc.pdf |
| 14 |
%% |
| 15 |
%% Support sites: |
| 16 |
%% http://www.michaelshell.org/tex/testflow/ |
| 17 |
%% http://www.ctan.org/pkg/testflow |
| 18 |
%% |
| 19 |
%%************************************************************************* |
| 20 |
%% Legal Notice: |
| 21 |
%% This code is offered as-is without any warranty either expressed or |
| 22 |
%% implied; without even the implied warranty of MERCHANTABILITY or |
| 23 |
%% FITNESS FOR A PARTICULAR PURPOSE! |
| 24 |
%% User assumes all risk. |
| 25 |
%% In no event shall the IEEE or any contributor to this code be liable for |
| 26 |
%% any damages or losses, including, but not limited to, incidental, |
| 27 |
%% consequential, or any other damages, resulting from the use or misuse |
| 28 |
%% of any information contained here. |
| 29 |
%% |
| 30 |
%% All comments are the opinions of their respective authors and are not |
| 31 |
%% necessarily endorsed by the IEEE. |
| 32 |
%% |
| 33 |
%% This work is distributed under the LaTeX Project Public License (LPPL) |
| 34 |
%% ( http://www.latex-project.org/ ) version 1.3, and may be freely used, |
| 35 |
%% distributed and modified. A copy of the LPPL, version 1.3, is included |
| 36 |
%% in the base LaTeX documentation of all distributions of LaTeX released |
| 37 |
%% 2003/12/01 or later. |
| 38 |
%% Retain all contribution notices and credits. |
| 39 |
%% ** Modified files should be clearly indicated as such, including ** |
| 40 |
%% ** renaming them and changing author support contact information. ** |
| 41 |
%% |
| 42 |
%% File list of work: testflow.tex, testflow_ctl_A4.ps, testflow_ctl_A4.pdf, |
| 43 |
%% testflow_ctl_LTR.ps, testflow_ctl_LTR.pdf, |
| 44 |
%% testflow_doc.pdf |
| 45 |
%%************************************************************************* |
| 46 |
% |
| 47 |
% Changelog: |
| 48 |
% |
| 49 |
% 1.1 (2007/01/10) |
| 50 |
% 1. new duplex test |
| 51 |
% 2. tests for Palladio hinting |
| 52 |
% |
| 53 |
% 1.0 (2002/04/08) Initial release |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
% ***** To prevent testflow from prompting user on the console, ***** |
| 59 |
% ***** uncomment one each of the two pairs below: ***** |
| 60 |
% |
| 61 |
% *** paper size (choose one) *** |
| 62 |
%\def\papertype{letterpaper} |
| 63 |
%\def\papertype{a4paper} |
| 64 |
% |
| 65 |
% *** duplex page test (choose one) *** |
| 66 |
%\def\makeduplexpage{yes} |
| 67 |
%\def\makeduplexpage{no} |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
\def\docversion{1.1} |
| 73 |
\def\docbuildcode{0000} |
| 74 |
|
| 75 |
\newif\ifmakeduplextest |
| 76 |
\makeduplextestfalse |
| 77 |
\newif\ifneeduserresponse |
| 78 |
\needuserresponsetrue |
| 79 |
|
| 80 |
\def\useryesstring{yes} |
| 81 |
\def\usernostring{no} |
| 82 |
\def\userystring{y} |
| 83 |
\def\usernstring{n} |
| 84 |
|
| 85 |
\ifx\papertype\TESTFLOWundefined |
| 86 |
\typeout{} |
| 87 |
\typeout{ This is the testflow.tex (V\docversion) test page generator.} |
| 88 |
\typeout{ See the testflow_doc.pdf file for full documentation.} |
| 89 |
|
| 90 |
\typeout{} |
| 91 |
\typeout{**********************************************************} |
| 92 |
\typeout{* Enter paper type in form of document class option,% |
| 93 |
\space\space\space\space\space*} |
| 94 |
\typeout{* e.g., `a4paper' or `letterpaper' (without the quotes).\space*} |
| 95 |
\typein[\papertype]{******************************************% |
| 96 |
****************} |
| 97 |
\fi |
| 98 |
|
| 99 |
\ifx\makeduplexpage\TESTFLOWundefined |
| 100 |
\loop |
| 101 |
\typeout{} |
| 102 |
\typeout{**************************************************************} |
| 103 |
\typeout{* Do you wish to make a second page to test duplex printing?% |
| 104 |
\space*} |
| 105 |
\typeout{* Enter `yes' or `no' (without the quotes).% |
| 106 |
\space\space\space\space\space\space\space\space\space\space\space\space\space |
| 107 |
\space\space\space\space\space*} |
| 108 |
\typein[\makeduplexpage]{******************************************% |
| 109 |
********************} |
| 110 |
\ifx\makeduplexpage\useryesstring\makeduplextesttrue\needuserresponsefalse\fi |
| 111 |
\ifx\makeduplexpage\usernostring\makeduplextestfalse\needuserresponsefalse\fi |
| 112 |
\ifx\makeduplexpage\userystring\makeduplextesttrue\needuserresponsefalse\fi |
| 113 |
\ifx\makeduplexpage\usernstring\makeduplextestfalse\needuserresponsefalse\fi |
| 114 |
\ifneeduserresponse |
| 115 |
\repeat |
| 116 |
\else |
| 117 |
\ifx\makeduplexpage\useryesstring\makeduplextesttrue\fi |
| 118 |
\ifx\makeduplexpage\userystring\makeduplextesttrue\fi |
| 119 |
\fi |
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
% declare symbols for lasy test |
| 124 |
\DeclareSymbolFont{lasy}{U}{lasy}{m}{n} |
| 125 |
\SetSymbolFont{lasy}{bold}{U}{lasy}{b}{n} |
| 126 |
\DeclareMathSymbol\lasymho {\mathord}{lasy}{"30} |
| 127 |
\DeclareMathSymbol\lasyJoin {\mathrel}{lasy}{"31} |
| 128 |
\DeclareMathSymbol\lasyBox {\mathord}{lasy}{"32} |
| 129 |
\DeclareMathSymbol\lasyDiamond {\mathord}{lasy}{"33} |
| 130 |
\DeclareMathSymbol\lasyleadsto {\mathrel}{lasy}{"3B} |
| 131 |
\DeclareMathSymbol\lasysqsubset{\mathrel}{lasy}{"3C} |
| 132 |
\DeclareMathSymbol\lasysqsupset{\mathrel}{lasy}{"3D} |
| 133 |
\DeclareMathSymbol\lasylhd {\mathbin}{lasy}{"01} |
| 134 |
\DeclareMathSymbol\lasyunlhd {\mathbin}{lasy}{"02} |
| 135 |
\DeclareMathSymbol\lasyrhd {\mathbin}{lasy}{"03} |
| 136 |
\DeclareMathSymbol\lasyunrhd {\mathbin}{lasy}{"04} |
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
\documentclass[\papertype, 10pt]{article} |
| 141 |
|
| 142 |
\typeout{-- Option summary:} |
| 143 |
\typeout{-- Paper size: \papertype} |
| 144 |
\ifmakeduplextest |
| 145 |
\typeout{-- With duplex test page} |
| 146 |
\else |
| 147 |
\typeout{-- No duplex test page} |
| 148 |
\fi |
| 149 |
|
| 150 |
% enable Times fonts |
| 151 |
\renewcommand{\sfdefault}{phv} |
| 152 |
\renewcommand{\rmdefault}{ptm} |
| 153 |
\renewcommand{\ttdefault}{pcr} |
| 154 |
|
| 155 |
\def\fontsubfuzz{.9pt} |
| 156 |
|
| 157 |
\def\tenptsize{\fontsize{10}{12pt}\selectfont} |
| 158 |
\def\nineptsize{\fontsize{9}{11pt}\selectfont} |
| 159 |
\def\eightptsize{\fontsize{8}{10pt}\selectfont} |
| 160 |
\def\sevenptsize{\fontsize{7}{9pt}\selectfont} |
| 161 |
\def\sixptsize{\fontsize{6}{8pt}\selectfont} |
| 162 |
\def\fiveptsize{\fontsize{5}{7pt}\selectfont} |
| 163 |
|
| 164 |
|
| 165 |
\pagestyle{empty} |
| 166 |
\thispagestyle{empty} |
| 167 |
|
| 168 |
\nofiles |
| 169 |
|
| 170 |
\setlength{\oddsidemargin}{0pt} |
| 171 |
\setlength{\evensidemargin}{0pt} |
| 172 |
\setlength{\marginparwidth}{1in} |
| 173 |
\setlength{\marginparsep}{0pt} |
| 174 |
|
| 175 |
\setlength{\topmargin}{0pt} |
| 176 |
\setlength{\headheight}{0pt} |
| 177 |
\setlength{\headsep}{0pt} |
| 178 |
\setlength{\topskip}{0pt} |
| 179 |
|
| 180 |
\setlength{\footskip}{0pt} |
| 181 |
|
| 182 |
\setlength{\textwidth}{\paperwidth} |
| 183 |
\addtolength{\textwidth}{-2in} |
| 184 |
\setlength{\textheight}{\paperheight} |
| 185 |
\addtolength{\textheight}{-2in} |
| 186 |
|
| 187 |
\setlength{\parindent}{0pt} |
| 188 |
\setlength{\parskip}{0pt} |
| 189 |
|
| 190 |
\setlength{\unitlength}{1sp} |
| 191 |
|
| 192 |
|
| 193 |
\newcounter{textheight} |
| 194 |
\newcounter{textwidth} |
| 195 |
|
| 196 |
\setcounter{textheight}{\textheight} |
| 197 |
\setcounter{textwidth}{\textwidth} |
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
\newlength{\help} |
| 202 |
|
| 203 |
\newcounter{help} |
| 204 |
|
| 205 |
\newcounter{in} |
| 206 |
\newcounter{halfin} |
| 207 |
\newcounter{fifthin} |
| 208 |
\newcounter{tenthin} |
| 209 |
\newcounter{twtin} |
| 210 |
|
| 211 |
\newcounter{mm} |
| 212 |
\newcounter{tmm} |
| 213 |
\newcounter{frmm} |
| 214 |
\newcounter{fvmm} |
| 215 |
\newcounter{tenmm} |
| 216 |
|
| 217 |
\newcounter{foo} |
| 218 |
|
| 219 |
\newcounter{x} |
| 220 |
\newcounter{y} |
| 221 |
|
| 222 |
\newcommand{\addtox}{\addtocounter{x}} |
| 223 |
\newcommand{\addtoy}{\addtocounter{y}} |
| 224 |
|
| 225 |
\newcommand{\putxy}{\put(\value{x},\value{y})} |
| 226 |
\newcommand{\multiputxy}{\multiput(\value{x},\value{y})} |
| 227 |
|
| 228 |
\newcommand{\sethelpcounter}[2]{% |
| 229 |
\setlength{\help}{#2}\setcounter{#1}{\help}} |
| 230 |
|
| 231 |
|
| 232 |
\newenvironment{testflowpage}{\setlength{\help}{1in} |
| 233 |
\setcounter{in}{\help} |
| 234 |
|
| 235 |
\setlength{\help}{0.5in} |
| 236 |
\setcounter{halfin}{\help} |
| 237 |
|
| 238 |
\setlength{\help}{0.2in} |
| 239 |
\setcounter{fifthin}{\help} |
| 240 |
|
| 241 |
\setlength{\help}{0.1in} |
| 242 |
\setcounter{tenthin}{\help} |
| 243 |
|
| 244 |
\setlength{\help}{0.05in} |
| 245 |
\setcounter{twtin}{\help} |
| 246 |
|
| 247 |
|
| 248 |
\setlength{\help}{1mm} |
| 249 |
\setcounter{mm}{\help} |
| 250 |
|
| 251 |
\setlength{\help}{2mm} |
| 252 |
\setcounter{tmm}{\help} |
| 253 |
|
| 254 |
\setlength{\help}{4mm} |
| 255 |
\setcounter{frmm}{\help} |
| 256 |
|
| 257 |
\setlength{\help}{5mm} |
| 258 |
\setcounter{fvmm}{\help} |
| 259 |
|
| 260 |
\setlength{\help}{10mm} |
| 261 |
\setcounter{tenmm}{\help} |
| 262 |
|
| 263 |
|
| 264 |
\begin{picture}(0,0) |
| 265 |
\scriptsize |
| 266 |
|
| 267 |
\put(0,-\value{textheight}){% |
| 268 |
\framebox(\value{textwidth},\value{textheight}){}} |
| 269 |
|
| 270 |
% left mm ruler |
| 271 |
\setcounter{x}{0} |
| 272 |
\sethelpcounter{y}{-0.45\textheight} |
| 273 |
\putxy{\line(-1,0){\value{in}}} |
| 274 |
|
| 275 |
|
| 276 |
\addtox{-\value{fvmm}} |
| 277 |
\addtoy{-\value{tmm}} |
| 278 |
\multiputxy(-\value{fvmm},0){5}{\line(0,1){\value{frmm}}} |
| 279 |
|
| 280 |
|
| 281 |
\addtoy{\value{mm}} |
| 282 |
\multiput(-\value{mm},\value{y})(-\value{mm},0){25}% |
| 283 |
{\line(0,1){\value{tmm}}} |
| 284 |
|
| 285 |
\addtoy{\value{frmm}} |
| 286 |
\setcounter{foo}{5} |
| 287 |
\multiput(-\value{fvmm},\value{y})(-\value{fvmm},0){4}{% |
| 288 |
\makebox(0,0){\arabic{foo}}\addtocounter{foo}{5}} |
| 289 |
|
| 290 |
|
| 291 |
% left in ruler |
| 292 |
\setcounter{x}{0} |
| 293 |
\sethelpcounter{y}{-0.55\textheight} |
| 294 |
\putxy{\line(-1,0){\value{in}}} |
| 295 |
|
| 296 |
\addtox{-\value{tenthin}} |
| 297 |
\addtoy{-\value{tenthin}} |
| 298 |
\multiputxy(-\value{tenthin},0){10}{\line(0,1){\value{fifthin}}} |
| 299 |
|
| 300 |
\addtox{\value{twtin}} |
| 301 |
\addtoy{\value{twtin}} |
| 302 |
\multiputxy(-\value{tenthin},0){10}{\line(0,1){\value{tenthin}}} |
| 303 |
|
| 304 |
\setcounter{foo}{1} |
| 305 |
|
| 306 |
\addtox{-\value{twtin}} |
| 307 |
\addtoy{\value{tenthin}} |
| 308 |
\addtoy{\value{tenthin}} |
| 309 |
\multiputxy(-\value{tenthin},0){9}{% |
| 310 |
\makebox(0,0){\arabic{foo}}\addtocounter{foo}{1}} |
| 311 |
|
| 312 |
% right mm ruler |
| 313 |
\sethelpcounter{x}{\textwidth} |
| 314 |
\sethelpcounter{y}{-0.45\textheight} |
| 315 |
\putxy{\line(1,0){\value{in}}} |
| 316 |
|
| 317 |
\addtox{\value{mm}} |
| 318 |
\addtoy{-\value{mm}} |
| 319 |
\multiputxy(\value{mm},0){25}{\line(0,1){\value{tmm}}} |
| 320 |
|
| 321 |
\addtox{\value{frmm}} |
| 322 |
\addtoy{-\value{mm}} |
| 323 |
\multiputxy(\value{fvmm},0){5}{\line(0,1){\value{frmm}}} |
| 324 |
|
| 325 |
\addtoy{\value{fvmm}} |
| 326 |
\setcounter{foo}{5} |
| 327 |
\multiputxy(\value{fvmm},0){4}{% |
| 328 |
\makebox(0,0){\arabic{foo}}\addtocounter{foo}{5}} |
| 329 |
|
| 330 |
% right in ruler |
| 331 |
\sethelpcounter{x}{\textwidth} |
| 332 |
\sethelpcounter{y}{-0.55\textheight} |
| 333 |
\putxy{\line(1,0){\value{in}}} |
| 334 |
|
| 335 |
\addtox{\value{tenthin}} |
| 336 |
\addtoy{-\value{tenthin}} |
| 337 |
\multiputxy(\value{tenthin},0){10}{% |
| 338 |
\line(0,1){\value{fifthin}}} |
| 339 |
|
| 340 |
\addtox{-\value{twtin}} |
| 341 |
\addtoy{\value{twtin}} |
| 342 |
\multiputxy(\value{tenthin},0){10}{% |
| 343 |
\line(0,1){\value{tenthin}}} |
| 344 |
|
| 345 |
\setcounter{foo}{1} |
| 346 |
\addtox{\value{twtin}} |
| 347 |
\addtoy{\value{tenthin}} |
| 348 |
\addtoy{\value{tenthin}} |
| 349 |
\multiputxy(\value{tenthin},0){9}{% |
| 350 |
\makebox(0,0){\arabic{foo}}\addtocounter{foo}{1}} |
| 351 |
|
| 352 |
|
| 353 |
% top mm ruler |
| 354 |
\sethelpcounter{x}{0.45\textwidth} |
| 355 |
\setcounter{y}{0} |
| 356 |
\putxy{\line(0,1){\value{in}}} |
| 357 |
|
| 358 |
\addtox{-\value{tmm}} |
| 359 |
\addtoy{\value{fvmm}} |
| 360 |
\multiputxy(0,\value{fvmm}){5}{\line(1,0){\value{frmm}}} |
| 361 |
|
| 362 |
\addtox{\value{mm}} |
| 363 |
\addtoy{-\value{frmm}} |
| 364 |
\multiputxy(0,\value{mm}){25}{\line(1,0){\value{tmm}}} |
| 365 |
|
| 366 |
\setcounter{foo}{5} |
| 367 |
\addtox{-\value{tmm}} |
| 368 |
\addtoy{-\value{mm}} |
| 369 |
\addtoy{\value{fvmm}} |
| 370 |
\multiputxy(0,\value{fvmm}){4}{% |
| 371 |
\makebox(0,0){\arabic{foo}\rule{5pt}{0pt}}\addtocounter{foo}{5}} |
| 372 |
|
| 373 |
% top in ruler |
| 374 |
\sethelpcounter{x}{0.55\textwidth} |
| 375 |
\setcounter{y}{0} |
| 376 |
\putxy{\line(0,1){\value{in}}} |
| 377 |
|
| 378 |
\addtox{-\value{tenthin}} |
| 379 |
\addtoy{\value{tenthin}} |
| 380 |
\multiputxy(0,\value{tenthin}){10}{\line(1,0){\value{fifthin}}} |
| 381 |
|
| 382 |
\addtox{\value{twtin}} |
| 383 |
\addtoy{-\value{twtin}} |
| 384 |
\multiputxy(0,\value{tenthin}){10}{\line(1,0){\value{tenthin}}} |
| 385 |
|
| 386 |
\setcounter{foo}{1} |
| 387 |
\addtox{-\value{tenthin}} |
| 388 |
\addtoy{\value{twtin}} |
| 389 |
\multiputxy(0,\value{tenthin}){9}{% |
| 390 |
\makebox(0,0){\arabic{foo}}\addtocounter{foo}{1}} |
| 391 |
|
| 392 |
% bottom mm ruler |
| 393 |
\sethelpcounter{x}{0.45\textwidth} |
| 394 |
\setcounter{y}{-\textheight} |
| 395 |
\putxy{\line(0,-1){\value{in}}} |
| 396 |
|
| 397 |
\addtox{-\value{tmm}} |
| 398 |
\addtoy{-\value{fvmm}} |
| 399 |
\multiputxy(0,-\value{fvmm}){5}{\line(1,0){\value{frmm}}} |
| 400 |
|
| 401 |
\addtox{\value{mm}} |
| 402 |
\addtoy{\value{frmm}} |
| 403 |
\multiputxy(0,-\value{mm}){25}{\line(1,0){\value{tmm}}} |
| 404 |
|
| 405 |
\setcounter{foo}{5} |
| 406 |
\addtox{-\value{tmm}} |
| 407 |
\addtoy{\value{mm}} |
| 408 |
\addtoy{-\value{fvmm}} |
| 409 |
\multiputxy(0,-\value{fvmm}){4}{% |
| 410 |
\makebox(0,0){\arabic{foo}\rule{5pt}{0pt}}\addtocounter{foo}{5}} |
| 411 |
|
| 412 |
|
| 413 |
% bottom in ruler |
| 414 |
\sethelpcounter{x}{0.55\textwidth} |
| 415 |
\setcounter{y}{-\textheight} |
| 416 |
\putxy{\line(0,-1){\value{in}}} |
| 417 |
|
| 418 |
\addtox{-\value{tenthin}} |
| 419 |
\addtoy{-\value{tenthin}} |
| 420 |
\multiputxy(0,-\value{tenthin}){10}{\line(1,0){\value{fifthin}}} |
| 421 |
|
| 422 |
\addtox{\value{twtin}} |
| 423 |
\addtoy{\value{twtin}} |
| 424 |
\multiputxy(0,-\value{tenthin}){10}{\line(1,0){\value{tenthin}}} |
| 425 |
|
| 426 |
\setcounter{foo}{1} |
| 427 |
\addtox{-\value{tenthin}} |
| 428 |
\addtoy{-\value{twtin}} |
| 429 |
\multiputxy(0,-\value{tenthin}){9}{% |
| 430 |
\makebox(0,0){\arabic{foo}}\addtocounter{foo}{1}} |
| 431 |
|
| 432 |
|
| 433 |
\end{picture} |
| 434 |
|
| 435 |
\setlength{\help}{\textwidth} |
| 436 |
\addtolength{\help}{-1.25in} |
| 437 |
|
| 438 |
\vspace*{\baselineskip} |
| 439 |
\mbox{}\hfill |
| 440 |
\begin{minipage}{\help}\relax} |
| 441 |
% end of testpage environment |
| 442 |
{\end{minipage}\hfill\mbox{}\vfill\mbox{}} |
| 443 |
|
| 444 |
|
| 445 |
\begin{document} |
| 446 |
|
| 447 |
|
| 448 |
\begin{testflowpage} |
| 449 |
|
| 450 |
\centerline{\Huge A Test for \LaTeX\ PS/PDF Printing} |
| 451 |
\vspace{0.75\baselineskip} |
| 452 |
\centerline{\large Version \docversion\hspace{0.2in} Build Code: \docbuildcode} |
| 453 |
\vspace{0.75\baselineskip} |
| 454 |
\centerline{\large See the testflow home page for the latest news and FAQ:} |
| 455 |
\centerline{\texttt{\footnotesize http://www.michaelshell.org/tex/testflow/}} |
| 456 |
\vspace{1.5\baselineskip} |
| 457 |
\centerline{\large\bfseries\scshape Notes} |
| 458 |
\vspace{0.5\baselineskip} |
| 459 |
|
| 460 |
Document paper type selected under \LaTeX: \mbox{\ttfamily\papertype}\\ |
| 461 |
Depends only on the base article.cls --- no other external packages are loaded.\\ |
| 462 |
The main text font is Times Roman, the math font is Computer Modern.\\ |
| 463 |
Imperial (0.1in) and metric (mm) rulers are provided to measure centering.\\ |
| 464 |
The frame on this page should be centered on the paper and 1in (25.4mm) from the edges.\\ |
| 465 |
To maintain accurate dimensions, do not scale page when printing.\\ |
| 466 |
(i.e., deselect any ``fit to page" or ``shrink/expand page" options.)\\ |
| 467 |
For complete usage information, read the \texttt{testflow\_doc.pdf} file. |
| 468 |
|
| 469 |
\vspace{1.0\baselineskip} |
| 470 |
\centerline{\large\bfseries\scshape Palladio Font Hinting Test} |
| 471 |
\vspace{0.5\baselineskip} |
| 472 |
|
| 473 |
\centerline{\renewcommand{\rmdefault}{ppl}\rmfamily\bfseries This is in bold Palatino/Palladio.} |
| 474 |
|
| 475 |
|
| 476 |
\vspace{1.0\baselineskip} |
| 477 |
\centerline{\large\bfseries\scshape Ligature Test} |
| 478 |
\vspace{0.5\baselineskip} |
| 479 |
|
| 480 |
\makebox[0.85in][l]{\textbf{Ligatures}} ---~~~The office was affected by the five flawed mufflers. |
| 481 |
|
| 482 |
\makebox[0.85in][l]{\textbf{No Ligatures}} ---~~~The of\/f\/ice was a\/f\/fected by the f\/ive f\/lawed muf\/f\/lers. |
| 483 |
|
| 484 |
|
| 485 |
\vspace{1.0\baselineskip} |
| 486 |
\centerline{\large\bfseries\scshape Math Tests} |
| 487 |
\vspace{0.5\baselineskip} |
| 488 |
|
| 489 |
\centerline{\normalsize\bfseries Large Delimiter and Operator Test} |
| 490 |
\begin{center} |
| 491 |
\begin{math} |
| 492 |
I = \left[ |
| 493 |
\begin{array}{cc} |
| 494 |
1 & 0\\ |
| 495 |
0 & 1 |
| 496 |
\end{array} |
| 497 |
\right]\quad \mbox{and} |
| 498 |
\quad\Bigg(\sum\limits_{i=0}^{2} 2^i = 7 \Bigg) |
| 499 |
\end{math} |
| 500 |
\end{center} |
| 501 |
|
| 502 |
\vspace{0.25\baselineskip} |
| 503 |
|
| 504 |
\centerline{\normalsize\bfseries Minus Sign Test} |
| 505 |
\begin{center} |
| 506 |
\begin{math} |
| 507 |
\mbox{If } a = 4\mbox{, then: } 2^{-a + 7} - 2^{a-3} = 2^{3} - 2^{1} = 6 |
| 508 |
\end{math} |
| 509 |
\end{center} |
| 510 |
|
| 511 |
\vspace{0.1\baselineskip} |
| 512 |
\centerline{\normalsize\bfseries Problem Character, Times Roman and Font Kerning Tests} |
| 513 |
\vspace{0.5\baselineskip} |
| 514 |
% here is how we would directly access them within cmmi10 |
| 515 |
%{\fontencoding{OML}\fontfamily{cmm}\fontshape{it}\selectfont |
| 516 |
%\symbol{0}\hspace{1ex}\symbol{9}\hspace{1ex}\symbol{10}\hspace{1ex}\symbol{13} |
| 517 |
%\hspace{1ex}\symbol{32}\hspace{1ex}\symbol{127}} |
| 518 |
\centerline{\normalfont Math italic glyphs: $\mathnormal{\Gamma,~\Psi,~\Omega,~\gamma,~\psi,~\mbox{\t{\mbox{}\mbox{}}}}$} |
| 519 |
\vspace{0.25\baselineskip} |
| 520 |
\centerline{Large Times Roman italic: {\LARGE \textit{z}}\qquad GS kerning test: {\footnotesize The ``Problematic" little quotes.}} |
| 521 |
|
| 522 |
\vspace{0.25\baselineskip} |
| 523 |
{\footnotesize\textbf{Note:} The math italic glyphs are in the control character positions |
| 524 |
0, 9, 10, 13, 32 and 127.\hfill\\ |
| 525 |
i.e., \texttt{\string\Gamma}, \texttt{\string\Psi}, \texttt{\string\Omega}, |
| 526 |
\texttt{\string\gamma}, \texttt{\string\psi}, and the \texttt{\string\t\{xx\}} tie-after accent, respectively.} |
| 527 |
|
| 528 |
|
| 529 |
\vspace{1.0\baselineskip} |
| 530 |
\centerline{\large\bfseries\scshape Picture and Lasy Fonts Test} |
| 531 |
\vspace{0.5\baselineskip} |
| 532 |
|
| 533 |
\def\lasyglyphs{\lasymho, \lasyJoin, \lasyBox, |
| 534 |
\lasyDiamond, \lasyleadsto, \lasysqsubset, \lasysqsupset, |
| 535 |
\lasylhd, \lasyunlhd, \lasyrhd, \lasyunrhd} |
| 536 |
|
| 537 |
\setlength{\unitlength}{1cm} |
| 538 |
|
| 539 |
\begin{center} |
| 540 |
|
| 541 |
\begin{picture}(12,2.4) |
| 542 |
\qbezier(0,2.4)(2.25,2.8)(4.5,2.4) |
| 543 |
\put(1,1.8){\oval(1,1)[tl]} |
| 544 |
\put(3.5,1.8){\oval(1,1)[tr]} |
| 545 |
\put(2.25,1.9){\oval(4,1)[t]} |
| 546 |
\put(.2,1.5){\oval(1,2.2)[l]} |
| 547 |
\put(1.5,1.5){\circle*{0.1}} |
| 548 |
\put(1.5,1.5){\circle{1.2}} |
| 549 |
\put(1.5,1.5){\vector(0,1){0.6}} |
| 550 |
\put(1.5,1.5){\vector(1,0){0.6}} |
| 551 |
\put(1.5,1.5){\vector(0,-1){0.6}} |
| 552 |
\put(1.5,1.5){\vector(-1,0){0.6}} |
| 553 |
\thicklines |
| 554 |
\qbezier(0,0.6)(2.25,0.2)(4.5,0.6) |
| 555 |
\put(0,0){\vector(1,0){11.5}} |
| 556 |
\put(3,1.5){\circle*{0.1}} |
| 557 |
\put(3,1.5){\circle{1.2}} |
| 558 |
\put(3,1.5){\vector(0,1){0.6}} |
| 559 |
\put(3,1.5){\vector(1,0){0.6}} |
| 560 |
\put(3,1.5){\vector(0,-1){0.6}} |
| 561 |
\put(3,1.5){\vector(-1,0){0.6}} |
| 562 |
\put(1,1.2){\oval(1,1)[bl]} |
| 563 |
\put(3.5,1.2){\oval(1,1)[br]} |
| 564 |
\put(2.25,1.1){\oval(4,1)[b]} |
| 565 |
\put(4.3,1.5){\oval(1,2.2)[r]} |
| 566 |
\put(4.9,2.4){\makebox[0.75in][r]{10pt bold:\hspace{0.1in}}\tenptsize\boldmath$\lasyglyphs$} |
| 567 |
\put(4.9,2.0){\makebox[0.75in][r]{10pt:\hspace{0.1in}}\tenptsize$\lasyglyphs$} |
| 568 |
\put(4.9,1.65){\makebox[0.75in][r]{\nineptsize9pt:\hspace{0.1in}}\nineptsize$\lasyglyphs$} |
| 569 |
\put(4.9,1.35){\makebox[0.75in][r]{\eightptsize8pt:\hspace{0.1in}}\eightptsize$\lasyglyphs$} |
| 570 |
\put(4.9,1.1){\makebox[0.75in][r]{\sevenptsize7pt:\hspace{0.1in}}\sevenptsize$\lasyglyphs$} |
| 571 |
\put(4.9,0.875){\makebox[0.75in][r]{\sixptsize6pt:\hspace{0.1in}}\sixptsize$\lasyglyphs$} |
| 572 |
\put(4.9,0.675){\makebox[0.75in][r]{\fiveptsize5pt:\hspace{0.1in}}\fiveptsize$\lasyglyphs$} |
| 573 |
\end{picture} |
| 574 |
\end{center} |
| 575 |
\end{testflowpage} |
| 576 |
|
| 577 |
|
| 578 |
% Optional duplex test page |
| 579 |
\ifmakeduplextest |
| 580 |
\newpage |
| 581 |
\begin{testflowpage} |
| 582 |
\centerline{\Huge A Test for \LaTeX\ PS/PDF Printing} |
| 583 |
\vspace{0.75\baselineskip} |
| 584 |
\centerline{\large Version \docversion\hspace{0.2in} Build Code: \docbuildcode} |
| 585 |
\vspace{1.0\baselineskip} |
| 586 |
\centerline{\large\bfseries\scshape Duplex Alignment Test Side} |
| 587 |
\mbox{}\vfill\mbox{} |
| 588 |
\end{testflowpage} |
| 589 |
\fi |
| 590 |
|
| 591 |
\end{document} |
| 592 |
|