Text FormattingFigures with Caption in a List

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
alsegober
Posts: 2
Joined: Tue Sep 03, 2013 2:58 pm

Figures with Caption in a List

Post by alsegober »

Hello,

I'm having trouble getting my document in this format :

1. bla bla ...

2. balbla..

image 1
(caption)

3. blablabla...

image 2
(caption)

Can anyone tell me please how can I get images with caption inside an itemize list? And which packages do I have to install ?

Thanks

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figures with Caption in a List

Post by localghost »

alsegober wrote:[…] Can anyone tell me please how can I get images with caption inside an itemize list? And which packages do I have to install? […]
The caption package provides the \captionof command for figures with captions outside a float environment like {figure}.


Remarks:
  • The classes from KOMA-Script have this command built-in.
  • The capt-of package provides the same command (which is its only purpose).
  • A Forum Search will for sure yield some ready-to-use solutions.
  • The "Similar Topics" section at the bottom of this page might list some other useful threads (only when logged in).

Best regards and welcome to the board
Thorsten
alsegober
Posts: 2
Joined: Tue Sep 03, 2013 2:58 pm

Figures with Caption in a List

Post by alsegober »

I know that, but the problem is that I can't insert images with caption inside a list. I've installed the package caption by the way.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figures with Caption in a List

Post by localghost »

alsegober wrote:I know that, but the problem is that I can't insert images with caption inside a list. […]
And which kind of help do you expect now with only this squishy and inadequate problem description? What have you tried so far? Kindly prepare a self-contained and minimal example that clearly shows the difficulties with inserting images along with corresponding errors from the log file (*.log).
alsegober wrote:[…] I've installed the package caption by the way.
And you did have a look at the examples in its manual? The package manual can be accessed quite easy via command line.

Code: Select all

texdoc caption
Post Reply