<< | Page list | >>
Unicode characters that are not yet supported by LyX.
(This wiki page replaces the "META" bug 3673.)
Missing characters
If you come accross a LaTeX error because some unicode character is unknown, please sort it here.
Please fill in as much information as possible.
List of missing characters:
- "⇐" U+021D0: It is possible to enter it in Lyx (e.g. with Neo2), it's displayed correctly. It causes an error message on compilation (Package inputenc error)
- "⇒" U+021D2: It is possible to enter it in Lyx (e.g. with Neo2), it's displayed correctly. It causes an error message on compilation (Package inputenc error)
- "⇔" U+021D4: It is possible to enter it in Lyx (e.g. with Neo2), it's displayed correctly. It causes an error message on compilation (Package inputenc error)
- "↦" U+021D6 : It is possible to enter it in Lyx (e.g. with Neo2), it's displayed correctly. It causes an error message on compilation (Package inputenc error)
- U+035C from the lenny face
The name and code point of unicode characters can be queried easily at http://www.decodeunicode.org/ or (at least on Linux) with the programs unicode or gucharmap.
As a workaround, you can make a single Character useable by defining a replacement in the document's preamble (Document ⇒ Settings ⇒ Latex-Preamble). With the UTF8-code point, you can define a replacement command for this character with the following line of code:
\DeclareUnicodeCharacter{<code point>}{$<Replacement>$} % e.g. \DeclareUnicodeCharacter{21D2}{$\Rightarrow$}
A comprehensive list of symbols supported by LaTeX is
symbols-a4.pdf.
Supported characters
- Supported by standard LaTeX or a package that is part of the standard distributions.
- Matching shape with the LyX-supported fonts.
- Available in a type-1 (outline) font, not just bitmapped.
- Please do not list a LaTeX symbol that just looks "similar", make sure it really is the same character/symbol.
Character | Code point | Name | LaTeX equivalent | Package | Status |
ẞ | 0x1E9E | LATIN CAPITAL LETTER SHARP S | \SS | | output depends on font package |
Partially supported characters
- Depending on a special font setting or non-standard packages, or
- only available in a bitmap font, or
- a LaTeX equivalent that is the "right" character but looks different.
Character | Code point | Name | LaTeX equivalent | Package | Status |
⁰ - ₔ | 0x2070-0x2094 | Super- and subscripts | \textsuper, $^$, $_$ | | Discuss |
ϑ | 0x03d1 | Greek Theta Symbol | \vartheta | Math/OML | |
- Super- and subscripts
- Super- and subscripts are bigger in math than with \textsuper* commands. OTOH, only the super- and subscripts in the "Latin-1 Supplement" block are supported by the \text* commands.
- Greek Theta Symbol
- The LGR font encoding has only one slot for a Small Theta: Some LGR encoded fonts (latin-modern, cb, kerkis, but not tgtermes) have the curly ($\vartheta$) shaped glyph at the position of the Greek Small Letter Theta (which according to the Unicode reference should look like $\theta$).
The OML font encoding provides slots for both, \theta (small letter theta) and \vartheta (theta symbol).
Not supported characters
- There is no (known) way to typeset these characters with LaTeX. (Please sort into one of the tables above if you find a LaTeX equivalent.)
- Try XeTeX, if you really depend on them.
Character | Code point | Name | LaTeX equivalent | Package | Status |
₠ | 0x20a0 | EURO-CURRENCY SIGN (not € 0x20ac!) | None | | |
₢ | 0x20a2 | CRUZEIRO SIGN | None | | |
₥ | 0x20a5 | MILL SIGN | None | | |
₧ | 0x20a7 | PESETA SIGN | None | | |
₨ | 0x20a8 | RUPEE SIGN | None | | |
₭ | 0x20ad | KIP SIGN | None | | |
₮ | 0x20ae | TUGRIK SIGN | None | | |
₯ | 0x20af | DRACHMA SIGN | None | | |
₰ | 0x20b0 | GERMAN PENNY SIGN | None | | |
₪ | 0x20aa | NEW SHEQEL SIGN | None | | |
⌠ | 0x2320 | TOP HALF INTEGRAL | None | | |
⌡ | 0x2321 | BOTTOM HALF INTEGRAL | None | | |
↯ | 0x21AF | DOWNWARDS ZIGZAG ARROW = electrolysis | \lightning, \Lightning | stmaryrd,wasysym,marvosym | Not in LyX |
Missing math definitions
Since LyX 1.6, Unicode in math is supported. For this "mathcommand" and "mathpreamble" fields were added to the unicodesymbols file.
If these are missing or empty, the text conversion is wrapped in a \lyxmathsym
command that by default sets them as "text-in-math".
- Even if text and math version look identical, the LaTeX source is simpler if a math conversion rule exists (check with View>Source or File>Export>LaTeX).
- The Unicode MATH property is assigned to characters that "naturally appear in mathematical contexts" (see http://www.unicode.org/reports/tr25/). These should be converted to LaTeX math constructs.
Problems/Open Questions
- Superscripts and numbers in vulgar fractions are bigger in math.
- Which letters should be in italic:
* only Latin and Greek (ISO 31 conform)
* all alphabetic characters (including cyrillic, hebrew, devangari, georgian, ...)
* alphabetic characters with the Unicode MATH property -- if they do not have an explicitely defined shape (like the "mathematical alphanumeric symbols").
Character | Code point | Name | Math equivalent | Package | Status |
Α - ω | | Greek letters | A - \omega | | Leave as Text |
∀ - ⋿ | 0x2200-0x22ff | Mathematical Operators | | | incomplete |
¹ | 0x00b9 | SUPERSCRIPT 1 | {{}^1} | | TODO |
² | 0x00b2 | SUPERSCRIPT 2 | {{}^2} | | TODO |
³ | 0x00b3 | SUPERSCRIPT 3 | {{}^3} | | TODO |
⁰ - ⁿ | 0x2070-0x207f | SUPERSCRIPT * | {{}^*} | | TODO |
₀ - ₔ | 0x2080-0x2094 | SUBSCRIPT * | {{}_*} | | TODO |
¼ | 0x00bc | 1/4 FRACTION | \frac14 | | TODO |
½ | 0x00bd | 1/2 FRACTION | \frac12 | | TODO |
¾ | 0x00be | 3/4 FRACTION | \frac34 | | TODO |
⅓ - ⅞ | 0x2153-0x215e | VULGAR FRACTION * | \nicefrac{}{} | nicefrac | TODO |
〈 | 0x2329 | LEFT-POINTING ANGLE BRACKET | \langle ?? | | TODO |
〉 | 0x232a | RIGHT-POINTING ANGLE BRACKET | \rangle ?? | | TODO |
⟨ | 0x27e8 | MATHEMATICAL LEFT ANGLE BRACKET | \langle | | TODO |
⟩ | 0x27e9 | MATHEMATICAL RIGHT ANGLE BRACKET | \rangle | | TODO |
⟵ ... | 0x27f0-0x27ff | Supplemental Arrows-A | \longleftarrow ... | (AMS) | TODO |
𝐀 ... | 0x119808 ... | Mathematical Alphanumeric Symbols | \mathbf{A} ... | | TODO |
√ | 0x221a | SQUARE ROOT | \surd | | TODO |
These Unicode characters are not supported by LyX 2.3.1 running on Ubuntu
16.04:
U+26d4 No Entry
U+26b3 Ceres (asteroid)
U+26b4 Pallas
U+26b5 Juno
U+26b6 Vesta
U+26b7 Chiron
U+26b8 Black Moon Lilith
U+26ba Semisextile
U+26b9 Sextile
U+26bc Sesquiquadrate
U+26bb Quincunx
U+2b62 Rightwards Triangle-Headed Arrow
These Unicode characters are displayed in text, but not in LaTex:
U+1f311 New Moon Symbol
U+29bb Circle with Superimposed X
U+1f728 Alchemical Symbol for Verdigris
U+1f312 Waxing Crescent Moon Symbol
U+1f313 First Quarter Moon Symbol
U+1f314 Waxing Gibbous Moon Symbol
U+1f315 Full Moon Symbol
U+1f316 Waning Gibbous Moon Symbol
U+1f317 Last Quarter Moon Symbol
U+1f318 Waning Crescent Moon Symbol
U+1f319 Crescent Moon
U+1f812 Rightwards Arrow with Small Equilateral Arrowhead
U+1f852 Rightwards Sans-Serif Arrow
Category: Unicode