summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/IEEEtran/testflow.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/IEEEtran/testflow.tex')
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/testflow.tex306
1 files changed, 172 insertions, 134 deletions
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/testflow.tex b/Master/texmf-dist/doc/latex/IEEEtran/testflow.tex
index b7f5ae22b85..198d3b4339f 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/testflow.tex
+++ b/Master/texmf-dist/doc/latex/IEEEtran/testflow.tex
@@ -1,94 +1,91 @@
-%%
-%% Copyright 1993--2002
-%% The LaTeX3 Project and any individual authors listed elsewhere in this
-%% file.
+
+%% testflow.tex
+%% V1.1
+%% 2007/01/10
+%% Copyright (c) 2002-2007 by Michael Shell and The LaTeX3 Project
+%% See: http://www.michaelshell.org/
+%% for current contact information.
%%
-%% The testflow package may be distributed and/or modified under the terms of
-%% the LaTeX Project Public License, either version 1.2 or, at your option,
-%% any later version. The latest version of this license can be found at:
-%% http://www.latex-project.org/lppl.txt
+%% A test page based on Rainer Schoepf's testpage.tex which is part of the
+%% LaTeX2e system with added modifications to add tests to verify PS/PDF
+%% output by Michael Shell.
+%%
+%% For complete usage documentation, see the file testflow_doc.pdf
+%%
+%% Support sites:
+%% http://www.michaelshell.org/tex/testflow/
+%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/testflow/
%%
+%%*************************************************************************
+%% Legal Notice:
%% This code is offered as-is without any warranty either expressed or
-%% implied; without even the implied warranty of MERCHANTABILITY or FITNESS
-%% FOR A PARTICULAR PURPOSE! User assumes all risk.
-%%
-%% testflow.tex - V1.0 created 08 April 2002
-%% based on Rainer Schoepf's testpage.tex which is part
-%% of the LaTeX2e system
-%%
-%% Modifications to add tests to verify PS/PDF output
-%% by Michael Shell (2/2002)
-%%
-%% Direct all comments to: mshell@ece.gatech.edu
-%% See the CTAN distribution website for current contact information
-%% and the latest version:
-%% http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
-%%
-%% Copyright (C) 1994 2002 by Rainer Schoepf and Michael Shell
-%%
-%%
-%
-% This file is designed to test the "print work flow" of LaTeX systems
-% that are used to produce PS/PDF documents.
-%
-% Using this file, the following major problems can be quickly identified:
-%
-% 1. improper paper sizes in the dvips or pdftex configuration
-% which causes margins to be wrong
-%
-% 2. systems not properly configured to use and embed the type 1
-% versions of the Computer Modern fonts.
-%
-% 3. dvips (pre 5.86h versions) improperly configured to use -G1 option
-% which causes ligatures to be shown as incorrect characters
-% i.e., "fi" will appear as the British pound (sterling) symbol.
-%
-% 4. whether or not the pdf create/view tools have the bug which
-% causes the minus signs and/or other symbols to disappear.
-% Acrobat readers prior to Version 4.0.5 (January 2000)
-% have this problem. So does Ghostscript versions prior to 6.50.
-%
-% 5. font kerning (letter spacing) problems caused by buggy
-% Ghostscript 7.0x PDF verison 1.2 output. Users
-% should use -dCompatibilityLevel=1.3 when making PDF
-% from Ghostscript 7.00 to 7.04.
-%
-% 6. Acrobat 5 "font download errors" when printing to
-% PostScript printers and using the older (pre June 6, 2001)
-% lasy*, lcircle*, and line* type 1 fonts.
-% Ghostscript 6.50 and later may correct for this font problem,
-% but it is still an good idea to update your BlueSky fonts
-% to June 6, 2001 or later.
-%
-%
-% When printing, do not select any "fit/shrink/expand page" options as doing so
-% will usually result in changes to the page dimensions.
-%
-% Linux users using Version 4.0.5 (January 24, 2000) of Acrobat Reader
-% should probably print using the "level 1" PostScript option as the
-% level 2 output is sometimes buggy. I do not know if the same is
-% true of other versions of Acrobat Reader.
-%
-% For complete usage documentation, see the file testflow_doc.txt.
-%
-
-\def\docversion{1.0}
+%% implied; without even the implied warranty of MERCHANTABILITY or
+%% FITNESS FOR A PARTICULAR PURPOSE!
+%% User assumes all risk.
+%% In no event shall IEEE or any contributor to this code be liable for
+%% any damages or losses, including, but not limited to, incidental,
+%% consequential, or any other damages, resulting from the use or misuse
+%% of any information contained here.
+%%
+%% All comments are the opinions of their respective authors and are not
+%% necessarily endorsed by the IEEE.
+%%
+%% This work is distributed under the LaTeX Project Public License (LPPL)
+%% ( http://www.latex-project.org/ ) version 1.3, and may be freely used,
+%% distributed and modified. A copy of the LPPL, version 1.3, is included
+%% in the base LaTeX documentation of all distributions of LaTeX released
+%% 2003/12/01 or later.
+%% Retain all contribution notices and credits.
+%% ** Modified files should be clearly indicated as such, including **
+%% ** renaming them and changing author support contact information. **
+%%
+%% File list of work: testflow.tex, testflow_ctl_A4.ps, testflow_ctl_A4.pdf,
+%% testflow_ctl_LTR.ps, testflow_ctl_LTR.pdf,
+%% testflow_doc.pdf
+%%*************************************************************************
+%
+% Changelog:
+%
+% 1.1 (2007/01/10)
+% 1. new duplex test
+% 2. tests for Palladio hinting
+%
+% 1.0 (2002/04/08) Initial release
+
+
+
+
+% ***** To prevent testflow from prompting user on the console, *****
+% ***** uncomment one each of the two pairs below: *****
+%
+% *** paper size (choose one) ***
+%\def\papertype{letterpaper}
+%\def\papertype{a4paper}
+%
+% *** duplex page test (choose one) ***
+%\def\makeduplexpage{yes}
+%\def\makeduplexpage{no}
+
+
+
+
+\def\docversion{1.1}
\def\docbuildcode{0000}
-\newif\ifmakepicturetest
-\makepicturetesttrue
+\newif\ifmakeduplextest
+\makeduplextestfalse
\newif\ifneeduserresponse
\needuserresponsetrue
-\def\useryes{yes}
-\def\userno{no}
-\def\usery{y}
-\def\usern{n}
-\def\userresponse{yes}
+\def\useryesstring{yes}
+\def\usernostring{no}
+\def\userystring{y}
+\def\usernstring{n}
+\ifx\papertype\TESTFLOWundefined
\typeout{}
\typeout{ This is the testflow.tex (V\docversion) test page generator.}
-\typeout{ See the testflow_doc.txt file for full documentation.}
+\typeout{ See the testflow_doc.pdf file for full documentation.}
\typeout{}
\typeout{**********************************************************}
@@ -97,24 +94,33 @@
\typeout{* e.g., `a4paper' or `letterpaper' (without the quotes).\space*}
\typein[\papertype]{******************************************%
****************}
+\fi
+\ifx\makeduplexpage\TESTFLOWundefined
\loop
\typeout{}
-\typeout{**********************************************************}
-\typeout{* Do you also wish to test the picture and lasy fonts?%
-\space\space\space*}
+\typeout{**************************************************************}
+\typeout{* Do you wish to make a second page to test duplex printing?%
+\space*}
\typeout{* Enter `yes' or `no' (without the quotes).%
-\space\space\space\space\space\space\space\space\space\space\space\space\space\space*}
-\typein[\userresponse]{******************************************%
-****************}
-\ifx\userresponse\useryes\makepicturetesttrue\needuserresponsefalse\fi
-\ifx\userresponse\userno\makepicturetestfalse\needuserresponsefalse\fi
-\ifx\userresponse\usery\makepicturetesttrue\needuserresponsefalse\fi
-\ifx\userresponse\usern\makepicturetestfalse\needuserresponsefalse\fi
+\space\space\space\space\space\space\space\space\space\space\space\space\space
+\space\space\space\space\space*}
+\typein[\makeduplexpage]{******************************************%
+********************}
+\ifx\makeduplexpage\useryesstring\makeduplextesttrue\needuserresponsefalse\fi
+\ifx\makeduplexpage\usernostring\makeduplextestfalse\needuserresponsefalse\fi
+\ifx\makeduplexpage\userystring\makeduplextesttrue\needuserresponsefalse\fi
+\ifx\makeduplexpage\usernstring\makeduplextestfalse\needuserresponsefalse\fi
\ifneeduserresponse
\repeat
+\else
+\ifx\makeduplexpage\useryesstring\makeduplextesttrue\fi
+\ifx\makeduplexpage\userystring\makeduplextesttrue\fi
+\fi
+
+
-\ifmakepicturetest
+% declare symbols for lasy test
\DeclareSymbolFont{lasy}{U}{lasy}{m}{n}
\SetSymbolFont{lasy}{bold}{U}{lasy}{b}{n}
\DeclareMathSymbol\lasymho {\mathord}{lasy}{"30}
@@ -128,11 +134,19 @@
\DeclareMathSymbol\lasyunlhd {\mathbin}{lasy}{"02}
\DeclareMathSymbol\lasyrhd {\mathbin}{lasy}{"03}
\DeclareMathSymbol\lasyunrhd {\mathbin}{lasy}{"04}
-\fi
+
\documentclass[\papertype, 10pt]{article}
+\typeout{-- Option summary:}
+\typeout{-- Paper size: \papertype}
+\ifmakeduplextest
+\typeout{-- With duplex test page}
+\else
+\typeout{-- No duplex test page}
+\fi
+
% enable Times fonts
\renewcommand{\sfdefault}{phv}
@@ -150,6 +164,7 @@
\pagestyle{empty}
+\thispagestyle{empty}
\nofiles
@@ -171,6 +186,7 @@
\addtolength{\textheight}{-2in}
\setlength{\parindent}{0pt}
+\setlength{\parskip}{0pt}
\setlength{\unitlength}{1sp}
@@ -181,11 +197,11 @@
\setcounter{textheight}{\textheight}
\setcounter{textwidth}{\textwidth}
+
+
\newlength{\help}
-\newcounter{help}
-\newcommand{\sethelpcounter}[2]{%
- \setlength{\help}{#2}\setcounter{#1}{\help}}
+\newcounter{help}
\newcounter{in}
\newcounter{halfin}
@@ -193,7 +209,28 @@
\newcounter{tenthin}
\newcounter{twtin}
-\setlength{\help}{1in}
+\newcounter{mm}
+\newcounter{tmm}
+\newcounter{frmm}
+\newcounter{fvmm}
+\newcounter{tenmm}
+
+\newcounter{foo}
+
+\newcounter{x}
+\newcounter{y}
+
+\newcommand{\addtox}{\addtocounter{x}}
+\newcommand{\addtoy}{\addtocounter{y}}
+
+\newcommand{\putxy}{\put(\value{x},\value{y})}
+\newcommand{\multiputxy}{\multiput(\value{x},\value{y})}
+
+\newcommand{\sethelpcounter}[2]{%
+ \setlength{\help}{#2}\setcounter{#1}{\help}}
+
+
+\newenvironment{testflowpage}{\setlength{\help}{1in}
\setcounter{in}{\help}
\setlength{\help}{0.5in}
@@ -209,12 +246,6 @@
\setcounter{twtin}{\help}
-\newcounter{mm}
-\newcounter{tmm}
-\newcounter{frmm}
-\newcounter{fvmm}
-\newcounter{tenmm}
-
\setlength{\help}{1mm}
\setcounter{mm}{\help}
@@ -230,18 +261,6 @@
\setlength{\help}{10mm}
\setcounter{tenmm}{\help}
-\newcounter{foo}
-
-\newcounter{x}
-\newcounter{y}
-
-\newcommand{\addtox}{\addtocounter{x}}
-\newcommand{\addtoy}{\addtocounter{y}}
-
-\newcommand{\putxy}{\put(\value{x},\value{y})}
-\newcommand{\multiputxy}{\multiput(\value{x},\value{y})}
-
-\begin{document}
\begin{picture}(0,0)
\scriptsize
@@ -417,16 +436,24 @@
\setlength{\help}{\textwidth}
\addtolength{\help}{-1.25in}
-\vfill
+\vspace*{\baselineskip}
\mbox{}\hfill
-\begin{minipage}{\help}
+\begin{minipage}{\help}\relax}
+% end of testpage environment
+{\end{minipage}\hfill\mbox{}\vfill\mbox{}}
+
+
+\begin{document}
+
+
+\begin{testflowpage}
\centerline{\Huge A Test for \LaTeX\ PS/PDF Printing}
\vspace{0.75\baselineskip}
\centerline{\large Version \docversion\hspace{0.2in} Build Code: \docbuildcode}
\vspace{0.75\baselineskip}
-\centerline{\large This diagnostic is distributed with the IEEEtran package:}
-\centerline{\texttt{\footnotesize http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/}}
+\centerline{\large See the testflow home page for the latest news and FAQ:}
+\centerline{\texttt{\footnotesize http://www.michaelshell.org/tex/testflow/}}
\vspace{1.5\baselineskip}
\centerline{\large\bfseries\scshape Notes}
\vspace{0.5\baselineskip}
@@ -434,13 +461,20 @@
Document paper type selected under \LaTeX: \mbox{\ttfamily\papertype}\\
Depends only on the base article.cls --- no other external packages are loaded.\\
The main text font is Times Roman, the math font is Computer Modern.\\
-Metric (mm) and imperial (0.1in) rulers are provided to measure centering.\\
+Imperial (0.1in) and metric (mm) rulers are provided to measure centering.\\
The frame on this page should be centered on the paper and 1in (25.4mm) from the edges.\\
To maintain accurate dimensions, do not scale page when printing.\\
(i.e., deselect any ``fit to page" or ``shrink/expand page" options.)\\
-For complete usage information, read the \texttt{testflow\_doc.txt} file.
+For complete usage information, read the \texttt{testflow\_doc.pdf} file.
-\vspace{1.5\baselineskip}
+\vspace{1.0\baselineskip}
+\centerline{\large\bfseries\scshape Palladio Font Hinting Test}
+\vspace{0.5\baselineskip}
+
+\centerline{\renewcommand{\rmdefault}{ppl}\rmfamily\bfseries This is in bold Palatino/Palladio.}
+
+
+\vspace{1.0\baselineskip}
\centerline{\large\bfseries\scshape Ligature Test}
\vspace{0.5\baselineskip}
@@ -449,7 +483,7 @@ For complete usage information, read the \texttt{testflow\_doc.txt} file.
\makebox[0.85in][l]{\textbf{No Ligatures}} ---~~~The of\/f\/ice was a\/f\/fected by the f\/ive f\/lawed muf\/f\/lers.
-\vspace{1.5\baselineskip}
+\vspace{1.0\baselineskip}
\centerline{\large\bfseries\scshape Math Tests}
\vspace{0.5\baselineskip}
@@ -493,8 +527,8 @@ i.e., \texttt{\string\Gamma}, \texttt{\string\Psi}, \texttt{\string\Omega},
\texttt{\string\gamma}, \texttt{\string\psi}, and the \texttt{\string\t\{xx\}} tie-after accent, respectively.}
-\vspace{1.5\baselineskip}
-\centerline{\large\bfseries\scshape Picture and Lasy Fonts Test {\normalfont(optional)}}
+\vspace{1.0\baselineskip}
+\centerline{\large\bfseries\scshape Picture and Lasy Fonts Test}
\vspace{0.5\baselineskip}
\def\lasyglyphs{\lasymho, \lasyJoin, \lasyBox,
@@ -505,7 +539,6 @@ i.e., \texttt{\string\Gamma}, \texttt{\string\Psi}, \texttt{\string\Omega},
\begin{center}
-\ifmakepicturetest
\begin{picture}(12,2.4)
\qbezier(0,2.4)(2.25,2.8)(4.5,2.4)
\put(1,1.8){\oval(1,1)[tl]}
@@ -539,17 +572,22 @@ i.e., \texttt{\string\Gamma}, \texttt{\string\Psi}, \texttt{\string\Omega},
\put(4.9,0.875){\makebox[0.75in][r]{\sixptsize6pt:\hspace{0.1in}}\sixptsize$\lasyglyphs$}
\put(4.9,0.675){\makebox[0.75in][r]{\fiveptsize5pt:\hspace{0.1in}}\fiveptsize$\lasyglyphs$}
\end{picture}
-\else
-\texttt{-- Picture test not selected --}
-\fi
-
\end{center}
+\end{testflowpage}
+
-\end{minipage}
-\hfill\mbox{}
-
-\vfill
-\mbox{}
+% Optional duplex test page
+\ifmakeduplextest
+\newpage
+\begin{testflowpage}
+\centerline{\Huge A Test for \LaTeX\ PS/PDF Printing}
+\vspace{0.75\baselineskip}
+\centerline{\large Version \docversion\hspace{0.2in} Build Code: \docbuildcode}
+\vspace{1.0\baselineskip}
+\centerline{\large\bfseries\scshape Duplex Alignment Test Side}
+\mbox{}\vfill\mbox{}
+\end{testflowpage}
+\fi
\end{document}