Dear LyX users,
with LyX 1.6, using unicode characters other than the first block is
possible also in math mode. The character in question is either replaced
by a math-equivalent (if defined in the "unicodesymbols" file) or by
"text in math" with the text-equivalent.
This is a vast improvement over the silent failure in LyX 1.5, my thanks
go out to the relevant developer(s)!
However, there remain some inconsistencies:
* while A is typeset italic, Ä (and other accented characters) are not.
* while l is typeset italic, λ (and other Greek characters) are not.
So, the question is:
* should Ä be replaced with \"A in math?
More generally: should "latin-1 supplement" characters for which a math
equivalent exists use this instead of a text-version?
* should λ be replaced with \lambda in math?
More generally:
* should Greek characters from the "Greek and Coptic"
unicode block use the math-equivalent, or
* should only Greek symbols (from Greek and Coptic" and/or from
"Mathematical Alphanumeric Symbols") be converted to math symbols?
and could these also show as italic in the LyX GUI?
Attached is a patch for Greek in math.
Günter
--- /usr/local/src/lyx-devel/lib/unicodesymbols 2008-07-29 14:34:04.0 +0200
+++ /home/milde/.lyx16/unicodesymbols-greek-math 2008-09-07 21:15:59.0 +0200
@@ -737,30 +737,30 @@
0x038e "\\textgreek{\char39U}""textgreek" "" # GREEK CAPITAL LETTER UPSILON WITH TONOS
0x038f "\\textgreek{\char39W}""textgreek" "" # GREEK CAPITAL LETTER OMEGA WITH TONOS
0x0390 "\\textgreek{\char242}""textgreek" "" # GREEK SMALL LETTER IOTA WITH DIALYTKA
-0x0391 "\\textgreek{A}" "textgreek" "" # GREEK CAPITAL LETTER ALPHA
-0x0392 "\\textgreek{B}" "textgreek" "" # GREEK CAPITAL LETTER BETA
-0x0393 "\\textgreek{G}" "textgreek" "" # GREEK CAPITAL LETTER GAMMA
-0x0394 "\\textgreek{D}" "textgreek" "" # GREEK CAPITAL LETTER DELTA
-0x0395 "\\textgreek{E}" "textgreek" "" # GREEK CAPITAL LETTER EPSILON
-0x0396 "\\textgreek{Z}" "textgreek" "" # GREEK CAPITAL LETTER ZETA
-0x0397 "\\textgreek{H}" "textgreek" "" # GREEK CAPITAL LETTER ETA
-0x0398 "\\textgreek{J}" "textgreek" "" # GREEK CAPITAL LETTER THETA
-0x0399 "\\textgreek{I}" "textgreek" "" # GREEK CAPITAL LETTER IOTA
-0x039a "\\textgreek{K}" "textgreek" "" # GREEK CAPITAL LETTER KAPPA
-0x039b "\\textgreek{L}" "textgreek" "" # GREEK CAPITAL LETTER LAMDA
-0x039c "\\textgreek{M}" "textgreek" "" # GREEK CAPITAL LETTER MU
-0x039d "\\textgreek{N}" "textgreek" "" # GREEK CAPITAL LETTER NU
-0x039e "\\textgreek{X}" "textgreek" "" # GREEK CAPITAL LETTER XI
-0x039f "\\textgreek{O}" "textgreek" "" # GREEK CAPITAL LETTER OMICRON
-0x03a0 "\\textgreek{P}" "textgreek" "" # GREEK CAPITAL LETTER PI
-0x03a1 "\\textgreek{R}" "textgreek" "" # GREEK CAPITAL LETTER RHO
-0x03a3 "\\textgreek{S}" "textgreek" "" # GREEK CAPITAL LETTER SIGMA
-0x03a4 "\\textgreek{T}" "textgreek" "" # GREEK CAPITAL LETTER TAU
-0x03a5 "\\textgreek{U}" "textgreek" "" # GREEK CAPITAL LETTER UPSILON
-0x03a6 "\\textgreek{F}" "textgreek" "" # GREEK CAPITAL LETTER PHI
-0x03a7 "\\textgreek{Q}" "textgreek" "" # GREEK CAPITAL LETTER CHI
-0x03a8 "\\textgreek{Y}" "textgreek" "" # GREEK CAPITAL LETTER PSI
-0x03a9 "\\textgreek{W}" "textgreek" "" # GREEK CAPITAL LETTER OMEGA
+0x0391 "\\textgreek{A}" "textgreek" "" # "A" # GREEK CAPITAL LETTER ALPHA
+0x0392 "\\textgreek{B}" "textgreek" "" # "B" # GREEK CAPITAL LETTER BETA
+0x0393 "\\textgreek{G}" "textgreek" "" "\Gamma" # GREEK CAPITAL LETTER GAMMA
+0x0394 "\\textgreek{D}" "textgreek" "" "\Delta" # GREEK CAPITAL LETTER DELTA
+0x0395 "\\textgreek{E}" "textgreek" "" # "E" # GREEK CAPITAL LETTER EPSILON
+0x0396 "\\textgreek{Z}" "textgreek" "" # "Z" # GREEK CAPITAL LETTER ZETA
+0x0397 "\\textgreek{H}" "textgreek" "" # "H" # GREEK CAPITAL LETTER ETA
+0x0398 "\\textgreek{J}" "textgreek" "" "\Theta" # GREEK CAPITAL LETTER THETA
+0x0399 "\\textgreek{I}" "textgreek" "" # "I" # GREEK CAPITAL LETTER IOTA
+0x039a "\\textgreek{K}" "textgreek" "" # "K" # GREEK CAPITAL LETTER KAPPA
+0x039b "\\textgreek{L}" "textgreek" "" "\Lambda" # GREEK CAPITAL LETTER LAMDA
+0x039c "\\textgreek{M}" "textgreek" "" # "M" # GREEK CAPITAL LETTER MU
+0x039d "\\textgreek{N}" "textgreek" "" # "N" # GREEK CAPITAL LETTER NU
+0x039e "\\textgreek{X}" "textgreek" "" "\Xi" # GREEK CAPITAL LETTER XI
+0x039f "\\textgreek{O}" "textgreek" "" # "O" # GREEK CAPITAL LETTER OMICRON
+0x03a0 "\\textgreek{P}" "textgreek" "" "\Pi" # GREEK CAPITAL LETTER PI
+0x03a1 "\\textgreek{R}" "textgreek" "" "\Rho" # GREEK CAPITAL LETTER RHO
+0x03a3 "\\textgreek{S}" "te