## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Weird textbox placement and testflow

Information and discussion about graphics, figures & tables in LaTeX documents.
bertibott
Posts: 14
Joined: Wed Dec 12, 2018 3:32 pm

### Weird textbox placement and testflow

Hi,
I am working on a project in which I am using tcolorbox as a sort of sidebar.

While I am already somewhat happy with the box itsself I am having trouble with how to integrate it into the document.
The box is half the width of the text, and I would the text to flow around it while placing the box itself in a somewaht sensible fashion.
The works reasonably well when the box is small enough and somewhere in the middle of the page. But when it get too close to the bottom of the page weird things happen.

https://www.dropbox.com/s/yuzdevn48lwmqie/Weird_placement?dl=0

There are some obvious things wrong here:
The box extends too far down... it should be on the next page where it should be placed on the left side.

The text on the second page should not be "flowing around" the box that isn't even there! How do I fix this?

The code I used:

% In the preamble: \usepackage{wrapfig} \usepackage{aurical}\usepackage[T1]{fontenc}\newtcolorbox{lorequote}{enhanced, interior style tile={width=15cm}{parchment.png}, fontupper = \Fontskrivan, width = 0.5\textwidth} %in the document:\begin{wrapfigure}{o}{0.5\textwidth}\begin{lorequote}... interesting sideinfor...\end{lorequote}\end{wrapfigure}

How do I get it to place the whole thing in a more sensible way?

### Who is online

Users browsing this forum: No registered users and 8 guests