[pstricks] Re: conflicts with "ieee.cls"?

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue Feb 14 22:36:45 CET 2006


Nicola Pasquino wrote:
>  >I undocumented the missing ieeefig.sty and again, had no problems
>  >when usinf the pstricks packages.
> 
>         try to compile the following minimal example, using the class 
> file that I pointed you to yesterday: table gives problems...

the problem is the ieee class ...
Here is the solution from Rolf.

Herbert

\documentclass[%
         compressed,
         final,
         notitlepage,
         narroweqnarray,
         twoside,
         ]{ieee}

\makeatletter
\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else
     \@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner
       \@parmoderr\@floatpenalty\z@
      \else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname
        \multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n
        \@tfor \@tempa :=#2\do
                         {\if\@tempa h\advance\@tempcnta \@ne\fi
                          \if\@tempa t\advance\@tempcnta \tw@\fi
                          \if\@tempa b\advance\@tempcnta 4\relax\fi
                          \if\@tempa p\advance\@tempcnta 8\relax\fi
          }\global\count\@currbox\@tempcnta}\@fltovf\fi
\iffalse
     \global\setbox\@currbox\vbox\bgroup
     \def\baselinestretch{1}\small\normalsize
     \hsize\columnwidth \@parboxrestore
\else% === NEU ===
     \global\setbox\@currbox\color at vbox\normalcolor\vbox\bgroup
     \def\baselinestretch{1}\small\normalsize
     \hsize\columnwidth\@parboxrestore\@floatboxreset
\fi
}
\makeatother

\usepackage{pstricks}
\usepackage{pstricks-add}

\begin{document}

\begin{table}
\begin{tabular}{c|c|c|c|c}
  1 &  0 & 30 & 0 & 190
\end{tabular}
\end{table}

\end{document}






More information about the PSTricks mailing list