Graphics, Figures & Tables\thisfloatsetup broken in floatrow package?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
steve6390
Posts: 16
Joined: Sat Nov 29, 2008 6:36 am

\thisfloatsetup broken in floatrow package?

Post by steve6390 »

Hello Forum,
I noticed that the figure boxes have disappeared from figures placed using the floatrow package. This used to work, so I assume an update broke something.
I'm using MikTex 2.7 with all updates on Windows XP.

Here is a sample code that demonstrates the problem. It tries to show the first two pages of any pdf file you specify in boxes. The pdf pages appear, but not the boxes.

Any help is greatly appreciated!

Code: Select all

\documentclass{article}
\RequirePackage{floatrow}
%\floatsetup[figure]{style=boxed}
\RequirePackage{graphicx}
\begin{document}

% put a box around these next floats - NO LONGER WORKS!
\thisfloatsetup{style=boxed}
\begin{figure}[h]
\begin{floatrow}
\ffigbox
	{
	\caption{page 1.}
	}
	{
	\includegraphics[page=1,width=\linewidth]{any_pdf_file}
	}
\ffigbox
	{
	\caption{Page 2.}
	}
	{
	\includegraphics[page=2,width=\linewidth]{any_pdf_file}
	}
\end{floatrow}
\end{figure}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: \thisfloatsetup broken in floatrow package?

Post by sommerfee »

A new version 0.3a of the floatrow package was released on 2009/06/20 and I have some issues with this version, too.

I strongly recommend to contact Olga Lapko (the author of the floatrow package), she is always very helpful and tries to resolve such issues ASAP.

Axel
steve6390
Posts: 16
Joined: Sat Nov 29, 2008 6:36 am

\thisfloatsetup broken in floatrow package?

Post by steve6390 »

sommerfee wrote: I strongly recommend to contact Olga Lapko (the author of the floatrow package)
Done.
steve6390
Posts: 16
Joined: Sat Nov 29, 2008 6:36 am

Re: \thisfloatsetup broken in floatrow package?

Post by steve6390 »

I tried twice to reach Olga by email, but no response. I updated all my MikTex package but the problem persists. Bummer!
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: \thisfloatsetup broken in floatrow package?

Post by sommerfee »

This is strange since Olga usually replies to e-mails.

I will send her an additional e-mail pointing to this thread.

In the meantime you can revert to the version 0.2c of floatrow where your code runs fine. (I just tested this.) If you don't have this version at hand you can drop me a message or e-mail (my e-mail address can be found in the actual documenation of the caption package) with your e-mail address so I can send it to you.

Axel
Last edited by sommerfee on Fri Sep 25, 2009 6:32 am, edited 1 time in total.
steve6390
Posts: 16
Joined: Sat Nov 29, 2008 6:36 am

Re: \thisfloatsetup broken in floatrow package?

Post by steve6390 »

The August 2009 update to floatrow appears to fix this problem.
Post Reply