Graphics, Figures & TablesList of figures are not updated

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mkhurrame
Posts: 2
Joined: Tue Mar 07, 2017 10:20 pm

List of figures are not updated

Post by mkhurrame »

Code: Select all

Code, edit and compile here:
\begin{figure}[h]
\centering
\psfrag{X(t,f)}[cc][cc][0.8]{$\obetfargs{\mylam}{106}$}
\psfrag{X(t,f+df)}[cc][cc][0.8]{$\obetfargs{\mylam}{107}$}
\psfrag{X(t,f+dff)}[cc][cc][0.8]{$\obetfargs{\mylam}{108}$}
\includegraphics[scale=0.6]{\figurepath chap3/fig34s}
\caption[]{\mymp{Empirical joint distribution of observed $\obsmatf$ in three frequency subbands}
\label{fig:nif1}}
\end{figure}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
where \newcommand{\mymp}[1]{\begin{minipage}[t]{0.7\textwidth}#1\end{minipage}}

Before adding minipage command in the caption, i can see this figure in my list of figures, after adding the minipage command in the caption, i cannot see this figure in the list of figure

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

List of figures are not updated

Post by Johannes_B »

Please provide a compilable example, so we can reproduce what you get.

On the other hand, you can set the width of a caption using a package of the same name: caption.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

List of figures are not updated

Post by Stefan Kottwitz »

I tested your code and it works ok with standard things such as the article class.

Please post code that actually shows the problem, as a Infominimal working example. The cause is not in the code above (only).

Stefan
LaTeX.org admin
mkhurrame
Posts: 2
Joined: Tue Mar 07, 2017 10:20 pm

List of figures are not updated

Post by mkhurrame »

Code: Select all

Code, edit and compile here:
\begin{figure}[h]
\centering
\psfrag{X(t,f)}[cc][cc][0.8]{$\obetfargs{\mylam}{106}$}
\psfrag{X(t,f+df)}[cc][cc][0.8]{$\obetfargs{\mylam}{107}$}
\psfrag{X(t,f+dff)}[cc][cc][0.8]{$\obetfargs{\mylam}{108}$}
\includegraphics[scale=0.6]{\figurepath chap3/fig34s}
\caption[Empirical joint distribution of observed $\obsmatf$ in three frequency subbands]{\mymp{Empirical joint distribution of observed $\obsmatf$ in three frequency subbands}
\label{fig:nif1}}
\end{figure}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
where \newcommand{\mymp}[1]{\begin{minipage}[t]{0.7\textwidth}#1\end{minipage}}

Now its working fine. I was just missing one small thing .. i have to put the caption twice to update it in the list of figures. Thanks a lot for yours concerns
Last edited by Stefan Kottwitz on Thu Mar 09, 2017 8:51 am, edited 1 time in total.
Post Reply