How do I remove the caption prefix (i.e Figure 1:, Table 1:) from figures, tables, etc. WITHOUT using the caption
package? The reason I don't want to is because I'm using tufte-latex
which already redefines the \caption
command, so it doesn't work.
EDIT: More specifically, if I choose to use the normal \caption
command, the figure is numbered and shows up in the List of Figures. If I use the alternative approach, the figure is not numbered and doesn't show up in the List of Figures. Same applies for tables.
Thanks in advance!
Best Answer
Some surgery on
tufte-common.def
in order to accommodate for a\varcaption
command which has the syntax(the optional argument is similar to the second optional argument for
\caption
).You'll see that the second caption is not listed in the List of Figures.
A version without
regexpatch
; copy in your document preamble everything from\makeatletter
to\makeatother
(included).Support for
marginfigure
andmargintable
With the following code that must be added to the previous one before the final
\makeatother
, you can use\varcaption
also inmarginfigure
andmargintable
.