# Tag Info

## Hot answers tagged floats

3

It depends a lot on the type of overlapping you want. A simple way is negative space: \documentclass{article} \usepackage{graphicx} \begin{document} \hspace*{4cm}\includegraphics[width=5cm]{example-image-A}\hspace{-8cm}\includegraphics[width=5cm]{example-image-B} \end{document} In tikzpicture you can naturally do also overlaps.

3

Solution The start of the paragraph after the figure must not occur in a group. Either remove the braces or start the paragraph explicitly by prefixing \dontleavehmode. Explanation When using the cutout placement method, ConTeXt does some bookkeeping. It remembers where the graphic was placed and how much space it will occupy. The next paragraphs will ...

2

\documentclass{article} \usepackage{tabularx} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure}[hbt] \begin{tabularx}{\textwidth}{>{\raggedleft \arraybackslash}X >{\raggedright\arraybackslash}X} \subfloat[]{\label{fig-a}\includegraphics[width=0.3\textwidth]{example-image}} & \subfloat[]{\...

2

Like this: Since you didn't provide any information about your "panel" I assume, that beamer is document class. However, solution can be relatively easy adopted to any document class: \begin{frame}[fragile] \begin{figure} \renewcommand{\tabularxcolumn}[1]{m{#1}} \setlength\tabcolsep{3pt} \begin{tabularx}{\textwidth}{XXX} \multirow{2}*[-1.5ex]{\...

2

Several solutions: If you're using \begin{figure}[H] as @egreg suggested, change [H] to [h]; Put \raggedbottom in the preamble. Downside of this is that there can be more space than you'd like at the bottom of the pages; Put \allowdisplaybreaks in the preamble. This will help if you have long formulas by breaking them across pages, which you may or may ...

1

Using minipage \begin{figure} \centering \begin{minipage}{0.45\textwidth} \centering \includegraphics[height=3cm]{A} \caption{first figure} \end{minipage}\hfill \begin{minipage}{0.45\textwidth} \centering \includegraphics[height=3cm]{A'} \caption{second figure} \end{minipage} \end{figure} Repeat for B - B',C - C', ...

1

You can use \FloatBarrier from the placeins package. It prevents your floats from being moved behind this barrier. Example: \documentclass{article} \usepackage{placeins} \begin{document} Some dummy text Image \FloatBarrier More Text or your references \end{document}

1

If you are feeling brave you can defer a longtable until the next natural pagebreak using \afterpage \documentclass{article} \usepackage{threeparttable} \usepackage{dcolumn} \usepackage{longtable} \usepackage{threeparttablex} \usepackage{lipsum} \usepackage{afterpage} \begin{document} \lipsum[2-4] \afterpage{\clearpage \begin{ThreePartTable} \...

Only top voted, non community-wiki answers of a minimum length are eligible