Its possible to set the captions of a figure from a extern file? I want to do something like this:
Code: Select all
\begin{figure}[h]
\centering
\includegraphics{Fig1}
\caption{\input{captionFig1.tex}}
\end{figure}
Any Ideas??
Thanks!!
Code: Select all
\begin{figure}[h]
\centering
\includegraphics{Fig1}
\caption{\input{captionFig1.tex}}
\end{figure}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\caption{\protect\input{captionFig1.tex}}
Code: Select all
\begin{figure}[h]
\centering
\includegraphics{Fig1}
\input{captionFig1.tex}}
\end{figure}
Code: Select all
\caption{Some text}
NEW: TikZ book now 40% off at Amazon.com for a short time.