Figures with only in Beamer with captions updated [on hold]











up vote
0
down vote

favorite












I am unable to get the figure environment to work with only in beamer along with updating figure caption.



Here is sample code:



begin{frame}{VERIFICATION & VALIDATION}
begin{columns}
begin{column}{0.5textwidth}
begin{itemize}
item
end{itemize}
end{column}
begin{column}{0.5textwidth}
only<1>{begin{figure} includegraphics[width=0.8textwidth]{Fig9-cropped} caption{Case 2, Mole fractions} label{Fig12} end{figure}}
only<2>{begin{figure} includegraphics[width=0.8textwidth]{Fig10-cropped} caption{Case 3, Mole fractions} label{Fig13} end{figure}}
only<3>{begin{figure} includegraphics[width=0.8textwidth]{Fig11-cropped} caption{Case 4, Mole fractions} label{Fig14} end{figure}}
only<4>{begin{figure} includegraphics[width=0.8textwidth]{Fig12a-cropped} caption{Case 5, Mole fractions} label{Fig15} end{figure}}
only<5>{begin{figure} includegraphics[width=0.8textwidth]{Fig12b-cropped} caption{Case 5, Temperature} label{Fig16} end{figure}}
end{column}
end{columns}
end{frame}


The main problem is that the captions do not update at all. Is there a workaround? Thanks for the help!










share|improve this question















put on hold as unclear what you're asking by samcarter, Phelype Oleinik, dexteritas, Kurt, Andrew Dec 7 at 3:33


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Welcome to TeX S.E. ! Could you make your MWE fully compiliable adding preamble and instructions that make it compiliable with a simple copy-paste ? Thanks.
    – sztruks
    Dec 3 at 21:09








  • 3




    Sure? This work for me as expected in a documentclass{beamer} begin{document} (your code) end{document} but using images of the mwe package.
    – Fran
    Dec 3 at 21:20










  • Which tex distribution in which version number (check the first line of your log file) do you use? Maybe your system is outdated?
    – Kurt
    Dec 3 at 21:41










  • Sorry for the late response. @Kurt, I am using TexStudio with MikTex distribution. Both are the latest versions.
    – Shah Saud Alam
    Dec 5 at 2:12










  • @Fran, just a quick question. Are the captions updating?
    – Shah Saud Alam
    Dec 5 at 2:13















up vote
0
down vote

favorite












I am unable to get the figure environment to work with only in beamer along with updating figure caption.



Here is sample code:



begin{frame}{VERIFICATION & VALIDATION}
begin{columns}
begin{column}{0.5textwidth}
begin{itemize}
item
end{itemize}
end{column}
begin{column}{0.5textwidth}
only<1>{begin{figure} includegraphics[width=0.8textwidth]{Fig9-cropped} caption{Case 2, Mole fractions} label{Fig12} end{figure}}
only<2>{begin{figure} includegraphics[width=0.8textwidth]{Fig10-cropped} caption{Case 3, Mole fractions} label{Fig13} end{figure}}
only<3>{begin{figure} includegraphics[width=0.8textwidth]{Fig11-cropped} caption{Case 4, Mole fractions} label{Fig14} end{figure}}
only<4>{begin{figure} includegraphics[width=0.8textwidth]{Fig12a-cropped} caption{Case 5, Mole fractions} label{Fig15} end{figure}}
only<5>{begin{figure} includegraphics[width=0.8textwidth]{Fig12b-cropped} caption{Case 5, Temperature} label{Fig16} end{figure}}
end{column}
end{columns}
end{frame}


The main problem is that the captions do not update at all. Is there a workaround? Thanks for the help!










share|improve this question















put on hold as unclear what you're asking by samcarter, Phelype Oleinik, dexteritas, Kurt, Andrew Dec 7 at 3:33


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Welcome to TeX S.E. ! Could you make your MWE fully compiliable adding preamble and instructions that make it compiliable with a simple copy-paste ? Thanks.
    – sztruks
    Dec 3 at 21:09








  • 3




    Sure? This work for me as expected in a documentclass{beamer} begin{document} (your code) end{document} but using images of the mwe package.
    – Fran
    Dec 3 at 21:20










  • Which tex distribution in which version number (check the first line of your log file) do you use? Maybe your system is outdated?
    – Kurt
    Dec 3 at 21:41










  • Sorry for the late response. @Kurt, I am using TexStudio with MikTex distribution. Both are the latest versions.
    – Shah Saud Alam
    Dec 5 at 2:12










  • @Fran, just a quick question. Are the captions updating?
    – Shah Saud Alam
    Dec 5 at 2:13













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am unable to get the figure environment to work with only in beamer along with updating figure caption.



Here is sample code:



begin{frame}{VERIFICATION & VALIDATION}
begin{columns}
begin{column}{0.5textwidth}
begin{itemize}
item
end{itemize}
end{column}
begin{column}{0.5textwidth}
only<1>{begin{figure} includegraphics[width=0.8textwidth]{Fig9-cropped} caption{Case 2, Mole fractions} label{Fig12} end{figure}}
only<2>{begin{figure} includegraphics[width=0.8textwidth]{Fig10-cropped} caption{Case 3, Mole fractions} label{Fig13} end{figure}}
only<3>{begin{figure} includegraphics[width=0.8textwidth]{Fig11-cropped} caption{Case 4, Mole fractions} label{Fig14} end{figure}}
only<4>{begin{figure} includegraphics[width=0.8textwidth]{Fig12a-cropped} caption{Case 5, Mole fractions} label{Fig15} end{figure}}
only<5>{begin{figure} includegraphics[width=0.8textwidth]{Fig12b-cropped} caption{Case 5, Temperature} label{Fig16} end{figure}}
end{column}
end{columns}
end{frame}


