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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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