Math & Science ⇒ How to rotate a symbol
How to rotate a symbol
how can I rotate the following symbols within a math environment?
\leads to (at angle 180)
\forall (upside down)
Thanks!
Ilaria
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to rotate a symbol
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How to rotate a symbol
If you wanted something upside down mirror-image style, rather than only rotated 180 degrees, you might try a combination of that with reflectbox:
Code: Select all
\usepackage{graphicx}
...
\reflectbox{\rotatebox[origin=c]{180}{$\leadsto$}}
Code: Select all
\newcommand{\invertleadsto}{%
\mathrel{\reflectbox{\rotatebox[origin=c]{180}{$leadsto$}}}}
Code: Select all
\newcommand{\invertleadsto}{%
\mathrel{\raisebox{.1em}{%
\reflectbox{\rotatebox[origin=c]{180}{$\leadsto$}}}}}
E.g., I personally use:
Code: Select all
\usepackage{rotating}
...
\newcommand{\invertediota}{\begin{sideways}%
\begin{sideways}$\iota$\end{sideways}\end{sideways}}
Not quite sure why you want an upside down \forall though. That would just look like the letter A, wouldn't it?
(Thornsten posted while I was writing. I don't see how a scalebox would help, but maybe I'm missing something.)
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to rotate a symbol
As demonstrated in the above mentioned section of the graphicx manual.frabjous wrote: [...] (Thornsten posted while I was writing. I don't see how a scalebox would help, but maybe I'm missing something.)
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{graphicx}
\usepackage{latexsym}
\begin{document}
\reflectbox{$\leadsto$}
\scalebox{1}[-1]{$\forall$}
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to rotate a symbol
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to rotate a symbol
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{graphicx}
\usepackage{latexsym}
\begin{document}
Text \reflectbox{$\leadsto$} Text
Text \rotatebox[origin=c]{180}{$\forall$} Text
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10