]> git.lyx.org Git - lyx.git/blobdiff - lib/unicodesymbols
Cmake build tests: Label also layoyt tests
[lyx.git] / lib / unicodesymbols
index 249447e138e1b1418b5663c62d2fde2d547327d2..24a11fa69642dc9115d2ec0335f624e6e3d9e0c2 100644 (file)
 # Both mathcommand and mathpreamble are optional.
 # textpreamble and mathpreamble can either be a feature known by the LaTeXFeatures
 # class (e.g. tipa), or a LaTeX command (e.g. \\usepackage{bla}).
+# Features may be combined using '|', in this case one of the alternatives is
+# chosen. The algorithm tries to satisfy as many requirements as possible.
+# Therefore it may depend on the whole document contents which feature is chosen.
 # Known flags:
 # - combining       This is a combining char that will get combined with a base char
-# - force           Always output replacement command
+# - force              Always output replacement command
+# - force=enc1;enc2... Always output replacement command in the specified encodings.
+# - force!=en1;en2...  Always output replacement command in all but the specified encodings.
+#                      Symbols are never forced in encodings with iconv name
+#                      UTF-8 and package none (currently only utf8-plain).
 # - mathalpha       This character is considered as a math variable in mathmode
 # - notermination=text Do not terminate this textcommand (by {} or space).
 #                      This is set by default if textcommand ends with }.
 0x0132 "IJ"                       "" "mathalpha,notermination=both" "IJ" "" # LATIN CAPITAL LIGATURE IJ
 0x0133 "ij"                       "" "mathalpha,notermination=both" "ij" "" # LATIN SMALL LIGATURE IJ
 0x0134 "\\^{J}"                   "" "mathalpha" "\\hat{J}" # LATIN CAPITAL LETTER J WITH CIRCUMFLEX
-0x0135 "\\^{\\j}"                 "" "mathalpha" "\\hat{\\jmath}" # LATIN SMALL LETTER J WITH CIRCUMFLEX
+0x0135 "\\^{\\j}"                 "" "mathalpha,force=utf8" "\\hat{\\jmath}" "" # LATIN SMALL LETTER J WITH CIRCUMFLEX
 0x0136 "\\c{K}"                   "" "mathalpha" "\\cedilla{K}" "accents,cedilla" # LATIN CAPITAL LETTER K WITH CEDILLA
 0x0137 "\\c{k}"                   "" "mathalpha" "\\cedilla{k}" "accents,cedilla" # LATIN SMALL LETTER K WITH CEDILLA
 #0x0138 ""                         "" "" "" "" # LATIN SMALL LETTER KRA
 #0x01ed ""                         "" "" # LATIN SMALL LETTER O WITH OGONEK AND MACRON
 #0x01ee ""                         "" "" # LATIN CAPITAL LETTER EZH WITH CARON
 #0x01ef ""                         "" "" # LATIN SMALL LETTER EZH WITH CARON
-0x01f0 "\\v{\\j}"                 "" "mathalpha" "\\check{\\jmath}" # LATIN SMALL LETTER J WITH CARON
+0x01f0 "\\v{\\j}"                 "" "mathalpha,force=utf8" "\\check{\\jmath}" "" # LATIN SMALL LETTER J WITH CARON
 #0x01f1 ""                         "" "" # LATIN CAPITAL LETTER DZ
 #0x01f2 ""                         "" "" # LATIN CAPITAL LETTER D WITH SMALL LETTER Z
 #0x01f3 ""                         "" "" # LATIN SMALL LETTER DZ
 #0x0234 ""                         "" "" # LATIN SMALL LETTER L WITH CURL
 0x0235 "\\textctn"                "tipa" "force" # LATIN SMALL LETTER N WITH CURL
 0x0236 "\\textctt"                "tipa" "force" # LATIN SMALL LETTER T WITH CURL
-0x0237 "\\j"                      "" "mathalpha" "\\jmath" # LATIN SMALL LETTER DOTLESS J
+0x0237 "\\j"                      "" "mathalpha,force=utf8" "\\jmath" "" # LATIN SMALL LETTER DOTLESS J
 0x0238 "\\textdblig"              "tipx" "force" # LATIN SMALL LETTER DB DIGRAPH
 0x0239 "\\textqplig"              "tipx" "force" # LATIN SMALL LETTER QP DIGRAPH
 #0x023a ""                         "" "" "" "" # LATIN CAPITAL LETTER A WITH STROKE
 0x02ec "\\textsubwedge{ }"        "tipa" "force" # MODIFIER LETTER VOICING
 #0x02ed ""                         "" "" # MODIFIER LETTER UNASPIRATED
 #0x02ee ""                         "" "" # MODIFIER LETTER DOUBLE APOSTROPHE
