# how to suppress the fig numbering in caption with tufte package?

How can I suppress caption number with tufte package ? I've tried with caption package, but don't work with tufte ... Thanks

• Hi and welcome, do you want to suppress the numbering for all or just single captions? – Johannes_B Apr 17 '15 at 18:03
• I want to suppress the numbering for all captions ! – Philippe Ploquin Apr 17 '15 at 18:41
• Do you want a \listoffigures? If not, don't use \caption. Just center some text. – John Kormylo Apr 17 '15 at 22:39
• As I don't need a \listoffigures, the "don't use caption" is just what I need ! I've also tried the \usepackage{ccaption} and the \legend option, good job too.Thanks for all your solutions. – Philippe Ploquin Apr 19 '15 at 7:48

\makeatletter
\renewcommand\fnum@figure{\figurename}
\makeatother


MWE:

\documentclass{tufte-book}

\makeatletter
\renewcommand\fnum@figure{\figurename}
\makeatother

\begin{document}

\begin{figure}
\caption{A figure}
\end{figure}

\end{document}


Output:

If you want the same behavior for tables, as well, add also

\renewcommand\fnum@table{\tablename}


MWE:

\documentclass{tufte-book}

\makeatletter
\renewcommand\fnum@figure{\figurename}
\renewcommand\fnum@table{\tablename}
\makeatother

\begin{document}

\begin{figure}
\caption{A figure}
\end{figure}

\begin{table}
\caption{A table}
\end{table}

\end{document}


Output: