Article View: comp.text.tex
Article #11024problems using fancybox.sty
From: George B. Ross
Date: Thu, 07 Jan 1993 19:27
Date: Thu, 07 Jan 1993 19:27
59 lines
2382 bytes
2382 bytes
Hello...I am in dire need of some help with a LaTeX problem.
I have downloaded the style file "fancybox.sty" and placed it
in the proper directory. I was able to create the documentation
dvi file successfully (which requires the use of fancybox.sty).
I have now attempted to reproduce an example boxed table that was
given in the documentation...with poor results...here is my
input file...
===== beginning of input file simple_table.tex ======
\documentstyle[12pt]{article}
\begin{document}
\input fancybox.sty
\begin{table}[h]
\begin{center}
\fbox{%
\begin{minipage}{\textwidth}
\begin{center}
\begin{tabular}{rl}
foo & bar
\end{tabular}
\end{center}
\caption{A boxed table}
\end{minipage}}
\end{center}
\end{table}
\end{document}
============= end of input file =========
..and here are the results of compiling...
stimpy% latex simple_table.tex
This is CTeX, NeXT Version 3.141
(simple_table.tex
LaTeX Version 2.09 <25 March 1992>
(/usr/lib/tex/inputs/article.sty
Standard Document Style `article' <14 Jan 92>.
(/usr/lib/tex/inputs/art12.sty)) (simple_table.aux)
(/usr/lib/tex/inputs/fancybox.sty
Style option: `fancybox' v0.91 <92/11/25> (tvz)
! Missing number, treated as zero.
<to be read again>
i
l.49 \@i
fundefined{@tempdimd}{\newdimen\@tempdimd}{}
? x
No pages of output.
Transcript written on simple_table.log.
stimpy%
=======================
The error pointed to is in the style file "fancybox"
but the documentation file (which uses fancybox.sty)
compiles fine. Anyone have any ideas what I am doing wrong.
thanks in advance...george
=============== NeXT mail more than welcome ==================
George B. Ross Oh joy!
gross@stimpy.ame.nd.edu --Stimpson J. Cat
Technical Details
Message-ID:
<1993Jan7.192709.23339@news.nd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!rpi!uwm.edu!spool.mu.edu!news.nd.edu!newsShow Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!rpi!uwm.edu!spool.mu.edu!news.nd.edu!news From: gross@stimpy.ame.nd.edu (George B. Ross) Subject: problems using fancybox.sty Message-ID: <1993Jan7.192709.23339@news.nd.edu> Keywords: fancybox.sty Sender: news@news.nd.edu (USENET News System) Reply-To: gross@stimpy.ame.nd.edu Organization: University of Notre Dame Distribution: na Date: Thu, 7 Jan 1993 19:27:09 GMT Lines: 60