Search found 2 matches

by mena
Thu Jul 29, 2010 6:44 pm
Forum: Graphics, Figures & Tables
Topic: Caption from extern file
Replies: 2
Views: 1511

Caption from extern file

Thanks Stefan!!
Another solution is just put the "\caption" on the extern file and call input:


\begin{figure}[h]
\centering
\includegraphics{Fig1}
\input{captionFig1.tex}}
\end{figure}


and captionFig1.tex would be something like


\caption{Some text}


I like yours 'cause in my solution u ...
by mena
Thu Jul 29, 2010 5:55 pm
Forum: Graphics, Figures & Tables
Topic: Caption from extern file
Replies: 2
Views: 1511

Caption from extern file

Hi all,
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}
This example doesnt work :(
Any Ideas??

Thanks!!