LyXfloatrow | Macro to automate Figure insertion

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Roux
Posts: 1
Joined: Thu May 24, 2012 4:59 pm

floatrow | Macro to automate Figure insertion

Post by Roux »

Hi,

I'm a noob with LaTeX. I've start two day ago, so please, be kind ;)

I use LyX because I like the WYSIWYG thing.

I want that my caption fit the width of the figure. For that, I use the "Insert floating figure" menu, and I put the \ffigbox[\FBwidth] of the floatrow package manually with the ctrl-L command, between the \includegraphics and \caption.

It works well. But I have a lot of figures. Is there a method to automate this ? I mean the use of \ffigbox[\FBwidth]. I've tried the macro from the floatrow documentation, but I can't make it work.

Thank you. (sorry for my english :oops: )

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

Post Reply