Redian新闻
>
How to remove a figure from the list of figures?
avatar
How to remove a figure from the list of figures?# TeX - TeX电子排版系统
N*D
1
Don't want one of them. How to remove it?
Thanks!
avatar
b*n
2
Why not include in the List of Figures if you have the figure in the text?
Don't have a solution for your specific problem. As you may know, you may
consider using a short caption:
\caption[short caption]{long caption}
avatar
b*n
3
Here is the solution:
Open the x.lof file. Delete the line that includes the figure to be omitted
in the List of Figures.
For Example, if Figure 4.1 is the one to be deleted, locate the following
line in the lof file, and delete it. Rerun the latex file using PDF Latex (
NOT PDF TEXify).
\contentsline {figure}{\numberline {4.1}{\ignorespaces This is the caption
of the figure to be deleted.}}{86}{figure.4.1}
avatar
b*n
4
The same is true for TOC and lot files.
avatar
N*D
5
thanks a lot! I think this should be the only solution.

omitted

【在 b*********n 的大作中提到】
: Here is the solution:
: Open the x.lof file. Delete the line that includes the figure to be omitted
: in the List of Figures.
: For Example, if Figure 4.1 is the one to be deleted, locate the following
: line in the lof file, and delete it. Rerun the latex file using PDF Latex (
: NOT PDF TEXify).
: \contentsline {figure}{\numberline {4.1}{\ignorespaces This is the caption
: of the figure to be deleted.}}{86}{figure.4.1}

avatar
T*n
6
\documentclass{article}
\begin{document}
\listoffigures
\clearpage
\begin{figure}
\centering\fbox{123}
\caption{One two three.}
\end{figure}
\begin{figure}
\centering\fbox{456}
\addtocontents{lof}{\string\iffalse}
\caption{Four five six.}
\addtocontents{lof}{\string\fi}
\end{figure}
\begin{figure}
\centering\fbox{789}
\caption{Seven eight nine.}
\end{figure}
\end{document}

【在 N**D 的大作中提到】
: Don't want one of them. How to remove it?
: Thanks!

avatar
N*D
7
Thanks a lot! You are really an expert!

【在 T*******n 的大作中提到】
: \documentclass{article}
: \begin{document}
: \listoffigures
: \clearpage
: \begin{figure}
: \centering\fbox{123}
: \caption{One two three.}
: \end{figure}
: \begin{figure}
: \centering\fbox{456}

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。