Is it possible to have a figure to the right of you text, and at the same time have the text wrapped around it? I've tried the package wrapfig, but doesnt seem to work. Any advice? sketch:  \documentclass{tikzposter}  \title{The Title} \author{The Author}  \usepackage{lipsum}   \begin{document}  \maketitle  \block{A Title}{  \lipsum    \begin{center} \begin{minipage}{0.45\linewidth}   \centering   \begin{tikzfigure}[Caption of figure1]   \includegraphics[height = 10cm]{example-image-a}   \end{tikzfigure}% \end{minipage}\hfill \begin{minipage}{0.45\linewidth}   \centering   \begin{tikzfigure}[Caption of figure2]   \includegraphics[height = 10cm]{example-image-b}   \end{tikzfigure}% \end{minipage} \end{center} }    \end{document}
121632
While designing a poster with tikzposter I stumbled over a small issue. Usually one can use the wrapfig package to let text wrap around figures but in a box in tikzposter this seems to fail completely as shown in the MWE below.   Is there any way to wrap around a figure without using wrapfig so that this works as expected?  \documentclass[25pt, a4paper, portrait, margin=0mm, innermargin=15mm]{tikzposter}  \title{Title} \author{Name} \institute{University}  \usetheme{Default} \usecolorstyle[colorPalette=BrownBlueOrange]{Germany}  \usepackage{graphicx} \usepackage{wrapfig}  \begin{document}  \maketitle  \begin{columns} \column{.5} \block[roundedcorners=40]{First block}{ Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure.   \begin{wrapfigure}[5]{r}{0.5\textwidth}                      \begin{tikzfigure}[Caption]             \includegraphics{example-image}         \end{tikzfigure} \end{wrapfigure}  Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure. Here some text that wraps around the figure.  } \end{columns} \end{document}
47123
I want to put four figures in a single row. The code I am trying to use is taken from .  This puts three figures in a row. When I add a fourth one, I get three images in row and the last one appears in the second row. But I want all of them in one row. Here is my code.  \documentclass[12pt,twoside]{report}% Use this line for the print version of the thesis   \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document}  \begin{figure}         \centering         \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{gull}                 \caption{A gull}                 \label{fig:gull}         \end{subfigure}%           \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{gull}                 \caption{A gull2}                 \label{fig:gull2}         \end{subfigure}%          ~ %add desired spacing between images, e. g. ~, \quad, \qquad etc.           %(or a blank line to force the subfigure onto a new line)         \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{tiger}                 \caption{A tiger}                 \label{fig:tiger}         \end{subfigure}         ~ %add desired spacing between images, e. g. ~, \quad, \qquad etc.           %(or a blank line to force the subfigure onto a new line)         \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{mouse}                 \caption{A mouse}                 \label{fig:mouse}         \end{subfigure}         \caption{Pictures of animals}\label{fig:animals} \end{figure} \end{document}   As I have mentioned above, it works for three figures.  But I can not use it for four figures. What should I change?   What does  width=\textwidth mean?   I changed    \begin{subfigure}[b]{0.3\textwidth}   to  \begin{subfigure}[b]{0.2\textwidth}   but it didn't help.  Then, I changed     \includegraphics[width=\textwidth]{mouse}   to  \includegraphics[width=0.5\textwidth]{mouse}   Still no solution.
52194
actually it's an easy question, but I could find an answer with Google or the included search on StackExchange ;)  How do I add in the middle of the line a node with Tikz? I want somethink like this:  --------------&gt;      text   Normally I did it with an additional node at command. If I will resize the the arrow then I need to change the position of the node also.  ----------&gt;    text   Which is not the best way for big things. I try to find something in the manual and didn't find an answer yet.   Thanks.  Best regards.
120036
Consider the following   TEXT TEXT TEXT TEXT Figure~\ref{fig:foo} TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  \begin{figure} \centering \includegraphics[width=\textwidth]{foo} \caption{This is foo.} \label{fig:foo} \end{figure}   Now I would like to put a frame around the text and the figure. Ofcourse one could remove the figure-environment and wrap everything with the fbox-environment but I need to keep the caption and label (the latter for dynamic referencing):  \fbox{  TEXT TEXT TEXT TEXT Figure~1 TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT      \includegraphics[width=\textwidth]{foo}  }   I tried the following code but it seems not work:  \fbox{  \parbox[c]{\textwidth}{ TEXT TEXT TEXT TEXT Figure~\ref{fig:foo} TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT }  \begin{figure} \centering \includegraphics[width=\textwidth]{foo} \caption{This is foo.} \label{fig:foo} \end{figure}  }
121712
While the paper are written in two columns,I want to insert a figure into a column, which means a figure uses 0.5*paper width. At the same time, I need to use \bicaption{}{},which is in bicaption package, to create two captions for one figure.  \usepackage{caption} \usepackage{multicol} \usepackage{bicaption} \begin{document} xxxx...... \begin{multicols}{2} \begin{figure} \includegraphics{figure A} \end{figure} \end{multicols} \end{document}   in this case, the figure can not display in a pdf document. Note, I want to write a paper in one column at the title, and in two column at the text. The text begins at the title page. For example,  Thank you!
9436
I want to put my tikzpicture nicely between paragraphs. How do I do that? I do not want  to put it in a picture environment because than there is extra space underneath.  \documentclass[11pt,a4paper,addpoints]{exam} \unframedsolutions %\printanswers \usepackage{tikz} \usepackage{graphicx} \usepackage{geometry} \usepackage{calc}  \newgeometry{left=2cm,top=2cm,right=2cm,bottom=2cm}  \begin{document} \begin{questions}   Line above tikzpicture.  \begin{tikzpicture}[rounded corners=5mm] \path node[rectangle,draw=green,fill=green!8,inner sep=.70cm] {\parbox{\textwidth-1.4cm-\fboxrule}{  \question[2] What is the first question? \begin{solutionorlines}[4cm] This box is smaller than when the solutions are not printed. How do I make this the same dimension as when answers are not printed? \end{solutionorlines} }}; \end{tikzpicture}  Line under tikzpicture. I don't want this. I want the tikzpicture between paragraphs.  \end{questions} \end{document}
59870
I would like to put a small graphic in the bottom right corner of a the title page of an article. Is there a way to specify a precise location for a graphic on a page (that has text on it)?   I've tried doing it with a \parbox but haven't been able to so far.
85377
I'm trying to include an image, and keep it centered, and prevent from wrapping from the next page.  The following code works for that:  \begin{minipage}{\textwidth}     \begin{center}         Caption for image          \includegraphics[scale=0.5]{myimage.png}      \end{center} \end{minipage}   I'd like this image to be in a figure, with a caption.  The following doesn't compile:  \begin{minipage}{\textwidth}     \begin{figure}         \includegraphics[scale=0.5]{myimage.png}         \caption{Caption for image}         \label{fig:sample_figure}     \end{figure} \end{minipage}   I get the errors:  ! LaTeX Error: Not in outer par mode. ! Undefined control sequence.   How can I fix this?
36428
A continuation of .  I'm fighting a page-limit in a single-column layout and I need to put a Figure and a Table side-by-side and provide them with independent captions. However, the style guide for the publishers (LNCS) wants Figure captions below and Table captions above (probably something to do with ).   =======================================================  If I adapt @lockstep's floatrow example from  accordingly to have a Table caption above ...  \documentclass{article}  \usepackage{floatrow} % Table float box with bottom caption, box width adjusted to content  %% ********************************** %% just adding \captop to original example %% ********************************** \newfloatcommand{capbtabbox}{table}[\captop][\FBwidth]  \usepackage{blindtext}   \begin{document}  \blindtext  \begin{figure} \begin{floatrow} \ffigbox{%   \rule{3cm}{3cm}% }{%   \caption{A figure}% } \capbtabbox{%   \begin{tabular}{cc} \hline   Author &amp; Title \\ \hline   Knuth &amp; The \TeX book \\   Lamport &amp; \LaTeX \\ \hline   Knuth &amp; The \TeX book \\   Lamport &amp; \LaTeX \\ \hline   Knuth &amp; The \TeX book \\   Lamport &amp; \LaTeX \\ \hline   \end{tabular} }{%   \caption{A table}% } \end{floatrow} \end{figure}  \end{document}   =======================================================  The problem becomes clear ...    =======================================================  The floatrow doesn't correctly line up the Table and Caption. I reluctantly tried to use vspace to solve the problem, but it didn't work out.  Any suggestions on how to get these two to align? I'm happy to accept any alignment that ensures that the Table and Figure fit within the same "box".  (A similar-ish question was , but specific for subfig and with a very localised problem it seems.)
57781
How do insert image between text and text wrap with shapepar or other package?
69095
is it possible to wrap a text inside a triangle like the following image?
91525
I'm attempting to put a small tikzpicture inside a \caption{} belonging to a figure environment. The reason for doing this is fairly simple - to create an in-caption legend for a PGFplot, with consistency between the TikZ styles in the figure and in the caption. Previously I would have done this using dashes and the xcolor package, however, this is an awful hack. In this MWE:  \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure} \caption{\raisebox{0.5ex}{ \begin{tikzpicture}\draw[dashed,color=red,thick] (0,0) -- (0.5,0);\end{tikzpicture}} Gas--Phase}  \end{figure} \end{document}   The expected output:    is generated, but I get ! Argument of \@caption has an extra }. and ! Paragraph ended before \@caption was complete. Within the larger context of the document that I'm writing, which includes chapters in external .tex files, compilation fails catastrophically (dozens of errors) with no output, so I can't just ignore the warnings in this instance. Any ideas?
77601
What's the simplest way to wrap extruded text around a cylinder that has a specific radius (for example, the label on a can of baked beans)?  I've tried using the Simple Deform modifier, but that (a) doesn't allow you to choose a radius and (b) requires the text to be converted to a curve.  I'm trying to model a cylinder with radius of 30, which has a line of embossed text that runs around the curved side, facing outward.  Thanks!
19033
If I just try to set the figure's size to 0.9\textwidth my figure will just end up on the right column, sized to be two-columns wide.  Has anyone done this before?
67976
is incompatible with the enumerate and itemize environments. Is there a typographical reason not to wrap a list around a figure or is it a technical limitation of LaTeX? If it is a technical limitation, is there any work (new packages or changes to LaTeX) currently being done to eliminate the limitation in the future?  Edit: To respond to some of the comments: I realize that there are "gymnastics" which can make this work. I do not have an example of the problem. Whenever I run into a problem with wrapfig because it is near an enumerate or itemize environment, I search for an easy solution, find none, and move the figure elsewhere. In the vast majority of cases, the cost of learning the complex solutions isn't worth the benefit of keeping the figure where I want it.
112975
I don't know if this has been asked before. But so far nothing has come up with my search.  In some books, the figures are placed at the outer side of the page like in the picture below.    Is this achievable in TeX/LaTeX? That is how does one set up the page so that all text will appear in a 'text column' and the figures appear in a 'figures column' in every page?
80119
I have the following tikzpictures, and I would like to present them in two columns. However, no matter what I try, whether it be multicol or minipage or subcaption, they stubbornly stay in one column. You may think this is a duplicate question, but I've tried all the others and they don't work!  \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx}  \usepackage{tikz} \usetikzlibrary{positioning}  \usepackage{float}  \begin{document}     \begin{figure} [b]         \centering         \begin{tikzpicture}         [pool/.style={circle, draw=blue!50, fill=blue!20, thick,             inner sep=0pt, minimum size=10mm}]         \node[pool] (A)              {A};         \node[pool] (B) [right=of A] {B};         \draw [&lt;-&gt;] (A) -- (B);         \end{tikzpicture}         \caption{Two-site exchange.}         \label{fig:simple2}     \end{figure}      \begin{figure} %[h]         \centering         \begin{tikzpicture}         [pool/.style={circle, draw=blue!50, fill=blue!20, thick,             inner sep=0pt, minimum size=10mm}]         \node[pool] (A) {A};         \node[pool] (B) [below left=of A] {B};         \node[pool] (C) [below right=of A]{C};         \draw [&lt;-&gt;] (A) -- (B);         \draw [&lt;-&gt;] (A) -- (C);         \end{tikzpicture}         \caption{Partial three-site exchange.}         \label{fig:partial3}     \end{figure}      \begin{figure} %[h]         \centering         \begin{tikzpicture}         [pool/.style={circle, draw=blue!50, fill=blue!20, thick,             inner sep=0pt, minimum size=10mm}]         \node[pool] (A) {A};         \node[pool] (B) [below left=of A] {B};         \node[pool] (C) [below=of A]{C};         \node[pool] (D) [below right=of A]{D};         \draw [&lt;-&gt;] (A) -- (B);         \draw [&lt;-&gt;] (A) -- (C);         \draw [&lt;-&gt;] (A) -- (D);         \end{tikzpicture}         \caption{Partial four-site exchange.}         \label{fig:partial4}     \end{figure}      \begin{figure} %[h]         \centering         \begin{tikzpicture}         [pool/.style={circle, draw=blue!50, fill=blue!20, thick,             inner sep=0pt, minimum size=10mm}]         \node[pool] (A) {A};         \node[pool] (B) [below left=of A] {B};         \node[pool] (C) [below right=of A]{C};         \draw [&lt;-&gt;] (A) -- (B);         \draw [&lt;-&gt;] (A) -- (C);         \draw [&lt;-&gt;] (B) -- (C);         \end{tikzpicture}         \caption{General three-site exchange.}         \label{fig:general3}     \end{figure}  \end{document}