# how can i give a figure an extended caption without it going in my table of figures? [duplicate]

I am writing my minor thesis which includes a number of tikz figures, which are all listed in a table of figures.

the table of figures gives the figure number, and then the title of the figure, as given by the caption.

the way i have put them into my document is in the following manner:

% ----------------
\begin{figure}[h!]
\centering
\includegraphics{./tikz/network.tikz}
\caption{Feed-forward neural network - The red line indicates the path a signal travels from input node $x_2$ to output node $y_4$.}
\label{fig:network}
\end{figure}
%-----------------


My problem is that the whole caption is being printed in the list of figures, and i would like it only to have "Feed-forward neural network" in the list of figures.

I would be greatly appreciative if someone could explain to me how i can separate the figure title from extended description.

thanks

• I'm not sure what do you mean with separate the figure title from extended description, but if I understood your question, caption has an option for a shorter caption. From your example above: \caption[Feed-forward neural network]{Feed-forward neural network - The red line indicates the path a signal travels from input node $x_2$ to output node $y_4$.}, so in that way in the list of figures you only see Feed-forward neural network or the short caption you want. – Aradnix Oct 16 '14 at 8:04
• thanks so much for that, that is exactly what i wanted to know! – guskenny83 Oct 16 '14 at 8:11
• Didn't notice the comment already solved the question when I submitted my answer. My bad. – altabq Oct 16 '14 at 8:31

You can define separate captions for the caption itself and the list of figures. Using \caption, the content of the [] brackets is displayed in the list of figures, the content of the {} brackets is displayed under the figure. So,
 \begin{figure}
\caption[Feed-forward neural network]{Feed-forward neural network - The red line indicates the path a signal travels from input node $x_2$ to output node $y_4$}
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9523651599884033, "perplexity": 663.7348841535575}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-40/segments/1600402131412.93/warc/CC-MAIN-20201001112433-20201001142433-00431.warc.gz"}