3

I want to achieve this (in math mode):

example

blabla will be something like \foreach x, c1 and c2 \supset A, \subset B, and lalala the rest of the formula.

What's the best way to achieve this? I'm thinking of using _ and ^, together with rotatebox.

edit: this solution looks like:

example2

  • Instead of using this, have you considered reformulating the expression so that this rotated elements are not required? – Gonzalo Medina Jul 19 '15 at 17:01
  • Yes, but my formulas are very long. Do you have a suggestion? Perhaps making it all one line, and bolding the variable I'm quantifying over? – Luka Mikec Jul 20 '15 at 12:15
3
\documentclass{article}
\usepackage{graphicx}

\begin{document}
    $\forall x_{\rotatebox[origin=c]{-20}{$\ \subseteq B$}}\hspace{-2.5em}^{\rotatebox[origin=c]{20}{$\ \supseteq A$}}\ lalala$
\end{document}

This produces result

here

If you don't like the manual space adjusments, look into overlaping.

Edited: code that yeilds better result.

|improve this answer|||||
3

Some improvement of the solution proposed bu @Kiraa.

\documentclass{article}
\usepackage{graphicx}

\begin{document}
$\forall x
\lower .5em \hbox{%
  \rotatebox[origin=lB]{-30}{$\supseteq A$}%
}%
\llap{%
 \lower -.5em \hbox{%
   \rotatebox[origin=lb]{30}{$\subseteq B$}%
 }%
}%
\exists y \in C$
\end{document}

enter image description here

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.