[texhax] (1) Getting text into a box that obeys margins, and (2) having text flow around a box
tom sgouros
tomfool at as220.org
Wed May 24 04:08:24 CEST 2006
hgi <hgi at shaw.ca> wrote:
> Also, is there a way (without converting to a graphic and using a
> Wrapfigure command) to take a very short piece of text, throw a box
> around it and then have the text wrap around the box? That's a
> generic question my purpose is to have a section at the end of a
> newsletter, in which, in a column, there is a little box containing a
> big italic "i" (for "information") that sits in the column while the
> text describing how to get more information flows about it.
Placing the text in the box first and having the text flow around it is
difficult. But if you don't mind placing the box by hand it's easy. I
use this in a publication I edit:
\newcommand{\pullquote}[2]{
\begin{wrapfigure}{#1}{2in}
\begin{minipage}[t]{2in}
\setlength{\baselineskip}{15pt}
\begin{center}
{\Large\textit{#2}}
\end{center}
\end{minipage}
\end{wrapfigure}}
You could put a \framebox around the minipage to get the box outlined.
Is that what you're after?
-tom
--
------------------------
tomfool at as220 dot org
http://sgouros.com
http://whatcheer.net
More information about the texhax
mailing list