6

I am looking for a way to create a symbol of an arrow in which it points in a downward direction but do not know if one already exist. I have tried detexify to come up with nothing.

The picture of the arrow is below:

Picture of Arrow

1

3 Answers 3

6

Using TikZ you can define a command that will give you a stretchable symbol; you can do something like this:

\documentclass{book}
\usepackage{tikz}

\newcommand\myarrow[1][1]{%
  \raisebox{-0.5cm}{\begin{tikzpicture}\draw (0,0) -- (#1,0); \draw[->] (#1,0) -- (#1,-0.5);\end{tikzpicture}}}

\begin{document}
\noindent\myarrow[6.4]
\begin{equation}
  x^n + y^n = z^n.
\end{equation}

\noindent\myarrow[4.8]
\begin{equation}
  a= b + c + d + e + f.
\end{equation}

\end{document}

enter image description here

1
  • @ Gonzalo: Thanks again. It works like a charm and the best part about this solution is that it is easy to maintain, i.e., make adjustments to fit your ones particular needs with some minor changes. Thanks Again. :) Gotta learn this tikz package to draw things. I have inkscape, but have not done much with it yet.
    – night owl
    Commented Jul 19, 2011 at 22:18
4

This might be what you are looking for:

\usepackage{graphicx,amssymb}

\newcommand{\rRsh}{\rotatebox[origin=c]{-90}{$\Rsh$}}

Try $X\rRsh Y$ and make your comments.

If mathabx is loaded instead of amssymb, the same definition produces a symbol with two equal segments.

To get an extensible horizontal bar, define

\newcommand{\longrRsh}[1]{%
  \makebox[#1]{\leaders\hrule height 1.25ex depth -1.16ex\relax
    \hfil\kern-1pt\rRsh}}

and then \longrRsh{3cm} will produce a 3cm long symbol (the figures are optimized for the amssymb version).

2
  • @ egreg:Thanks! It worked very well. Could you add a little extension on the the already good answer to show how to extend the arrow longer to the right?
    – night owl
    Commented Jul 18, 2011 at 22:40
  • Not quite what I meant, but I see the difference in the suggestion stated above. I wanted the segment that does not have the arrow tip connected to it to stretch across the page to a certain spot to point down right over a set of equations.
    – night owl
    Commented Jul 18, 2011 at 22:49
2

This is not quite what you are looking for but might be good enough:

\documentclass{article}
\usepackage{amsmath}
\usepackage{MnSymbol}
\begin{document}
\[
    a \rhookdownarrow b
\]
\end{document}
1
  • 1
    Thanks for the response, I might find that symbol helpful later. But not quite what I was needing at the moment.
    – night owl
    Commented Jul 18, 2011 at 22:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .