M BUZZ CRAZE NEWS
// general

typing arrows in plain text?

By Gabriel Cooper

In plain text (as opened in emacs, gedit, ...), how can I type up and down arrows? I type the up arrow in two lines, as "^" above "|", where aligning them is very inconvenient. I don't know how to type down arrow.

I typed left arrow as "<-" and right arrow as "->". Is it the best way we can do?

Thanks.

7

2 Answers

Type arrows by copy/pasting the Unicode characters in the first column of the below table.

You can also type an HTML entity in the third column and it will render as the appropriate arrow character.

You can also press the Ctrl+Shift+u keyboard combination which will print a u character on the screen. Then after the u type one of the 4-digit hexadecimal codes in the second column and press Enter to render the u+4-digit hexadecimal number that appears on the screen as the appropriate arrow character.

CharacterHexHTML Entity
2190&larr;
2191&uarr;
2192&rarr;
2193&darr;
2194&harr;
2195&varr;
2196&nwarr;
2197&nearr;
2198&searr;
2199&swarr;

HTML entities for mdash and ndash (for long dashes) are &mdash; and &ndash;
HTML entities for less than and greater than characters are &lt; and &gt;

6

Press Ctrl + Shift + U, then type the hexcode of the character, then press Enter.

Hex codes for arrows:

SymbolHex Code
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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