Math symbols (\subseteq
and \supseteq
) are rotated and rendered successfully in text mode with the aid of \rotatebox{}{}
.
In the commented section below, there is a problem with getting these symbols into the subfloat label. I'm using pdflatex
This is pdfTeX, Version 3.1415926-1.40.11 (Web2C 2010)
Any ideas? Thanks.
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{stmaryrd}
\usepackage{fouriernc}
\usepackage{MnSymbol}
\usepackage{colonequals}
\usepackage{ulem}
\usepackage{fancybox}
\usetikzlibrary{arrows, shapes, patterns}
\pagestyle{myheadings}
\begin{document}
\rotatebox{90}{$\supseteq$}
\rotatebox{90}{$\subseteq$}
\begin{figure}
\centering
%\subfloat[Text $\overline{A\cup B}$,\;$\downarrow$\rotatebox{90}{$\supseteq$}]{
\subfloat[Text $\overline{A\cup B}$,\;$\downarrow$]{
\begin{tikzpicture}[scale=0.5, auto, swap]
\draw (-1,0) circle (1);
\draw (2,0) circle (1);
\node at (-2,1) [above left] {$A$};
\node at (3,1) [above right] {$B$};
\end{tikzpicture}
}\qquad
\caption{Sets}
\end{figure}
\end{document}
EDIT: Addition of parameter origin=c
to
\subfloat[Text $\overline{A\cup B}$,\;$\downarrow$\protect\rotatebox[origin=c]{-90}{$\subseteq$}]{
Without as seen in the picture.
Error while compiling Runaway argument?
origin=c\caption@ifstrut {\ifhmode \@finalstrut \strutbox \fi }{}
! Paragraph ended before \Grot@box@kv was complete.
<to be read again>
\par
l.30 ...ownarrow$\protect\rotatebox[origin=c]{-90}
{$\subseteq$}]{
tikzlibrary
.Latex Error: ./untitled2.tex:13 I can't find file `tikzlibrary'.
Is it just my distribution?latex2e
,pdfTeX
,pdflatex
,Tex Live 2010
...fortikz
I would say the latest available version :) My error is! Argument of \sf@@@subfloat has an extra }. <inserted text> \par l.30 } \qquad