## Math Expression in Caption of Sub-floatcaptions • math-mode • subfig •Add tags
3 posts
• Page
1 of 1
## Math Expression in Caption of Sub-floatHi
I have been using subfigure until these sub figures couldn't fit on a single page and I switched to subfig. I'm now getting the error "missing $ inserted" because i have some math in the caption as shown below: - Code: Select all • Open in writeLaTeX
`\subfloat[Power $-10^0C$.]{\label{cc}} \includegraphics[width=\textwidth]{BWm10.eps}}`
How do I get around this problem? Is it possible to use sub-figure on multiple pages without the caption starting from start on each page? I have these packages: - Code: Select all • Open in writeLaTeX
`\usepackage{cite}` \usepackage{subfig} \usepackage{float} \usepackage{textcomp} \usepackage{amsfonts}
Thanks Deo - musiige
**Posts:**3**Joined:**Fri Apr 12th, 2013
## Re: Math Expression in Caption of Sub-floatHi Deo,
Unfortunately your post is a good example why we are always asking for minimal example documents here. This one works perfectly well: - Code: Select all • Open in writeLaTeX
`\documentclass{article}` \usepackage[demo]{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \subfloat[Power $-10^0C$.]{\label{cc}\includegraphics[width=\textwidth]{BWm10.eps}} \end{figure} \end{document}
So all we can do without a proper example document from you showing the problem is either guessing or looking into the crystal ball.
There are more closed braces than open braces here, please check this.
Yes, look for "continued figures" within the subfig package documentation. -
sommerfee **Posts:**493**Joined:**Mon Apr 9th, 2007
## Re: Math Expression in Caption of Sub-float
Thanks for your reply. That in fact solved the issue. - musiige
**Posts:**3**Joined:**Fri Apr 12th, 2013
3 posts
• Page
1 of 1
## Topic Tagscaptions • math-mode • subfigReturn to Graphics, Figures & Tables ## Who is onlineUsers browsing this forum: Bing [Bot] and 6 guests |