+#0x02ef ""                         "" "" "" "" # MODIFIER LETTER LOW DOWN ARROWHEAD
 0x02f0 "\\textsubcircum{ }"       "tipa" "force" # MODIFIER LETTER LOW UP ARROWHEAD
 #0x02f1 ""                         "" "" # MODIFIER LETTER LOW LEFT ARROWHEAD
 #0x02f2 ""                         "" "" # MODIFIER LETTER LOW RIGHT ARROWHEAD
 #0x02f4 ""                         "" "" # MODIFIER LETTER MIDDLE GRAVE ACCENT
 #0x02f5 ""                         "" "" # MODIFIER LETTER MIDDLE DOUBLE GRAVE ACCENT
 #0x02f6 ""                         "" "" # MODIFIER LETTER MIDDLE DOUBLE ACUTE ACCENT
-0x02f7 "\\textsubtilde"           "tipa" "force" # MODIFIER LETTER MIDDLE DOUBLE GRAVE ACCENT
+0x02f7 "\\textsubtilde{ }"        "tipa" "force" "" "" # MODIFIER LETTER LOW TILDE
 #0x02f8 ""                         "" "" # MODIFIER LETTER RAISED COLON
 0x02f9 "\\textopencorner"         "tipa" "force" # MODIFIER LETTER BEGIN HIGH TONE
 0x02fa "\\textcorner"             "tipa" "force" # MODIFIER LETTER END HIGH TONE
 #0x02fb ""                         "" "" # MODIFIER LETTER BEGIN LOW TONE
 #0x02fc ""                         "" "" # MODIFIER LETTER END LOW TONE
+#0x02fd ""                         "" "" "" "" # MODIFIER LETTER SHELF
+#0x02fe ""                         "" "" "" "" # MODIFIER LETTER OPEN SHELF
+#0x02ff ""                         "" "" "" "" # MODIFIER LETTER LOW LEFT ARROW
 #
 # Combining diacritical marks
 #
 0x03bf "\\textgreek{o}"           "textgreek" "" # GREEK SMALL LETTER OMICRON
 0x03c0 "\\textgreek{p}"           "textgreek" "mathalpha" "\\pi" "" # GREEK SMALL LETTER PI
 0x03c1 "\\textgreek{r}"           "textgreek" "mathalpha" "\\rho" "" # GREEK SMALL LETTER RHO
-0x03c2 "\\textgreek{c}"           "textgreek" "force,mathalpha" "\\varsigma" "" # GREEK SMALL LETTER FINAL SIGMA
-0x03c3 "\\textgreek{sv}"          "textgreek" "force,mathalpha" "\\sigma" "" # GREEK SMALL LETTER SIGMA
+0x03c2 "\\textgreek{c}"           "textgreek" "force=iso8859-7,mathalpha" "\\varsigma" "" # GREEK SMALL LETTER FINAL SIGMA
+0x03c3 "\\textgreek{sv}"          "textgreek" "force=iso8859-7,mathalpha" "\\sigma" "" # GREEK SMALL LETTER SIGMA
 0x03c4 "\\textgreek{t}"           "textgreek" "mathalpha" "\\tau" "" # GREEK SMALL LETTER TAU
 0x03c5 "\\textgreek{u}"           "textgreek" "mathalpha" "\\upsilon" "" # GREEK SMALL LETTER UPSILON
 0x03c6 "\\textgreek{f}"           "textgreek" "mathalpha" "\\varphi" "" # GREEK SMALL LETTER PHI
 #
 # general punctuation
 #