The main problem is that the captions do not update at all. Is there a workaround? Thanks for the help!










share|improve this question















I am unable to get the figure environment to work with only in beamer along with updating figure caption.



Here is sample code:



begin{frame}{VERIFICATION & VALIDATION}
begin{columns}
begin{column}{0.5textwidth}
begin{itemize}
item
end{itemize}
end{column}
begin{column}{0.5textwidth}
only<1>{begin{figure} includegraphics[width=0.8textwidth]{Fig9-cropped} caption{Case 2, Mole fractions} label{Fig12} end{figure}}
only<2>{begin{figure} includegraphics[width=0.8textwidth]{Fig10-cropped} caption{Case 3, Mole fractions} label{Fig13} end{figure}}
only<3>{begin{figure} includegraphics[width=0.8textwidth]{Fig11-cropped} caption{Case 4, Mole fractions} label{Fig14} end{figure}}
only<4>{begin{figure} includegraphics[width=0.8textwidth]{Fig12a-cropped} caption{Case 5, Mole fractions} label{Fig15} end{figure}}
only<5>{begin{figure} includegraphics[width=0.8textwidth]{Fig12b-cropped} caption{Case 5, Temperature} label{Fig16} end{figure}}
end{column}
end{columns}
end{frame}


The main problem is that the captions do not update at all. Is there a workaround? Thanks for the help!







beamer floats captions






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 3 at 21:08









gusbrs

6,4942838




6,4942838










asked Dec 3 at 21:08









Shah Saud Alam

1




1




put on hold as unclear what you're asking by samcarter, Phelype Oleinik, dexteritas, Kurt, Andrew Dec 7 at 3:33


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as unclear what you're asking by samcarter, Phelype Oleinik, dexteritas, Kurt, Andrew Dec 7 at 3:33


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Welcome to TeX S.E. ! Could you make your MWE fully compiliable adding preamble and instructions that make it compiliable with a simple copy-paste ? Thanks.
    – sztruks
    Dec 3 at 21:09








  • 3




    Sure? This work for me as expected in a documentclass{beamer} begin{document} (your code) end{document} but using images of the mwe package.
    – Fran
    Dec 3 at 21:20










  • Which tex distribution in which version number (check the first line of your log file) do you use? Maybe your system is outdated?
    – Kurt
    Dec 3 at 21:41










  • Sorry for the late response. @Kurt, I am using TexStudio with MikTex distribution. Both are the latest versions.
    – Shah Saud Alam
    Dec 5 at 2:12










  • @Fran, just a quick question. Are the captions updating?
    – Shah Saud Alam
    Dec 5 at 2:13


















  • Welcome to TeX S.E. ! Could you make your MWE fully compiliable adding preamble and instructions that make it compiliable with a simple copy-paste ? Thanks.
    – sztruks
    Dec 3 at 21:09








  • 3




    Sure? This work for me as expected in a documentclass{beamer} begin{document} (your code) end{document} but using images of the mwe package.
    – Fran
    Dec 3 at 21:20










  • Which tex distribution in which version number (check the first line of your log file) do you use? Maybe your system is outdated?
    – Kurt
    Dec 3 at 21:41










  • Sorry for the late response. @Kurt, I am using TexStudio with MikTex distribution. Both are the latest versions.
    – Shah Saud Alam
    Dec 5 at 2:12










  • @Fran, just a quick question. Are the captions updating?
    – Shah Saud Alam
    Dec 5 at 2:13
















Welcome to TeX S.E. ! Could you make your MWE fully compiliable adding preamble and instructions that make it compiliable with a simple copy-paste ? Thanks.
– sztruks
Dec 3 at 21:09






Welcome to TeX S.E. ! Could you make your MWE fully compiliable adding preamble and instructions that make it compiliable with a simple copy-paste ? Thanks.
– sztruks
Dec 3 at 21:09






3




3




Sure? This work for me as expected in a documentclass{beamer} begin{document} (your code) end{document} but using images of the mwe package.
– Fran
Dec 3 at 21:20




Sure? This work for me as expected in a documentclass{beamer} begin{document} (your code) end{document} but using images of the mwe package.
– Fran
Dec 3 at 21:20












Which tex distribution in which version number (check the first line of your log file) do you use? Maybe your system is outdated?
– Kurt
Dec 3 at 21:41




Which tex distribution in which version number (check the first line of your log file) do you use? Maybe your system is outdated?
– Kurt
Dec 3 at 21:41












Sorry for the late response. @Kurt, I am using TexStudio with MikTex distribution. Both are the latest versions.
– Shah Saud Alam
Dec 5 at 2:12




Sorry for the late response. @Kurt, I am using TexStudio with MikTex distribution. Both are the latest versions.
– Shah Saud Alam
Dec 5 at 2:12












@Fran, just a quick question. Are the captions updating?
– Shah Saud Alam
Dec 5 at 2:13




@Fran, just a quick question. Are the captions updating?
– Shah Saud Alam
Dec 5 at 2:13















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?