Graphics, Figures & TablesCustomizing caption text in a figure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Jongomez
Posts: 48
Joined: Tue Nov 28, 2023 9:29 pm

Customizing caption text in a figure

Post by Jongomez »

I have used \figcaption command instead of \caption in the code for inserting a figure

It has worked! The compilation has been completed successfully. (Instead of getting "Fig. n text" I've gotten my own text without the text "Fig. n" in front of it.
But I've got an error log saying: "The compiler is having trouble understanding a command you have used. Check that the command is spelled correctly. If the command is part of a package, make sure you have included the package in your preamble using \usepackage{...}."

Althoug this does not avoids me to conitue with the project, my question is: Which package should I include in the preamble?

Thanks so much for your help.
Jon A. Gomez

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Customizing caption text in a figure

Post by Stefan Kottwitz »

Hi Jon,

welcome to the forum!

The nonfloat package has such a command.

Stefan
LaTeX.org admin
Jongomez
Posts: 48
Joined: Tue Nov 28, 2023 9:29 pm

Customizing caption text in a figure

Post by Jongomez »

Thank you so much Stefan.

Best regards,
Jon
Post Reply