-0x2000 "\\enskip"                 "" "" "\\enskip" "" # EN QUAD
-0x2001 "\\quad"                   "" "" "\\quad" "" # EM QUAD
-0x2002 "\\enskip"                 "" "" "\\enskip" "" # EN SPACE
-0x2003 "\\quad"                   "" "" "\\quad" "" # EM SPACE
-0x2004 "\\;"                      "" "notermination=both" "\\;" "" # THREE-PER-EM SPACE
-0x2005 "\\:"                      "" "notermination=both" "\\:" "" # FOUR-PER-EM SPACE
-0x2006 "\\,"                      "" "notermination=both" "\\," "" # SIX-PER-EM SPACE
-0x2007 "\\LyXFigureSpace" "\\newcommand*\\LyXFigureSpace{\\hphantom{0}}" "" "\\LyXFigureSpace" "\\newcommand*\\LyXFigureSpace{\\hphantom{0}}" # FIGURE SPACE
-0x2008 "\\LyXPunctSpace" "\\newcommand*\\LyXPunctSpace{\\hphantom{,}}" "" "\\LyXPunctSpace" "\\newcommand*\\LyXPunctSpace{\\hphantom{,}}" # PUNCTUATION SPACE
-0x2009 "\\LyXThinSpace" "\\newcommand*\\LyXThinSpace{\\,\\hspace{0pt}}" "" "\\LyXThinSpace" "\\newcommand*\\LyXThinSpace{\\,\\hspace{0pt}}" # THIN SPACE
-0x200a "\\LyXHairSpace" "\\newcommand*\\LyXHairSpace{\\hspace{1pt}}" "" "\\LyXHairSpace" "\\newcommand*\\LyXHairSpace{\\hspace{1pt}}" # HAIR SPACE
-0x200b "\\LyXZeroWidthSpace" "\\newcommand*\\LyXZeroWidthSpace{\\hspace{0pt}}" "" "\\LyXZeroWidthSpace" "\\newcommand*\\LyXZeroWidthSpace{\\hspace{0pt}}" # ZERO WIDTH SPACE
+0x2000 "\\enskip"                 "" "force=utf8" "\\enskip" "" # EN QUAD
+0x2001 "\\quad"                   "" "force=utf8" "\\quad" "" # EM QUAD
+0x2002 "\\enskip"                 "" "force=utf8" "\\enskip" "" # EN SPACE
+0x2003 "\\quad"                   "" "force=utf8" "\\quad" "" # EM SPACE
+0x2004 "\\LyXThreePerEmSpace" "\\newcommand*{\\LyXThreePerEmSpace}{\hskip0.3333em\relax}" "force=utf8" "\\LyXThreePerEmSpace" "\\newcommand*{\\LyXThreePerEmSpace}{\hskip0.3333em\relax}" # THREE-PER-EM SPACE
+0x2005 "\\LyXFourPerEmSpace" "\\newcommand*{\\LyXFourPerEmSpace}{\hskip0.25em\relax}" "force=utf8" "\\LyXFourPerEmSpace" "\\newcommand*{\\LyXFourPerEmSpace}{\hskip0.25em\relax}" # FOUR-PER-EM SPACE
+0x2006 "\\LyXSixPerEmSpace" "\\newcommand*{\\LyXSixPerEmSpace}{\hskip0.16667em\relax}" "force=utf8" "\\LyXSixPerEmSpace" "\\newcommand*{\\LyXSixPerEmSpace}{\hskip0.16667em\relax}" # SIX-PER-EM SPACE
+0x2007 "\\LyXFigureSpace" "\\newcommand*\\LyXFigureSpace{\\hphantom{0}}" "force=utf8" "\\LyXFigureSpace" "\\newcommand*\\LyXFigureSpace{\\hphantom{0}}" # FIGURE SPACE
+0x2008 "\\LyXPunctSpace" "\\newcommand*\\LyXPunctSpace{\\hphantom{,}}" "force=utf8" "\\LyXPunctSpace" "\\newcommand*\\LyXPunctSpace{\\hphantom{,}}" # PUNCTUATION SPACE
+0x2009 "\\LyXThinSpace" "\\newcommand*\\LyXThinSpace{\\,\\hspace{0pt}}" "force=utf8" "\\LyXThinSpace" "\\newcommand*\\LyXThinSpace{\\,\\hspace{0pt}}" # THIN SPACE
+0x200a "\\LyXHairSpace" "\\newcommand*\\LyXHairSpace{\\hspace{1pt}}" "force=utf8" "\\LyXHairSpace" "\\newcommand*\\LyXHairSpace{\\hspace{1pt}}" # HAIR SPACE
+0x200b "\\LyXZeroWidthSpace" "\\newcommand*\\LyXZeroWidthSpace{\\hspace{0pt}}" "force=utf8" "\\LyXZeroWidthSpace" "\\newcommand*\\LyXZeroWidthSpace{\\hspace{0pt}}" # ZERO WIDTH SPACE
 0x200c "\\textcompwordmark"       "" "" "" "" # ZERO WIDTH NON-JOINER
 #0x200d ""                         "" "" "" "" # ZERO WIDTH JOINER
 #0x200e ""                         "" "" "" "" # LEFT-TO-RIGHT MARK
 0x2023 "\\textifsymbol[ifgeo]{116}" "ifsym" "" # TRIANGULAR BULLET # ≈ 0x25b8
 0x2024 "."                        "" "notermination=text" "" "" # ONE DOT LEADER # ≈ FULL STOP
 0x2025 ".\\,."                    "" "notermination=text" "" "" # TWO DOT LEADER
