From b015bf44fd39eeeb068a12c297efdedd48ac9395 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 30 May 2007 23:22:58 +0000 Subject: [PATCH] unicodesymbols: - remove incorrect sign for information - add some character supported by the ascii-package - added some letterlike symbols git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18585 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/unicodesymbols | 58 +++++++++++++++++++++++++++++++++++++------ src/LaTeXFeatures.cpp | 2 ++ 2 files changed, 52 insertions(+), 8 deletions(-) diff --git a/lib/unicodesymbols b/lib/unicodesymbols index 29b63c3d75..38eb4de534 100644 --- a/lib/unicodesymbols +++ b/lib/unicodesymbols @@ -993,19 +993,62 @@ 0x20b1 "\\textpeso" "textcomp" "" # PESO SIGN 0x20b2 "\\textguarani" "textcomp" "" # GUARANI SIGN # letterlike symbols +# use the following macro for the character ACCOUNT OF +0x2100 "\\LyXaccountof" "\\newcommand*\\LyXaccountof{\\mbox{\\raisebox{.8ex}{a}\\kern-.175em\\raisebox{.2ex}{/}\\kern-.18em\\raisebox{-.2ex}{c}}}" "" +# 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 "\\ensuremath{\\mathbb{C}}" "amssymb" "" # DOUBLE-STUCK CAPITAL C 0x2103 "\\textcelsius" "textcomp" "" # DEGREE CELSIUS # 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}}}" "" -0x2113 "\\ensuremath{\\ell}" "" "" # SCRIPT SMALL L +# use the following macro for the character CADA UNA +0x2106 "\\LyXcadauna" "\\newcommand*\\LyXcadauna{\\mbox{\\raisebox{.8ex}{c}\\kern-.175em\\raisebox{.2ex}{/}\\kern-.18em\\raisebox{-.2ex}{u}}}" "" +0x2109 "°{}F" "" "" # DEGREE FARENHEIT +0x210a "\\ensuremath{\\matscr{g}}" "mathrsfs" "" # SCRIPT SMALL G +0x210b "\\ensuremath{\\matscr{H}}" "mathrsfs" "" # SCRIPT CAPITAL H +0x210c "\\ensuremath{\\mathfrak{H}}" "amssymb" "" # BLACK-LETTER CAPITAL H +0x210d "\\ensuremath{\\mathbb{H}}" "amssymb" "" # DOUBLE-STUCK CAPITAL H +0x210e "\\ensuremath{h}" "" "" # PLANCK CONSTANT +0x210f "\\ensuremath{\\hbar}" "amssymb" "" # PLANCK CONSTANT OVER TWO PI +0x2110 "\\ensuremath{\\matscr{I}}" "mathrsfs" "" # SCRIPT CAPITAL I +0x2111 "\\ensuremath{\\mathfrak{I}}" "amssymb" "" # BLACK-LETTER CAPITAL I +0x2112 "\\ensuremath{\\matscr{L}}" "mathrsfs" "" # SCRIPT CAPITAL L +0x2113 "\\ensuremath{\\ell}" "" "" # SCRIPT SMALL L +0x2115 "\\ensuremath{\\mathbb{N}}" "amssymb" "" # DOUBLE-STUCK CAPITAL N 0x2116 "\\textnumero" "textcomp" "" # NUMERO SIGN 0x2117 "\\textcircledP" "textcomp" "" # SOUND RECORDING COYRIGHT +0x2118 "\\ensuremath{\\matscr{P}}" "mathrsfs" "" # SCRIPT CAPITAL P +0x2119 "\\ensuremath{\\mathbb{P}}" "amssymb" "" # DOUBLE-STUCK CAPITAL P +0x211a "\\ensuremath{\\mathbb{Q}}" "amssymb" "" # DOUBLE-STUCK CAPITAL Q +0x211b "\\ensuremath{\\matscr{R}}" "mathrsfs" "" # SCRIPT CAPITAL R +0x211c "\\ensuremath{\\mathfrak{R}}" "amssymb" "" # BLACK-LETTER CAPITAL R +0x211d "\\ensuremath{\\mathbb{R}}" "amssymb" "" # DOUBLE-STUCK CAPITAL R 0x211e "\\textrecipe" "textcomp" "" # PRESCRIPTION TAKE 0x2120 "\\textservicemark" "textcomp" "" # SERVICE MARK +#0x2121 "" "" "" # TELEPHONE SIGN 0x2122 "\\texttrademark" "textcomp" "" # TRADE MARK SIGN +0x2124 "\\ensuremath{\\mathbb{Z}}" "amssymb" "" # DOUBLE-STUCK CAPITAL Z 0x2126 "\\textohm" "textcomp" "" # OHM SIGN 0x2127 "\\textmho" "textcomp" "" # INVERTED OHM SIGN +0x2128 "\\ensuremath{\\mathfrak{Z}}" "amssymb" "" # BLACK-LETTER CAPITAL Z +0x212a "K" "" "" # KELVIN SIGN +0x212b "\\AA" "" "" # ANGSTROM SIGN +0x212c "\\ensuremath{\\matscr{B}}" "mathrsfs" "" # SCRIPT CAPITAL B +0x212d "\\ensuremath{\\mathfrak{C}}" "amssymb" "" # BLACK-LETTER CAPITAL C 0x212e "\\textestimated" "textcomp" "" # ESTIMATED SYMBOL -0x2139 "\\Info" "marvosym" "" # INFORMATION SOURCE +0x212f "\\ensuremath{\\matscr{e}}" "mathrsfs" "" # SCRIPT SMALL E +0x2130 "\\ensuremath{\\matscr{E}}" "mathrsfs" "" # SCRIPT CAPITAL E +0x2131 "\\ensuremath{\\matscr{F}}" "mathrsfs" "" # SCRIPT CAPITAL F +0x2133 "\\ensuremath{\\matscr{M}}" "mathrsfs" "" # SCRIPT CAPITAL M +0x2134 "\\ensuremath{\\matscr{o}}" "mathrsfs" "" # SCRIPT SMALL O +0x2135 "\\ensuremath{\\aleph}" "amssymb" "" # ALEF SYMBOL +0x2136 "\\ensuremath{\\beth}" "amssymb" "" # BET SYMBOL +0x2137 "\\ensuremath{\\gimel}" "amssymb" "" # GIMEL SYMBOL +0x2138 "\\ensuremath{\\daleth}" "amssymb" "" # DALET SYMBOL +#0x2139 "" "" "" # INFORMATION SOURCE +#0x213b "" "" "" # FACSIMILE SIGN +# use the following macro for the character AKTIESELSKAB +0x214e "\\LyXaktie" "\\newcommand*\\LyXaktie{\\mbox{\\raisebox{.8ex}{A}\\kern-.175em\\raisebox{.2ex}{/}\\kern-.18em\\raisebox{-.2ex}{S}}}" "" # arrows 0x2190 "\\textleftarrow" "textcomp" "" # LEFTWARDS ARROW 0x2191 "\\textuparrow" "textcomp" "" # UPWARDS ARROW @@ -1013,8 +1056,7 @@ 0x2193 "\\textdownarrow" "textcomp" "" # DOWNWARDS ARROW 0x2194 "\\ensuremath{\\leftrightarrow}" "" "" # LEFT RIGHT ARROW 0x2195 "\\ensuremath{\\updownarrow}" "" "" # UP DOWN ARROW -0x212a "K" "" "" # KELVIN SIGN -0x212b "\\AA" "" "" # ANGSTROM SIGN +0x21a8 "{\\ascii\\ETB}" "ascii" "" # UP DOWN ARROW WITH BASE # math symbols # besides textcomp only those used in Windows standard fonts 0x2202 "\\ensuremath{\\partial}" "" "" # PARTIAL DIFFERENTIAL @@ -1037,7 +1079,7 @@ 0x2264 "\\ensuremath{\\le}" "" "" # LESS-THAN OR EQUAL TO 0x2265 "\\ensuremath{\\ge}" "" "" # GREATER-THAN OR EQUAL TO # miscellaneous technical -#0x2302 "" "" "" # HOUSE +0x2302 "{\\ascii\\DEL}" "ascii" "" # HOUSE 0x2310 "\\ensuremath{\\invneg}" "wasysym" "" # REVERSED NOT SIGN 0x231a "\\Clocklogo" "marvosym" "" # WATCH #0x2320 "" "" "" # TOP HALF INTEGRAL @@ -1101,7 +1143,7 @@ 0x25a1 "\\textifsymbol[ifgeo]{32}" "ifsym" "" # WHITE SQUARE 0x25aa "\\textifsymbol[ifgeo]{112}" "ifsym" "" # BLACK SMALL SQUARE 0x25ab "\\textifsymbol[ifgeo]{64}" "ifsym" "" # WHITE SMALL SQUARE -#0x25ac "" "" "" # BLACK RECTANGLE +0x25ac "{\\ascii\\SYN}" "ascii" "" # BLACK RECTANGLE 0x25b2 "\\textifsymbol[ifgeo]{97}" "ifsym" "" # BLACK UP-POINTING TRIANGLE 0x25b3 "\\textifsymbol[ifgeo]{49}" "ifsym" "" # WHITE UP-POINTING TRIANGLE 0x25b4 "\\textifsymbol[ifgeo]{113}" "ifsym" "" # BLACK UP-POINTING SMALL TRIANGLE @@ -1129,8 +1171,8 @@ 0x25d1 "\\RIGHTcircle" "wasysym" "" # CIRCLE WITH RIGHT HALF BLACK 0x25d6 "\\LEFTCIRCLE" "wasysym" "" # LEFT HALF BLACK CIRCLE 0x25d7 "\\RIGHTCIRCLE" "wasysym" "" # RIGHT HALF BLACK CIRCLE -#0x25d8 "" "" "" # INVERSE BULLET -#0x25d9 "" "" "" # INVERSE WHITE CIRCLE +0x25d8 "{\\ascii\\BS}" "ascii" "" # INVERSE BULLET +0x25d9 "{\\ascii\\LF}" "ascii" "" # INVERSE WHITE CIRCLE 0x25e6 "\\textopenbullet" "textcomp" "" # WHITE BULLET 0x25ef "\\textbigcircle" "textcomp" "" # LARGE CIRCLE 0x25fb "\\textifsymbol[ifgeo]{48}" "ifsym" "" # WHITE MEDIUM SQUARE diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index b3442087d4..5de8a4e8a1 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -417,6 +417,8 @@ char const * simplefeatures[] = { "ifsym", "marvosym", "txfonts", + "mathrsfs", + "ascii", }; int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *); -- 2.39.5