I'm new to this forum. I'm currently assembling a lab manual for a college science course, and am running into a few holdups along the way. I have been using Latex for a few years, so hopefully I can contribute to this forum instead of just leaching.
My current issue is that I'm trying to create a yellow textbox object which I will use to alert students to common pitfalls or mistakes with the material. I need to be able to insert these at various places in the text and have the text wrap around it. Following some guidelines I found on another site, I made the following:
Code: Select all
\begin{wrapfigure}{r}{5cm}{ %Wrapping width
\fcolorbox{red}{yellow}{ %Framed box. Frame color first
\begin{minipage}[t]{5cm} %Box width
{\footnotesize BLAHBLAH}
\end{minipage}
}
}
\end{wrapfigure}
If anyone knows why this is happening, or a better way to do this, I'd be very grateful.