[Tuglist] Floats and multicols
Ajay Shah
tuglist@tug.org.in
Tue, 15 Jan 2002 16:36:39 +0530
--A/AdVN8FDkvpDdxN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I often write documents which require "boxes" which are framed blocks
of floating matter.
I usually have this in the preamble --
\usepackage{float}
=20
\floatstyle{ruled}
\restylefloat{table}
\restylefloat{figure}
=20
% Setup style for boxes
\floatstyle{boxed}
\newfloat{Box}{tp}{lob}
=20
\newcommand{\boxedtext}[2]{
\begin{Box}
=20
#2
=20
\caption{#1}
\end{Box}
}
This works perfectly under normal circumstances. The trouble is: it
does not work well with "multicol.sty", which is Frank Mittelbach's
brilliant style for multi-column text.
In standard latex, we have \twocolumn and then when we say
\begin{table*}
...
\end{table*}
and it gives us a table which spans the columns. This concept breaks
once we use multicol.sty.
I would be most happy to have help on any of the two fronts:
* How to obtain floating boxes using plain latex (in which case I'd
use \twocolumn), or
* How to make float.sty speak to multicol.sty and support the table*
or figure* style floats which span columns.
Thanks,
-ans.
--=20
Ajay Shah ajayshah@mayin.org
Consultant, http://www.mayin.org/~ajayshah
Department of Economic Affairs,
Ministry of Finance, New Delhi
--A/AdVN8FDkvpDdxN
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8RA0/SttXBLG4LuERAgnIAJ432+ci9Vvbhx9OWitOsI1nc4wgvACfcMAg
BHc8cFf9WTHF0VKQX0FByd0=
=9DAP
-----END PGP SIGNATURE-----
--A/AdVN8FDkvpDdxN--