
Как мне скрыть номер подписи с помощью tufte
пакета? Я пробовал с caption
пакетом, но не работает с tufte
... Спасибо
решение1
Добавьте следующие строки в преамбулу:
\makeatletter
\renewcommand\fnum@figure{\figurename}
\makeatother
МВЭ:
\documentclass{tufte-book}
\makeatletter
\renewcommand\fnum@figure{\figurename}
\makeatother
\begin{document}
\begin{figure}
\caption{A figure}
\end{figure}
\end{document}
Выход:
Если вы хотите, чтобы такое же поведение было и для таблиц, добавьте также
\renewcommand\fnum@table{\tablename}
МВЭ:
\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}
Выход: