2014-12-05 67 views
-1

所以我试图隐藏我的封面图片中的标签。乳胶名单图

>\begin{figure}   
>\center   
>\includegraphics[scale=0.5]{universidade}   
>\caption* {Mycaption}   
>\end {figure}  

这种方式是不标注的数字,但它不是图形列表上显示 请帮助; d

回答

0

你可以给标题软件包的选项labelformat=empty打压图1等标签:

\usepackage[labelformat=empty]{caption} 

您可以使用方括号来指定数字列表的描述,以及实际数字标题的大括号。因此,我认为你应该能够做到以下几点,以剿标题,但仍然有图中的列表中的条目:

\begin{figure}   
\center   
\includegraphics[scale=0.5]{universidade}   
\caption[Mycaption]{}   
\end {figure}  
+0

但是使用该包它将适用于所有文档,我只是希望它适用于此特定情况。 – 2014-12-06 00:16:47

+0

啊,对不起,这个问题并不清楚。我不知道如何实现这一点。如果您不使用空的标签格式选项,则标题中会出现“图形x”。 – 2014-12-06 00:25:16

0

有几个选项,这取决于yo're后究竟:

enter image description here

\documentclass{article} 

\usepackage{graphicx} 
\setcounter{topnumber}{3}% Just for this example 
\begin{document} 

\listoffigures 

\begin{figure} 
    \addcontentsline{lof}{figure}{Example image A}% 
    \centering 
    \includegraphics[height=4\baselineskip]{example-image-a} 

    Example image A 
\end{figure} 

\begin{figure} 
    \addcontentsline{lof}{figure}{\protect\numberline{}Example image B}% 
    \centering 
    \includegraphics[height=4\baselineskip]{example-image-b} 

    Example image B 
\end{figure} 

\begin{figure} 
    \centering 
    \includegraphics[height=4\baselineskip]{example-image-c} 
    \caption{Example image C} 
\end{figure} 

\end{document} 

该图说明使用\addcontentsline{lof}{figure}{<caption>},其中<caption>可以包含空白\numberline{},或者只是常规字幕加入。上面的例子显示了两者的用法。

也可以在图像中没有标签显示,但使用caption在LoF中有编号条目。但是在洛杉矶地区有一个编号条目和一个无编号的数字似乎很奇怪。