I have the following longtable :
\begin{longtable}{|p{10cm}|}
\hline
some text
\includegraphics[width=10cm,keepaspectratio]{\basedir some.png}
some text\\
\hline
\end{longtable}
Is there a way to insert a caption and a label to a graphic inside a longtable?
Or
How can I insert a figure into a longtable cell?
I have been searching for a while but couldn't find any solution. Thanks in advance.
graphicxoffers the\graphicspathmacro, which does what you try with\basedir;-) Furthermore always provide minimal working examples (MWE) illustration your problem – you may use thedemooption ofgraphicxsince no other have your image files. There’s also themwepackage, that comes with some example images … – Tobi Dec 7 '12 at 12:12