2014-12-05 65 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中有編號條目。但是在洛杉磯地區有一個編號條目和一個無編號的數字似乎很奇怪。