GeneralI notice \angle cannot be used inside \caption.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

I notice \angle cannot be used inside \caption.

Post by yoyoimut »

I notice \angle cannot be used inside \caption.


Working Example:

Code: Select all

\documentclass[draft]{article}
\begin{document}
\begin{figure}
it is ok
\caption{$\triangle OKE$}
\end{figure}
\end{document}
Not working example:

Code: Select all

\documentclass[draft]{article}
\begin{document}
\begin{figure}
it is not ok
\caption{$\angle NOT$}
\end{figure}
\end{document}
Last edited by yoyoimut on Tue Aug 31, 2010 12:17 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: I notice \angle cannot be used inside \caption.

Post by sommerfee »

Use \protect\angle.
yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

I notice \angle cannot be used inside \caption.

Post by yoyoimut »

sommerfee wrote:Use \protect\angle.
Thank sommerfee!

Well done. :P
Last edited by yoyoimut on Tue Aug 31, 2010 12:11 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

I notice \angle cannot be used inside \caption.

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic accordingly as described in Section 3 of the Board Rules.


Best regards
Thorsten
Post Reply