I need to include graphics file inside the figure caption, I coded like below
Code: Select all
\begin{figure}
\includegraphics{figure.eps}
\caption{mytext \includegraphics{capfigure.eps} mytext.}
\end{figure}
thanks
regards
a r u l
Code: Select all
\begin{figure}
\includegraphics{figure.eps}
\caption{mytext \includegraphics{capfigure.eps} mytext.}
\end{figure}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\begin{figure}[!ht]
\centering
\includegraphics{name}
\caption[the caption that will appear in the LoF]{texr \includegraphics{name} text}
\label{fig:test}
\end{figure}
Code: Select all
\caption{mytext \protect\includegraphics{capfigure.eps} mytext.}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis