Graphics, Figures & TablesAdding caption to the right of figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
dead_mantra
Posts: 10
Joined: Tue Feb 10, 2015 5:32 pm

Adding caption to the right of figures

Post by dead_mantra »

Hi guys,

I'm trying to make some figure captions appear on the right hand side of the figures so I don't have to modify my text all the time. I have installed the sidecap module and added the package in the pre-ample.
The installation is successful as I can do Insert --> Float --> Figure (sidecaption).
However, when I try to export the pdf I get an error about 'a missing number, that is treated as zero'
Apparently, I don't properly insert the figure, but I can't figure why. The side-caption gets assigned a number automatically so I don't see where I can insert a number for it.
I have attached a minimal .tex so you can have a look.
Thanks for any help!
Attachments
Chapter_1 - Clean_28_11_15_minimal.tex
(3.16 KiB) Downloaded 311 times

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

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Adding caption to the right of figures

Post by rais »

you may want to lookup `texdoc sidecap': the first optional parameter to its {SCfigure} environment is supposed to be some number to determine the width of the caption, where you've stated `H'.

KR
Rainer
dead_mantra
Posts: 10
Joined: Tue Feb 10, 2015 5:32 pm

Re: Adding caption to the right of figures

Post by dead_mantra »

Thanks for the suggestion. I will try this and see what happens.
Post Reply