Document Classes ⇒ undefined control sequence \captionsetup
undefined control sequence \captionsetup
This is TeX, Version 3.14159 (Web2C 7.4.5)...
(/usr/share/texmf/tex/latex/caption/caption.sty)
! Undefined control sequence.
<recently read> \captionstyle...
test.tex:
\documentclass{article}
\usepackage{caption}
\usepackage{graphicx}
\captionsetup[figure]{labelformat=empty,labelsep=none}
\begin{document}
\begin{figure}
\centering
\includegraphics{../image/eps/nihms14629f1.eps}
\caption{This is a figure caption without a label}
\end{figure}
\begin{figure}
\centering
\includegraphics{../image/eps/nihms14629f2.eps}
\end{figure}
\end{document}
Thanks!
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
undefined control sequence \captionsetup
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10