Unicode Characters

This module provides Python identifiers for Unicode characters corresponding to various mathematical symbols.

The syntax is unicode_XXX, where XXX is the LaTeX name of the symbol, stripped of any backslash or any curly brace (e.g. unicode_mathbbR for ).

EXAMPLES:

Operators:

sage: from sage.typeset.unicode_characters import unicode_otimes
sage: unicode_otimes
'⊗'
sage: hex(ord(_))
'0x2297'
sage: from sage.typeset.unicode_characters import unicode_bigotimes
sage: unicode_bigotimes
'⨂'
sage: hex(ord(_))
'0x2a02'
sage: from sage.typeset.unicode_characters import unicode_wedge
sage: unicode_wedge
'∧'
sage: hex(ord(_))
'0x2227'
sage: from sage.typeset.unicode_characters import unicode_bigwedge
sage: unicode_bigwedge
'⋀'
sage: hex(ord(_))
'0x22c0'
sage: from sage.typeset.unicode_characters import unicode_partial
sage: unicode_partial
'∂'
sage: hex(ord(_))
'0x2202'
>>> from sage.all import *
>>> from sage.typeset.unicode_characters import unicode_otimes
>>> unicode_otimes
'⊗'
>>> hex(ord(_))
'0x2297'
>>> from sage.typeset.unicode_characters import unicode_bigotimes
>>> unicode_bigotimes
'⨂'
>>> hex(ord(_))
'0x2a02'
>>> from sage.typeset.unicode_characters import unicode_wedge
>>> unicode_wedge
'∧'
>>> hex(ord(_))
'0x2227'
>>> from sage.typeset.unicode_characters import unicode_bigwedge
>>> unicode_bigwedge
'⋀'
>>> hex(ord(_))
'0x22c0'
>>> from sage.typeset.unicode_characters import unicode_partial
>>> unicode_partial
'∂'
>>> hex(ord(_))
'0x2202'
from sage.typeset.unicode_characters import unicode_otimes
unicode_otimes
hex(ord(_))
from sage.typeset.unicode_characters import unicode_bigotimes
unicode_bigotimes
hex(ord(_))
from sage.typeset.unicode_characters import unicode_wedge
unicode_wedge
hex(ord(_))
from sage.typeset.unicode_characters import unicode_bigwedge
unicode_bigwedge
hex(ord(_))
from sage.typeset.unicode_characters import unicode_partial
unicode_partial
hex(ord(_))

Arrows:

sage: from sage.typeset.unicode_characters import unicode_to
sage: unicode_to
'→'
sage: hex(ord(_))
'0x2192'
sage: from sage.typeset.unicode_characters import unicode_mapsto
sage: unicode_mapsto
'↦'
sage: hex(ord(_))
'0x21a6'
>>> from sage.all import *
>>> from sage.typeset.unicode_characters import unicode_to
>>> unicode_to
'→'
>>> hex(ord(_))
'0x2192'
>>> from sage.typeset.unicode_characters import unicode_mapsto
>>> unicode_mapsto
'↦'
>>> hex(ord(_))
'0x21a6'
from sage.typeset.unicode_characters import unicode_to
unicode_to
hex(ord(_))
from sage.typeset.unicode_characters import unicode_mapsto
unicode_mapsto
hex(ord(_))

Letters:

sage: from sage.typeset.unicode_characters import unicode_mathbbR
sage: unicode_mathbbR
'ℝ'
sage: hex(ord(_))
'0x211d'
sage: from sage.typeset.unicode_characters import unicode_mathbbC
sage: unicode_mathbbC
'ℂ'
sage: hex(ord(_))
'0x2102'
>>> from sage.all import *
>>> from sage.typeset.unicode_characters import unicode_mathbbR
>>> unicode_mathbbR
'ℝ'
>>> hex(ord(_))
'0x211d'
>>> from sage.typeset.unicode_characters import unicode_mathbbC
>>> unicode_mathbbC
'ℂ'
>>> hex(ord(_))
'0x2102'
from sage.typeset.unicode_characters import unicode_mathbbR
unicode_mathbbR
hex(ord(_))
from sage.typeset.unicode_characters import unicode_mathbbC
unicode_mathbbC
hex(ord(_))