-0x2026 "\\ldots"                  "" "" "\\ldots" "" # HORIZONTAL ELLIPSIS
+0x2026 "\\dots"                   "" "" "\\ldots" "" # HORIZONTAL ELLIPSIS
 #0x2027 ""                        "" "notermination=text" "" "" # HYPHENATION POINT (visible symbol used to indicate correct positions for word breaking, looks like but is not 0x00b7 middle dot)
 #0x2028 ""                         "" "" "" "" # LINE SEPARATOR
 #0x2029 ""                         "" "" "" "" # PARAGRAPH SEPARATOR
 # use the following macro for the character ADRESSED TO THE SUBJECT
 0x2101 "\\LyXaddressed" "\\newcommand*\\LyXaddressed{\\mbox{\\raisebox{.8ex}{a}\\kern-.175em\\raisebox{.2ex}{/}\\kern-.18em\\raisebox{-.2ex}{s}}}" ""
 0x2102 ""                         "" "" "\\mathbb{C}" "amssymb" # DOUBLE-STRUCK CAPITAL C
-0x2103 "\\textcelsius"            "textcomp" "" # DEGREE CELSIUS
+0x2103 "\\textcelsius"            "textcomp" "force=utf8x" "" "" # DEGREE CELSIUS
 #0x2104 ""                         "" "" "" "" # CENTRE LINE SYMBOL
 # use the following macro for the character CARE OF
 0x2105 "\\LyXcareof" "\\newcommand*\\LyXcareof{\\mbox{\\raisebox{.8ex}{c}\\kern-.175em\\raisebox{.2ex}{/}\\kern-.18em\\raisebox{-.2ex}{o}}}" ""
 0x2128 ""                         "" "" "\\mathfrak{Z}" "amssymb" # BLACK-LETTER CAPITAL Z
 #0x2129 ""                         "" "" "" "" # TURNED GREEK SMALL LETTER IOTA
 0x212a "K"                        "" "notermination=text" "" "" # KELVIN SIGN
-0x212b "\\AA"                     "" "" # ANGSTROM SIGN
+0x212b "\\AA"                     "" "force=utf8" "" "" # ANGSTROM SIGN
 0x212c ""                         "" "" "\\mathscr{B}" "mathrsfs" # SCRIPT CAPITAL B
 0x212d ""                         "" "" "\\mathfrak{C}" "amssymb" # BLACK-LETTER CAPITAL C
 0x212e "\\textestimated"          "textcomp" "" # ESTIMATED SYMBOL
 0x219a ""                         "" "" "\\nleftarrow" "amssymb" # LEFTWARDS ARROW WITH STROKE
 0x219b ""                         "" "" "\\nrightarrow" "amssymb" # RIGHTWARDS ARROW WITH STROKE
 #0x219c ""                         "" "" "" "" # LEFTWARDS WAVE ARROW
-0x219d ""                         "" "" "\\leadsto" "amssymb" # RIGHTWARDS WAVE ARROW
+# amssymb and amsfonts define leadsto as well, but wrong (looks like 0x21dd)
+0x219d ""                         "" "" "\\leadsto" "latexsym|wasysym" # RIGHTWARDS WAVE ARROW,
 0x219e ""                         "" "" "\\twoheadleftarrow" "amssymb" # LEFTWARDS TWO HEADED ARROW
 #0x219f ""                         "" "" "" "" # UPWARDS TWO HEADED ARROW
 0x21a0 ""                         "" "" "\\twoheadrightarrow" "amssymb" # RIGHTWARDS TWO HEADED ARROW
 #
 # miscellaneous technical
 #
-#0x2300 ""                         "" "" "" "" # DIAMETER SIGN
+0x2300 "\\diameter"               "wasysym" "" "\\diameter" "wasysym" # DIAMETER SIGN
 #0x2301 ""                         "" "" "" "" # ELECTRIC ARROW
 0x2302 "{\\ascii\\DEL}"           "ascii" "" # HOUSE
 #0x2303 ""                         "" "" "" "" # UP ARROWHEAD