%% TeX output of pspp

%% Define the horizontal space between table columns
\def\psppcolumnspace{1mm}


%% Sets the environment for rendering material in table cell
%% The parameter is the number of columns in the table
\def\cell#1{\normalbaselines\advance\hsize by
-#1.0\psppcolumnspace\advance\hsize by \psppcolumnspace\divide\hsize by
#1\noindent\raggedright\hskip0pt}

%% Render the text centre justified
\def\startcentre{\begingroup\leftskip=0pt plus 1fil
\rightskip=\leftskip\parfillskip=0pt}
\def\stopcentre{\par\endgroup}
\long\def\centre#1{\startcentre#1\stopcentre}

%% Render the text right justified
\def\startright{\begingroup\leftskip=0pt plus 1fil
\parfillskip=0pt}
\def\stopright{\par\endgroup}
\long\def\right#1{\startright#1\stopright}


{\parindent=0pt
{\sl Caption$^{*}$}

{\bf Pivot Table with Alphabetic Subscript Footnotes$^{*}$}\par
\offinterlineskip\halign{\strut%
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\cr
\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace Corner$^{*b%
}$&\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace
\centre{A$^{*}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
&\centre{B$^{b}$}&\centre{C$^{*b}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
D$^{b}$&E$^{*}$&\right{.00}&\right{1.00$^{*}$}\cr
&F$^{*b}$&\right{2.00$^{b}$}&\right{3.00$^{*b}$}\cr
}% End of \halign
\vskip 0.5ex
$^{*}$First footnote$^{b}$Second footnote}
\vskip 3ex


{\parindent=0pt
{\sl Caption$^{*}$}

{\bf Pivot Table with Alphabetic Superscript Footnotes$^{*}$}\par
\offinterlineskip\halign{\strut%
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\cr
\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace Corner$^{*b%
}$&\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace
\centre{A$^{*}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
&\centre{B$^{b}$}&\centre{C$^{*b}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
D$^{b}$&E$^{*}$&\right{.00}&\right{1.00$^{*}$}\cr
&F$^{*b}$&\right{2.00$^{b}$}&\right{3.00$^{*b}$}\cr
}% End of \halign
\vskip 0.5ex
$^{*}$First footnote$^{b}$Second footnote}
\vskip 3ex


{\parindent=0pt
{\sl Caption$^{*}$}

{\bf Pivot Table with Numeric Subscript Footnotes$^{*}$}\par
\offinterlineskip\halign{\strut%
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\cr
\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace Corner$^{*2%
}$&\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace
\centre{A$^{*}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
&\centre{B$^{2}$}&\centre{C$^{*2}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
D$^{2}$&E$^{*}$&\right{.00}&\right{1.00$^{*}$}\cr
&F$^{*2}$&\right{2.00$^{2}$}&\right{3.00$^{*2}$}\cr
}% End of \halign
\vskip 0.5ex
$^{*}$First footnote$^{2}$Second footnote}
\vskip 3ex


{\parindent=0pt
{\sl Caption$^{*}$}

{\bf Pivot Table with Numeric Superscript Footnotes$^{*}$}\par
\offinterlineskip\halign{\strut%
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\cr
\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace Corner$^{*2%
}$&\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace
\centre{A$^{*}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
&\centre{B$^{2}$}&\centre{C$^{*2}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
D$^{2}$&E$^{*}$&\right{.00}&\right{1.00$^{*}$}\cr
&F$^{*2}$&\right{2.00$^{2}$}&\right{3.00$^{*2}$}\cr
}% End of \halign
\vskip 0.5ex
$^{*}$First footnote$^{2}$Second footnote}
\vskip 3ex


{\parindent=0pt
{\sl Caption}

{\bf Hidden Footnote}\par
\offinterlineskip\halign{\strut%
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\hskip\psppcolumnspace\hfil&\vrule
{\vbox{\cell{4}#}}\cr
\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace Corner$^{2}%
$&\multispan{1}\span\hsize=2.0\hsize\advance\hsize1.0\psppcolumnspace
\centre{A}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
&\centre{B$^{2}$}&\centre{C$^{2}$}\cr
\noalign{\hrule\vskip -\normalbaselineskip}\cr
D$^{2}$&E&\right{.00}&\right{1.00}\cr
&F$^{2}$&\right{2.00$^{2}$}&\right{3.00$^{2}$}\cr
}% End of \halign
\vskip 0.5ex
$^{2}$Second footnote}
\vskip 3ex


\bye
