tufte 패키지를 사용하여 캡션에서 그림 번호 매기기를 억제하는 방법은 무엇입니까?

tufte 패키지를 사용하여 캡션에서 그림 번호 매기기를 억제하는 방법은 무엇입니까?

패키지 로 캡션 번호를 표시하지 않으려면 어떻게 해야 합니까 tufte? 패키지 로 시도했지만 caption작동하지 않습니다 tufte... 감사합니다

답변1

프리앰블에 다음 줄을 추가하세요.

\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} 

산출:

여기에 이미지 설명을 입력하세요

테이블에 대해서도 동일한 동작을 원하면 다음도 추가하십시오.

\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} 

산출:

여기에 이미지 설명을 입력하세요

관련 정보