i have this
\begin{textblock}{7}(7.5, 3)
\begin{figure}
\includegraphics[width=\textwidth]{pics/tcbg.eps}
\caption{adam}
\label{tcbg}
\end{figure}
\end{textblock}
and it gives me a
\caption outside float error
can anyone help
thanks
Graphics, Figures & Tables ⇒ Caption for Figure in Textblock
Caption for Figure in Textblock
Last edited by pazmush on Thu May 26, 2011 12:07 pm, edited 2 times in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Caption for Figure in Textblock
Never use a float environment within another environment. It will always try to float out. Use the the \captionof command from the caption package to allow captions wherever you need them.
By the way, there is a »Code« button that you should use for inserting code here. It just improves the readability of your posts.
Thorsten
By the way, there is a »Code« button that you should use for inserting code here. It just improves the readability of your posts.
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10