是否可以在圖表清單中新增引用資訊?

是否可以在圖表清單中新增引用資訊?

由於我在學士論文中使用的圖片並非來自我,因此我想將引文資訊(例如網站連結)放入圖片列表中(底部區塊很重要)。所以基本上我想要這樣的東西: 在此輸入影像描述

我在網路上找不到方法。目前我像這樣顯示我的圖像:

    \begin{figure}
         \includegraphics[width=\linewidth]{~/Dropbox/Thesis/multi_layer_perceptron.jpg}
         \caption{Schematic View of a Multilayer Perceptron}
         \label{fig:mlp}
    \end{figure}

以及這樣的數字列表:\listoffigures。導致: 在此輸入影像描述

也許是我太缺乏經驗了。那麼,Tex 會採取什麼方式來做到這一點呢? :)

編輯:感謝@John Kormylo 的帖子,我找到了這個解決方案: \caption[Schematic View of a Multilayer Perceptron\newline{Image retrieved from }\url{https://www.tutorialspoint.com/tensorflow/tensorflow\_multi\_layer\_perceptron\_learning} (Visited on 08/06/2019)]

結果是: 在此輸入影像描述 我已經很滿足了,但我還是希望有個更簡單、更好看的方式。

答案1

您可以輸入 LOF 的單獨標題作為可選參數。 \protect用於防止巨集在準備列印之前展開。即使不需要,它也會使 aux 檔案變短。

\documentclass{article}
\usepackage{graphicx}
\usepackage{hyperref}

\begin{document}
\listoffigures
\newpage
\begin{figure}
   \includegraphics{example-image-A}
   \caption[\protect\hypertarget{lof.\thefigure}{}LOF version of caption
       \newline Available from \protect\url{www.elfsoft2000.com}]
    {Caption with link to LOF (see \hyperlink{lof.\thefigure}{Figure \thefigure})}
   \label{fig:mlp}
\end{figure}
\begin{figure}
   \includegraphics{example-image-B}
   \caption[Caption with footnote\protect\footnote{\protect\url{www.elfsoft2000.com}}]
     {Normal Caption}
   \label{fig:mlp}
\end{figure}

\end{document}

相關內容