Hello,
I would like to draw a vertical isomorphism sign (i.e. a vertical "\cong") using xymatrix. Can this be done?
To be more precise, the command "\ar@{=}[d]" draws a vertical equal sign, I would like to replace "=" with "≅".
Cheers
Math & Science ⇒ Diagram and '≅' sign using xymatrix
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Diagram and '≅' sign using xymatrix
It would be most precise if you provide a complete and compilable example of what you want to do.xetal wrote:[...] To be more precise, the command "\ar@{=}[d]" draws a vertical equal sign, I would like to replace "=" with "≅". [...]
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Diagram and '≅' sign using xymatrix
I don't believe what you describe is possible using the xymatrix command from xypic alone, though it's certainly possible to create a vertical \cong of a certain length in other ways, but what would be most suitable depends on what use you're putting this to.
For example, the code below, using commands from graphicx, produces a vertical \cong of twice its usual length. But it may be hard to put that in a matrix in the right spot... hard to say without knowing what you're trying to do.
For example, the code below, using commands from graphicx, produces a vertical \cong of twice its usual length. But it may be hard to put that in a matrix in the right spot... hard to say without knowing what you're trying to do.
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{graphicx}\begin{document}\rotatebox{90}{\scalebox{2}[1]{$\cong$}}\end{document}
Re: Diagram and '≅' sign using xymatrix
Since a stretched \cong looks stupid, it is much more common to simply write \ar[r]^[\cong}, then every body understands what you mean (a map from A to B which is also an isomorphy)