Unicode: Difference between revisions

From miki
Jump to navigation Jump to search
Line 129: Line 129:
;Inserting Unicode symbols in Windows
;Inserting Unicode symbols in Windows
* {{kb|Alt-KP0}}-{{kb|Alt-KP9}} — Press {{kb|Alt}} key then the unicode character code in ''decimal''.
* {{kb|Alt-KP0}}-{{kb|Alt-KP9}} — Press {{kb|Alt}} key then the unicode character code in ''decimal''.
** For small code, prefix fix <code>0</code> to force unicode, instead of ascii (eg. {{kb|Alt-0183}} to get ''Middle Dot'')
* <code>4-digit hex code</code>, then {{kb|Alt-X}} &mdash; Type unicode character code in ''hexadecimal'', then press {{kb|Alt-X}} (at least in Office applications)
* <code>4-digit hex code</code>, then {{kb|Alt-X}} &mdash; Type unicode character code in ''hexadecimal'', then press {{kb|Alt-X}} (at least in Office applications)

Revision as of 13:36, 14 May 2014

Unicode symbols

Frequently used symbols:

Symbol Unicode
(hex)
Unicode
(dec)
Keymap (linux be) HTML
entity
Unicode
name
LaTeX
0x2190 8592 ^AltGr-Y &larr; Leftwards Arrow \leftarrow \gets
0x2191 8593 ^AltGr-Shift-U &uarr; Upwards Arrow \uparrow
0x2192 8594 ^AltGr-I &rarr; Rightwards Arrow \rightarrow \to
0x2193 8595 ^AltGr-U &darr; Downwards Arrow \downarrow
0x20D6 8406 Combining Left Arrow Above
0x20D7 8407 Combining Right Arrow Above
̅ 0x0305 773 Combining Overline
̲ 0x0332 818 Combining Low Line
0x2208 8712 Element Of \in
0x2209 8713 Not An Element Of \notin
0x220A 8714 Small Element Of \smallin
· 0x00B7 183 Middle Dot \cdotp \centerdot

(LaTeX symbol name from package unicode-math)

How to find Unicode symbols:

  • shapecatcher.com - unicode character recognitiondraw the symbol with the mouse to find it!
  • In Gnome, see character maps (gucharmap) to get unicode hex code.
  • In KDE, try KDE Character Selector (KCharSelect).
  • In Windows, try Character Map. Use Search for field to search characters with matching description (click Advanced view)

Using Combining symbols:

  • In Windows, try Character Map. Use Search for with Combining to find all combining symbols.
  • TBC

Reference:

Tips

Inserting Unicode symbols in Linux

These are similar to Windows' Alt-key code.

  • Ctrl-Shift-u, followed by unicode hexadecimal code while maintaining Ctrl-Shift (see [1])
Ex Ctrl-Shift-ue7 for ç, Ctrl-Shift-ue8 for è, Ctrl-Shift-ue9 for é...
  • In Gnome, see character maps (gucharmap) to get unicode hex coce.
  • In KDE, try KDE Character Selector (KCharSelect).
Inserting Unicode symbols in Windows
  • Alt-KP0-Alt-KP9 — Press Alt key then the unicode character code in decimal.
    • For small code, prefix fix 0 to force unicode, instead of ascii (eg. Alt-0183 to get Middle Dot)
  • 4-digit hex code, then Alt-X — Type unicode character code in hexadecimal, then press Alt-X (at least in Office applications)