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 318 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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