File indexing completed on 2024-05-12 16:34:01

0001 // Created: Wed Sep 12 13:13:23 2007
0002 // WARNING! All changes made in this file will be lost!
0003 
0004 /* This file is part of the KDE project
0005    Copyright (C) 2007 <hubipete@gmx.net>
0006 
0007    This library is free software; you can redistribute it and/or
0008    modify it under the terms of the GNU Library General Public
0009    License as published by the Free Software Foundation; either
0010    version 2 of the License, or (at your option) any later version.
0011  
0012    This library is distributed in the hope that it will be useful,
0013    but WITHOUT ANY WARRANTY; without even the implied warranty of
0014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0015    Library General Public License for more details.
0016  
0017    You should have received a copy of the GNU Library General Public License
0018    along with this library; see the file COPYING.LIB.  If not, write to
0019    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0020    Boston, MA 02110-1301, USA.
0021 */
0022 
0023 #include "Dictionary.h"
0024 
0025 Dictionary::Dictionary()
0026 {
0027     m_lspace = "thickmathspace";
0028     m_rspace = "thickmathspace";
0029     m_maxsize = "infinity";
0030     m_minsize = "1";
0031     m_fence = false;
0032     m_separator = false;
0033     m_stretchy = false;
0034     m_symmetric = true;
0035     m_largeop = false;
0036     m_movablelimits = false;
0037     m_accent = false;
0038 }
0039 QString Dictionary::lSpace() const
0040 {
0041     return m_lspace;
0042 }
0043 
0044 QString Dictionary::rSpace() const
0045 {
0046     return m_rspace;
0047 }
0048 
0049 bool Dictionary::stretchy() const
0050 {
0051     return m_stretchy;
0052 }
0053 
0054 QChar Dictionary::mapEntity( const QString& entity )
0055 {
0056     if( entity.isEmpty() ) return QChar();
0057     switch( entity[0].toLower().toLatin1() ) {
0058         case 'a':
0059             if( entity == "Aacute" ) return QChar( 0x000C1 );
0060             if( entity == "aacute" ) return QChar( 0x000E1 );
0061             if( entity == "Abreve" ) return QChar( 0x00102 );
0062             if( entity == "abreve" ) return QChar( 0x00103 );
0063             if( entity == "ac" ) return QChar( 0x0223E );
0064             if( entity == "acd" ) return QChar( 0x0223F );
0065             if( entity == "Acirc" ) return QChar( 0x000C2 );
0066             if( entity == "acirc" ) return QChar( 0x000E2 );
0067             if( entity == "acute" ) return QChar( 0x000B4 );
0068             if( entity == "Acy" ) return QChar( 0x00410 );
0069             if( entity == "acy" ) return QChar( 0x00430 );
0070             if( entity == "AElig" ) return QChar( 0x000C6 );
0071             if( entity == "aelig" ) return QChar( 0x000E6 );
0072             if( entity == "af" ) return QChar( 0x02061 );
0073             if( entity == "Afr" ) return QChar( 0x1D504 );
0074             if( entity == "afr" ) return QChar( 0x1D51E );
0075             if( entity == "Agrave" ) return QChar( 0x000C0 );
0076             if( entity == "agrave" ) return QChar( 0x000E0 );
0077             if( entity == "aleph" ) return QChar( 0x02135 );
0078             if( entity == "alpha" ) return QChar( 0x003B1 );
0079             if( entity == "Amacr" ) return QChar( 0x00100 );
0080             if( entity == "amacr" ) return QChar( 0x00101 );
0081             if( entity == "amalg" ) return QChar( 0x02A3F );
0082             if( entity == "amp" ) return QChar( 0x00026 );
0083             if( entity == "And" ) return QChar( 0x02A53 );
0084             if( entity == "and" ) return QChar( 0x02227 );
0085             if( entity == "andand" ) return QChar( 0x02A55 );
0086             if( entity == "andd" ) return QChar( 0x02A5C );
0087             if( entity == "andslope" ) return QChar( 0x02A58 );
0088             if( entity == "andv" ) return QChar( 0x02A5A );
0089             if( entity == "ang" ) return QChar( 0x02220 );
0090             if( entity == "ange" ) return QChar( 0x029A4 );
0091             if( entity == "angle" ) return QChar( 0x02220 );
0092             if( entity == "angmsd" ) return QChar( 0x02221 );
0093             if( entity == "angmsdaa" ) return QChar( 0x029A8 );
0094             if( entity == "angmsdab" ) return QChar( 0x029A9 );
0095             if( entity == "angmsdac" ) return QChar( 0x029AA );
0096             if( entity == "angmsdad" ) return QChar( 0x029AB );
0097             if( entity == "angmsdae" ) return QChar( 0x029AC );
0098             if( entity == "angmsdaf" ) return QChar( 0x029AD );
0099             if( entity == "angmsdag" ) return QChar( 0x029AE );
0100             if( entity == "angmsdah" ) return QChar( 0x029AF );
0101             if( entity == "angrt" ) return QChar( 0x0221F );
0102             if( entity == "angrtvb" ) return QChar( 0x022BE );
0103             if( entity == "angrtvbd" ) return QChar( 0x0299D );
0104             if( entity == "angsph" ) return QChar( 0x02222 );
0105             if( entity == "angst" ) return QChar( 0x0212B );
0106             if( entity == "angzarr" ) return QChar( 0x0237C );
0107             if( entity == "Aogon" ) return QChar( 0x00104 );
0108             if( entity == "aogon" ) return QChar( 0x00105 );
0109             if( entity == "Aopf" ) return QChar( 0x1D538 );
0110             if( entity == "aopf" ) return QChar( 0x1D552 );
0111             if( entity == "ap" ) return QChar( 0x02248 );
0112             if( entity == "apacir" ) return QChar( 0x02A6F );
0113             if( entity == "apE" ) return QChar( 0x02A70 );
0114             if( entity == "ape" ) return QChar( 0x0224A );
0115             if( entity == "apid" ) return QChar( 0x0224B );
0116             if( entity == "apos" ) return QChar( 0x00027 );
0117             if( entity == "ApplyFunction" ) return QChar( 0x02061 );
0118             if( entity == "approx" ) return QChar( 0x02248 );
0119             if( entity == "approxeq" ) return QChar( 0x0224A );
0120             if( entity == "Aring" ) return QChar( 0x000C5 );
0121             if( entity == "aring" ) return QChar( 0x000E5 );
0122             if( entity == "Ascr" ) return QChar( 0x1D49C );
0123             if( entity == "ascr" ) return QChar( 0x1D4B6 );
0124             if( entity == "Assign" ) return QChar( 0x02254 );
0125             if( entity == "ast" ) return QChar( 0x0002A );
0126             if( entity == "asymp" ) return QChar( 0x02248 );
0127             if( entity == "asympeq" ) return QChar( 0x0224D );
0128             if( entity == "Atilde" ) return QChar( 0x000C3 );
0129             if( entity == "atilde" ) return QChar( 0x000E3 );
0130             if( entity == "Auml" ) return QChar( 0x000C4 );
0131             if( entity == "auml" ) return QChar( 0x000E4 );
0132             if( entity == "awconint" ) return QChar( 0x02233 );
0133             if( entity == "awint" ) return QChar( 0x02A11 );
0134             break;
0135         case 'b':
0136             if( entity == "backcong" ) return QChar( 0x0224C );
0137             if( entity == "backepsilon" ) return QChar( 0x003F6 );
0138             if( entity == "backprime" ) return QChar( 0x02035 );
0139             if( entity == "backsim" ) return QChar( 0x0223D );
0140             if( entity == "backsimeq" ) return QChar( 0x022CD );
0141             if( entity == "Backslash" ) return QChar( 0x02216 );
0142             if( entity == "Barv" ) return QChar( 0x02AE7 );
0143             if( entity == "barvee" ) return QChar( 0x022BD );
0144             if( entity == "Barwed" ) return QChar( 0x02306 );
0145             if( entity == "barwed" ) return QChar( 0x02305 );
0146             if( entity == "barwedge" ) return QChar( 0x02305 );
0147             if( entity == "bbrk" ) return QChar( 0x023B5 );
0148             if( entity == "bbrktbrk" ) return QChar( 0x023B6 );
0149             if( entity == "bcong" ) return QChar( 0x0224C );
0150             if( entity == "Bcy" ) return QChar( 0x00411 );
0151             if( entity == "bcy" ) return QChar( 0x00431 );
0152             if( entity == "becaus" ) return QChar( 0x02235 );
0153             if( entity == "Because" ) return QChar( 0x02235 );
0154             if( entity == "because" ) return QChar( 0x02235 );
0155             if( entity == "bemptyv" ) return QChar( 0x029B0 );
0156             if( entity == "bepsi" ) return QChar( 0x003F6 );
0157             if( entity == "bernou" ) return QChar( 0x0212C );
0158             if( entity == "Bernoullis" ) return QChar( 0x0212C );
0159             if( entity == "beta" ) return QChar( 0x003B2 );
0160             if( entity == "beth" ) return QChar( 0x02136 );
0161             if( entity == "between" ) return QChar( 0x0226C );
0162             if( entity == "Bfr" ) return QChar( 0x1D505 );
0163             if( entity == "bfr" ) return QChar( 0x1D51F );
0164             if( entity == "bigcap" ) return QChar( 0x022C2 );
0165             if( entity == "bigcirc" ) return QChar( 0x025EF );
0166             if( entity == "bigcup" ) return QChar( 0x022C3 );
0167             if( entity == "bigodot" ) return QChar( 0x02A00 );
0168             if( entity == "bigoplus" ) return QChar( 0x02A01 );
0169             if( entity == "bigotimes" ) return QChar( 0x02A02 );
0170             if( entity == "bigsqcup" ) return QChar( 0x02A06 );
0171             if( entity == "bigstar" ) return QChar( 0x02605 );
0172             if( entity == "bigtriangledown" ) return QChar( 0x025BD );
0173             if( entity == "bigtriangleup" ) return QChar( 0x025B3 );
0174             if( entity == "biguplus" ) return QChar( 0x02A04 );
0175             if( entity == "bigvee" ) return QChar( 0x022C1 );
0176             if( entity == "bigwedge" ) return QChar( 0x022C0 );
0177             if( entity == "bkarow" ) return QChar( 0x0290D );
0178             if( entity == "blacklozenge" ) return QChar( 0x029EB );
0179             if( entity == "blacksquare" ) return QChar( 0x025AA );
0180             if( entity == "blacktriangle" ) return QChar( 0x025B4 );
0181             if( entity == "blacktriangledown" ) return QChar( 0x025BE );
0182             if( entity == "blacktriangleleft" ) return QChar( 0x025C2 );
0183             if( entity == "blacktriangleright" ) return QChar( 0x025B8 );
0184             if( entity == "blank" ) return QChar( 0x02423 );
0185             if( entity == "blk12" ) return QChar( 0x02592 );
0186             if( entity == "blk14" ) return QChar( 0x02591 );
0187             if( entity == "blk34" ) return QChar( 0x02593 );
0188             if( entity == "block" ) return QChar( 0x02588 );
0189             if( entity == "bNot" ) return QChar( 0x02AED );
0190             if( entity == "bnot" ) return QChar( 0x02310 );
0191             if( entity == "Bopf" ) return QChar( 0x1D539 );
0192             if( entity == "bopf" ) return QChar( 0x1D553 );
0193             if( entity == "bot" ) return QChar( 0x022A5 );
0194             if( entity == "bottom" ) return QChar( 0x022A5 );
0195             if( entity == "bowtie" ) return QChar( 0x022C8 );
0196             if( entity == "boxbox" ) return QChar( 0x029C9 );
0197             if( entity == "boxDL" ) return QChar( 0x02557 );
0198             if( entity == "boxDl" ) return QChar( 0x02556 );
0199             if( entity == "boxdL" ) return QChar( 0x02555 );
0200             if( entity == "boxdl" ) return QChar( 0x02510 );
0201             if( entity == "boxDR" ) return QChar( 0x02554 );
0202             if( entity == "boxDr" ) return QChar( 0x02553 );
0203             if( entity == "boxdR" ) return QChar( 0x02552 );
0204             if( entity == "boxdr" ) return QChar( 0x0250C );
0205             if( entity == "boxH" ) return QChar( 0x02550 );
0206             if( entity == "boxh" ) return QChar( 0x02500 );
0207             if( entity == "boxHD" ) return QChar( 0x02566 );
0208             if( entity == "boxHd" ) return QChar( 0x02564 );
0209             if( entity == "boxhD" ) return QChar( 0x02565 );
0210             if( entity == "boxhd" ) return QChar( 0x0252C );
0211             if( entity == "boxHU" ) return QChar( 0x02569 );
0212             if( entity == "boxHu" ) return QChar( 0x02567 );
0213             if( entity == "boxhU" ) return QChar( 0x02568 );
0214             if( entity == "boxhu" ) return QChar( 0x02534 );
0215             if( entity == "boxminus" ) return QChar( 0x0229F );
0216             if( entity == "boxplus" ) return QChar( 0x0229E );
0217             if( entity == "boxtimes" ) return QChar( 0x022A0 );
0218             if( entity == "boxUL" ) return QChar( 0x0255D );
0219             if( entity == "boxUl" ) return QChar( 0x0255C );
0220             if( entity == "boxuL" ) return QChar( 0x0255B );
0221             if( entity == "boxul" ) return QChar( 0x02518 );
0222             if( entity == "boxUR" ) return QChar( 0x0255A );
0223             if( entity == "boxUr" ) return QChar( 0x02559 );
0224             if( entity == "boxuR" ) return QChar( 0x02558 );
0225             if( entity == "boxur" ) return QChar( 0x02514 );
0226             if( entity == "boxV" ) return QChar( 0x02551 );
0227             if( entity == "boxv" ) return QChar( 0x02502 );
0228             if( entity == "boxVH" ) return QChar( 0x0256C );
0229             if( entity == "boxVh" ) return QChar( 0x0256B );
0230             if( entity == "boxvH" ) return QChar( 0x0256A );
0231             if( entity == "boxvh" ) return QChar( 0x0253C );
0232             if( entity == "boxVL" ) return QChar( 0x02563 );
0233             if( entity == "boxVl" ) return QChar( 0x02562 );
0234             if( entity == "boxvL" ) return QChar( 0x02561 );
0235             if( entity == "boxvl" ) return QChar( 0x02524 );
0236             if( entity == "boxVR" ) return QChar( 0x02560 );
0237             if( entity == "boxVr" ) return QChar( 0x0255F );
0238             if( entity == "boxvR" ) return QChar( 0x0255E );
0239             if( entity == "boxvr" ) return QChar( 0x0251C );
0240             if( entity == "bprime" ) return QChar( 0x02035 );
0241             if( entity == "Breve" ) return QChar( 0x002D8 );
0242             if( entity == "breve" ) return QChar( 0x002D8 );
0243             if( entity == "brvbar" ) return QChar( 0x000A6 );
0244             if( entity == "Bscr" ) return QChar( 0x0212C );
0245             if( entity == "bscr" ) return QChar( 0x1D4B7 );
0246             if( entity == "bsemi" ) return QChar( 0x0204F );
0247             if( entity == "bsim" ) return QChar( 0x0223D );
0248             if( entity == "bsime" ) return QChar( 0x022CD );
0249             if( entity == "bsol" ) return QChar( 0x0005C );
0250             if( entity == "bsolb" ) return QChar( 0x029C5 );
0251             if( entity == "bull" ) return QChar( 0x02022 );
0252             if( entity == "bullet" ) return QChar( 0x02022 );
0253             if( entity == "bump" ) return QChar( 0x0224E );
0254             if( entity == "bumpE" ) return QChar( 0x02AAE );
0255             if( entity == "bumpe" ) return QChar( 0x0224F );
0256             if( entity == "Bumpeq" ) return QChar( 0x0224E );
0257             if( entity == "bumpeq" ) return QChar( 0x0224F );
0258             break;
0259         case 'c':
0260             if( entity == "Cacute" ) return QChar( 0x00106 );
0261             if( entity == "cacute" ) return QChar( 0x00107 );
0262             if( entity == "Cap" ) return QChar( 0x022D2 );
0263             if( entity == "cap" ) return QChar( 0x02229 );
0264             if( entity == "capand" ) return QChar( 0x02A44 );
0265             if( entity == "capbrcup" ) return QChar( 0x02A49 );
0266             if( entity == "capcap" ) return QChar( 0x02A4B );
0267             if( entity == "capcup" ) return QChar( 0x02A47 );
0268             if( entity == "capdot" ) return QChar( 0x02A40 );
0269             if( entity == "CapitalDifferentialD" ) return QChar( 0x02145 );
0270             if( entity == "caret" ) return QChar( 0x02041 );
0271             if( entity == "caron" ) return QChar( 0x002C7 );
0272             if( entity == "Cayleys" ) return QChar( 0x0212D );
0273             if( entity == "ccaps" ) return QChar( 0x02A4D );
0274             if( entity == "Ccaron" ) return QChar( 0x0010C );
0275             if( entity == "ccaron" ) return QChar( 0x0010D );
0276             if( entity == "Ccedil" ) return QChar( 0x000C7 );
0277             if( entity == "ccedil" ) return QChar( 0x000E7 );
0278             if( entity == "Ccirc" ) return QChar( 0x00108 );
0279             if( entity == "ccirc" ) return QChar( 0x00109 );
0280             if( entity == "Cconint" ) return QChar( 0x02230 );
0281             if( entity == "ccups" ) return QChar( 0x02A4C );
0282             if( entity == "ccupssm" ) return QChar( 0x02A50 );
0283             if( entity == "Cdot" ) return QChar( 0x0010A );
0284             if( entity == "cdot" ) return QChar( 0x0010B );
0285             if( entity == "cedil" ) return QChar( 0x000B8 );
0286             if( entity == "Cedilla" ) return QChar( 0x000B8 );
0287             if( entity == "cemptyv" ) return QChar( 0x029B2 );
0288             if( entity == "cent" ) return QChar( 0x000A2 );
0289             if( entity == "CenterDot" ) return QChar( 0x000B7 );
0290             if( entity == "centerdot" ) return QChar( 0x000B7 );
0291             if( entity == "Cfr" ) return QChar( 0x0212D );
0292             if( entity == "cfr" ) return QChar( 0x1D520 );
0293             if( entity == "CHcy" ) return QChar( 0x00427 );
0294             if( entity == "chcy" ) return QChar( 0x00447 );
0295             if( entity == "check" ) return QChar( 0x02713 );
0296             if( entity == "checkmark" ) return QChar( 0x02713 );
0297             if( entity == "chi" ) return QChar( 0x003C7 );
0298             if( entity == "cir" ) return QChar( 0x025CB );
0299             if( entity == "circ" ) return QChar( 0x002C6 );
0300             if( entity == "circeq" ) return QChar( 0x02257 );
0301             if( entity == "circlearrowleft" ) return QChar( 0x021BA );
0302             if( entity == "circlearrowright" ) return QChar( 0x021BB );
0303             if( entity == "circledast" ) return QChar( 0x0229B );
0304             if( entity == "circledcirc" ) return QChar( 0x0229A );
0305             if( entity == "circleddash" ) return QChar( 0x0229D );
0306             if( entity == "CircleDot" ) return QChar( 0x02299 );
0307             if( entity == "circledR" ) return QChar( 0x000AE );
0308             if( entity == "circledS" ) return QChar( 0x024C8 );
0309             if( entity == "CircleMinus" ) return QChar( 0x02296 );
0310             if( entity == "CirclePlus" ) return QChar( 0x02295 );
0311             if( entity == "CircleTimes" ) return QChar( 0x02297 );
0312             if( entity == "cirE" ) return QChar( 0x029C3 );
0313             if( entity == "cire" ) return QChar( 0x02257 );
0314             if( entity == "cirfnint" ) return QChar( 0x02A10 );
0315             if( entity == "cirmid" ) return QChar( 0x02AEF );
0316             if( entity == "cirscir" ) return QChar( 0x029C2 );
0317             if( entity == "ClockwiseContourIntegral" ) return QChar( 0x02232 );
0318             if( entity == "CloseCurlyDoubleQuote" ) return QChar( 0x0201D );
0319             if( entity == "CloseCurlyQuote" ) return QChar( 0x02019 );
0320             if( entity == "clubs" ) return QChar( 0x02663 );
0321             if( entity == "clubsuit" ) return QChar( 0x02663 );
0322             if( entity == "Colon" ) return QChar( 0x02237 );
0323             if( entity == "colon" ) return QChar( 0x0003A );
0324             if( entity == "Colone" ) return QChar( 0x02A74 );
0325             if( entity == "colone" ) return QChar( 0x02254 );
0326             if( entity == "coloneq" ) return QChar( 0x02254 );
0327             if( entity == "comma" ) return QChar( 0x0002C );
0328             if( entity == "commat" ) return QChar( 0x00040 );
0329             if( entity == "comp" ) return QChar( 0x02201 );
0330             if( entity == "compfn" ) return QChar( 0x02218 );
0331             if( entity == "complement" ) return QChar( 0x02201 );
0332             if( entity == "complexes" ) return QChar( 0x02102 );
0333             if( entity == "cong" ) return QChar( 0x02245 );
0334             if( entity == "congdot" ) return QChar( 0x02A6D );
0335             if( entity == "Congruent" ) return QChar( 0x02261 );
0336             if( entity == "Conint" ) return QChar( 0x0222F );
0337             if( entity == "conint" ) return QChar( 0x0222E );
0338             if( entity == "ContourIntegral" ) return QChar( 0x0222E );
0339             if( entity == "Copf" ) return QChar( 0x02102 );
0340             if( entity == "copf" ) return QChar( 0x1D554 );
0341             if( entity == "coprod" ) return QChar( 0x02210 );
0342             if( entity == "Coproduct" ) return QChar( 0x02210 );
0343             if( entity == "copy" ) return QChar( 0x000A9 );
0344             if( entity == "copysr" ) return QChar( 0x02117 );
0345             if( entity == "CounterClockwiseContourIntegral" ) return QChar( 0x02233 );
0346             if( entity == "Cross" ) return QChar( 0x02A2F );
0347             if( entity == "cross" ) return QChar( 0x02717 );
0348             if( entity == "Cscr" ) return QChar( 0x1D49E );
0349             if( entity == "cscr" ) return QChar( 0x1D4B8 );
0350             if( entity == "csub" ) return QChar( 0x02ACF );
0351             if( entity == "csube" ) return QChar( 0x02AD1 );
0352             if( entity == "csup" ) return QChar( 0x02AD0 );
0353             if( entity == "csupe" ) return QChar( 0x02AD2 );
0354             if( entity == "ctdot" ) return QChar( 0x022EF );
0355             if( entity == "cudarrl" ) return QChar( 0x02938 );
0356             if( entity == "cudarrr" ) return QChar( 0x02935 );
0357             if( entity == "cuepr" ) return QChar( 0x022DE );
0358             if( entity == "cuesc" ) return QChar( 0x022DF );
0359             if( entity == "cularr" ) return QChar( 0x021B6 );
0360             if( entity == "cularrp" ) return QChar( 0x0293D );
0361             if( entity == "Cup" ) return QChar( 0x022D3 );
0362             if( entity == "cup" ) return QChar( 0x0222A );
0363             if( entity == "cupbrcap" ) return QChar( 0x02A48 );
0364             if( entity == "CupCap" ) return QChar( 0x0224D );
0365             if( entity == "cupcap" ) return QChar( 0x02A46 );
0366             if( entity == "cupcup" ) return QChar( 0x02A4A );
0367             if( entity == "cupdot" ) return QChar( 0x0228D );
0368             if( entity == "cupor" ) return QChar( 0x02A45 );
0369             if( entity == "curarr" ) return QChar( 0x021B7 );
0370             if( entity == "curarrm" ) return QChar( 0x0293C );
0371             if( entity == "curlyeqprec" ) return QChar( 0x022DE );
0372             if( entity == "curlyeqsucc" ) return QChar( 0x022DF );
0373             if( entity == "curlyvee" ) return QChar( 0x022CE );
0374             if( entity == "curlywedge" ) return QChar( 0x022CF );
0375             if( entity == "curren" ) return QChar( 0x000A4 );
0376             if( entity == "curvearrowleft" ) return QChar( 0x021B6 );
0377             if( entity == "curvearrowright" ) return QChar( 0x021B7 );
0378             if( entity == "cuvee" ) return QChar( 0x022CE );
0379             if( entity == "cuwed" ) return QChar( 0x022CF );
0380             if( entity == "cwconint" ) return QChar( 0x02232 );
0381             if( entity == "cwint" ) return QChar( 0x02231 );
0382             if( entity == "cylcty" ) return QChar( 0x0232D );
0383             break;
0384         case 'd':
0385             if( entity == "Dagger" ) return QChar( 0x02021 );
0386             if( entity == "Dagger" ) return QChar( 0x02021 );
0387             if( entity == "dagger" ) return QChar( 0x02020 );
0388             if( entity == "dagger" ) return QChar( 0x02020 );
0389             if( entity == "daleth" ) return QChar( 0x02138 );
0390             if( entity == "Darr" ) return QChar( 0x021A1 );
0391             if( entity == "dArr" ) return QChar( 0x021D3 );
0392             if( entity == "darr" ) return QChar( 0x02193 );
0393             if( entity == "dash" ) return QChar( 0x02010 );
0394             if( entity == "Dashv" ) return QChar( 0x02AE4 );
0395             if( entity == "dashv" ) return QChar( 0x022A3 );
0396             if( entity == "dbkarow" ) return QChar( 0x0290F );
0397             if( entity == "dblac" ) return QChar( 0x002DD );
0398             if( entity == "Dcaron" ) return QChar( 0x0010E );
0399             if( entity == "dcaron" ) return QChar( 0x0010F );
0400             if( entity == "Dcy" ) return QChar( 0x00414 );
0401             if( entity == "dcy" ) return QChar( 0x00434 );
0402             if( entity == "DD" ) return QChar( 0x02145 );
0403             if( entity == "dd" ) return QChar( 0x02146 );
0404             if( entity == "ddagger" ) return QChar( 0x02021 );
0405             if( entity == "ddarr" ) return QChar( 0x021CA );
0406             if( entity == "DDotrahd" ) return QChar( 0x02911 );
0407             if( entity == "ddotseq" ) return QChar( 0x02A77 );
0408             if( entity == "deg" ) return QChar( 0x000B0 );
0409             if( entity == "Del" ) return QChar( 0x02207 );
0410             if( entity == "Delta" ) return QChar( 0x00394 );
0411             if( entity == "delta" ) return QChar( 0x003B4 );
0412             if( entity == "demptyv" ) return QChar( 0x029B1 );
0413             if( entity == "dfisht" ) return QChar( 0x0297F );
0414             if( entity == "Dfr" ) return QChar( 0x1D507 );
0415             if( entity == "dfr" ) return QChar( 0x1D521 );
0416             if( entity == "dHar" ) return QChar( 0x02965 );
0417             if( entity == "dharl" ) return QChar( 0x021C3 );
0418             if( entity == "dharr" ) return QChar( 0x021C2 );
0419             if( entity == "DiacriticalAcute" ) return QChar( 0x000B4 );
0420             if( entity == "DiacriticalDot" ) return QChar( 0x002D9 );
0421             if( entity == "DiacriticalDoubleAcute" ) return QChar( 0x002DD );
0422             if( entity == "DiacriticalGrave" ) return QChar( 0x00060 );
0423             if( entity == "DiacriticalTilde" ) return QChar( 0x002DC );
0424             if( entity == "diam" ) return QChar( 0x022C4 );
0425             if( entity == "Diamond" ) return QChar( 0x022C4 );
0426             if( entity == "diamond" ) return QChar( 0x022C4 );
0427             if( entity == "diamondsuit" ) return QChar( 0x02666 );
0428             if( entity == "diams" ) return QChar( 0x02666 );
0429             if( entity == "die" ) return QChar( 0x000A8 );
0430             if( entity == "DifferentialD" ) return QChar( 0x02146 );
0431             if( entity == "digamma" ) return QChar( 0x003DD );
0432             if( entity == "disin" ) return QChar( 0x022F2 );
0433             if( entity == "div" ) return QChar( 0x000F7 );
0434             if( entity == "divide" ) return QChar( 0x000F7 );
0435             if( entity == "divideontimes" ) return QChar( 0x022C7 );
0436             if( entity == "divonx" ) return QChar( 0x022C7 );
0437             if( entity == "DJcy" ) return QChar( 0x00402 );
0438             if( entity == "djcy" ) return QChar( 0x00452 );
0439             if( entity == "dlcorn" ) return QChar( 0x0231E );
0440             if( entity == "dlcrop" ) return QChar( 0x0230D );
0441             if( entity == "dollar" ) return QChar( 0x00024 );
0442             if( entity == "Dopf" ) return QChar( 0x1D53B );
0443             if( entity == "dopf" ) return QChar( 0x1D555 );
0444             if( entity == "Dot" ) return QChar( 0x000A8 );
0445             if( entity == "dot" ) return QChar( 0x002D9 );
0446             if( entity == "DotDot" ) return QChar( 0x020DC );
0447             if( entity == "doteq" ) return QChar( 0x02250 );
0448             if( entity == "doteqdot" ) return QChar( 0x02251 );
0449             if( entity == "DotEqual" ) return QChar( 0x02250 );
0450             if( entity == "dotminus" ) return QChar( 0x02238 );
0451             if( entity == "dotplus" ) return QChar( 0x02214 );
0452             if( entity == "dotsquare" ) return QChar( 0x022A1 );
0453             if( entity == "doublebarwedge" ) return QChar( 0x02306 );
0454             if( entity == "DoubleContourIntegral" ) return QChar( 0x0222F );
0455             if( entity == "DoubleDot" ) return QChar( 0x000A8 );
0456             if( entity == "DoubleDownArrow" ) return QChar( 0x021D3 );
0457             if( entity == "DoubleLeftArrow" ) return QChar( 0x021D0 );
0458             if( entity == "DoubleLeftRightArrow" ) return QChar( 0x021D4 );
0459             if( entity == "DoubleLeftTee" ) return QChar( 0x02AE4 );
0460             if( entity == "DoubleLongLeftArrow" ) return QChar( 0x027F8 );
0461             if( entity == "DoubleLongLeftRightArrow" ) return QChar( 0x027FA );
0462             if( entity == "DoubleLongRightArrow" ) return QChar( 0x027F9 );
0463             if( entity == "DoubleRightArrow" ) return QChar( 0x021D2 );
0464             if( entity == "DoubleRightTee" ) return QChar( 0x022A8 );
0465             if( entity == "DoubleUpArrow" ) return QChar( 0x021D1 );
0466             if( entity == "DoubleUpDownArrow" ) return QChar( 0x021D5 );
0467             if( entity == "DoubleVerticalBar" ) return QChar( 0x02225 );
0468             if( entity == "DownArrow" ) return QChar( 0x02193 );
0469             if( entity == "Downarrow" ) return QChar( 0x021D3 );
0470             if( entity == "downarrow" ) return QChar( 0x02193 );
0471             if( entity == "DownArrowBar" ) return QChar( 0x02913 );
0472             if( entity == "DownArrowUpArrow" ) return QChar( 0x021F5 );
0473             if( entity == "DownBreve" ) return QChar( 0x00311 );
0474             if( entity == "downdownarrows" ) return QChar( 0x021CA );
0475             if( entity == "downharpoonleft" ) return QChar( 0x021C3 );
0476             if( entity == "downharpoonright" ) return QChar( 0x021C2 );
0477             if( entity == "DownLeftRightVector" ) return QChar( 0x02950 );
0478             if( entity == "DownLeftTeeVector" ) return QChar( 0x0295E );
0479             if( entity == "DownLeftVector" ) return QChar( 0x021BD );
0480             if( entity == "DownLeftVectorBar" ) return QChar( 0x02956 );
0481             if( entity == "DownRightTeeVector" ) return QChar( 0x0295F );
0482             if( entity == "DownRightVector" ) return QChar( 0x021C1 );
0483             if( entity == "DownRightVectorBar" ) return QChar( 0x02957 );
0484             if( entity == "DownTee" ) return QChar( 0x022A4 );
0485             if( entity == "DownTeeArrow" ) return QChar( 0x021A7 );
0486             if( entity == "drbkarow" ) return QChar( 0x02910 );
0487             if( entity == "drcorn" ) return QChar( 0x0231F );
0488             if( entity == "drcrop" ) return QChar( 0x0230C );
0489             if( entity == "Dscr" ) return QChar( 0x1D49F );
0490             if( entity == "dscr" ) return QChar( 0x1D4B9 );
0491             if( entity == "DScy" ) return QChar( 0x00405 );
0492             if( entity == "dscy" ) return QChar( 0x00455 );
0493             if( entity == "dsol" ) return QChar( 0x029F6 );
0494             if( entity == "Dstrok" ) return QChar( 0x00110 );
0495             if( entity == "dstrok" ) return QChar( 0x00111 );
0496             if( entity == "dtdot" ) return QChar( 0x022F1 );
0497             if( entity == "dtri" ) return QChar( 0x025BF );
0498             if( entity == "dtrif" ) return QChar( 0x025BE );
0499             if( entity == "duarr" ) return QChar( 0x021F5 );
0500             if( entity == "duhar" ) return QChar( 0x0296F );
0501             if( entity == "dwangle" ) return QChar( 0x029A6 );
0502             if( entity == "DZcy" ) return QChar( 0x0040F );
0503             if( entity == "dzcy" ) return QChar( 0x0045F );
0504             if( entity == "dzigrarr" ) return QChar( 0x027FF );
0505             break;
0506         case 'e':
0507             if( entity == "Eacute" ) return QChar( 0x000C9 );
0508             if( entity == "eacute" ) return QChar( 0x000E9 );
0509             if( entity == "easter" ) return QChar( 0x02A6E );
0510             if( entity == "Ecaron" ) return QChar( 0x0011A );
0511             if( entity == "ecaron" ) return QChar( 0x0011B );
0512             if( entity == "ecir" ) return QChar( 0x02256 );
0513             if( entity == "Ecirc" ) return QChar( 0x000CA );
0514             if( entity == "ecirc" ) return QChar( 0x000EA );
0515             if( entity == "ecolon" ) return QChar( 0x02255 );
0516             if( entity == "Ecy" ) return QChar( 0x0042D );
0517             if( entity == "ecy" ) return QChar( 0x0044D );
0518             if( entity == "eDDot" ) return QChar( 0x02A77 );
0519             if( entity == "Edot" ) return QChar( 0x00116 );
0520             if( entity == "eDot" ) return QChar( 0x02251 );
0521             if( entity == "edot" ) return QChar( 0x00117 );
0522             if( entity == "ee" ) return QChar( 0x02147 );
0523             if( entity == "efDot" ) return QChar( 0x02252 );
0524             if( entity == "Efr" ) return QChar( 0x1D508 );
0525             if( entity == "efr" ) return QChar( 0x1D522 );
0526             if( entity == "eg" ) return QChar( 0x02A9A );
0527             if( entity == "Egrave" ) return QChar( 0x000C8 );
0528             if( entity == "egrave" ) return QChar( 0x000E8 );
0529             if( entity == "egs" ) return QChar( 0x02A96 );
0530             if( entity == "egsdot" ) return QChar( 0x02A98 );
0531             if( entity == "el" ) return QChar( 0x02A99 );
0532             if( entity == "Element" ) return QChar( 0x02208 );
0533             if( entity == "elinters" ) return QChar( 0x0FFFD );
0534             if( entity == "ell" ) return QChar( 0x02113 );
0535             if( entity == "els" ) return QChar( 0x02A95 );
0536             if( entity == "elsdot" ) return QChar( 0x02A97 );
0537             if( entity == "Emacr" ) return QChar( 0x00112 );
0538             if( entity == "emacr" ) return QChar( 0x00113 );
0539             if( entity == "empty" ) return QChar( 0x02205 );
0540             if( entity == "emptyset" ) return QChar( 0x02205 );
0541             if( entity == "EmptySmallSquare" ) return QChar( 0x025FB );
0542             if( entity == "emptyv" ) return QChar( 0x02205 );
0543             if( entity == "EmptyVerySmallSquare" ) return QChar( 0x025AB );
0544             if( entity == "emsp" ) return QChar( 0x02003 );
0545             if( entity == "emsp13" ) return QChar( 0x02004 );
0546             if( entity == "emsp14" ) return QChar( 0x02005 );
0547             if( entity == "ENG" ) return QChar( 0x0014A );
0548             if( entity == "eng" ) return QChar( 0x0014B );
0549             if( entity == "ensp" ) return QChar( 0x02002 );
0550             if( entity == "Eogon" ) return QChar( 0x00118 );
0551             if( entity == "eogon" ) return QChar( 0x00119 );
0552             if( entity == "Eopf" ) return QChar( 0x1D53C );
0553             if( entity == "eopf" ) return QChar( 0x1D556 );
0554             if( entity == "epar" ) return QChar( 0x022D5 );
0555             if( entity == "eparsl" ) return QChar( 0x029E3 );
0556             if( entity == "eplus" ) return QChar( 0x02A71 );
0557             if( entity == "epsi" ) return QChar( 0x003F5 );
0558             if( entity == "epsiv" ) return QChar( 0x003B5 );
0559             if( entity == "eqcirc" ) return QChar( 0x02256 );
0560             if( entity == "eqcolon" ) return QChar( 0x02255 );
0561             if( entity == "eqsim" ) return QChar( 0x02242 );
0562             if( entity == "eqslantgtr" ) return QChar( 0x02A96 );
0563             if( entity == "eqslantless" ) return QChar( 0x02A95 );
0564             if( entity == "Equal" ) return QChar( 0x02A75 );
0565             if( entity == "equals" ) return QChar( 0x0003D );
0566             if( entity == "EqualTilde" ) return QChar( 0x02242 );
0567             if( entity == "equest" ) return QChar( 0x0225F );
0568             if( entity == "Equilibrium" ) return QChar( 0x021CC );
0569             if( entity == "equiv" ) return QChar( 0x02261 );
0570             if( entity == "equivDD" ) return QChar( 0x02A78 );
0571             if( entity == "eqvparsl" ) return QChar( 0x029E5 );
0572             if( entity == "erarr" ) return QChar( 0x02971 );
0573             if( entity == "erDot" ) return QChar( 0x02253 );
0574             if( entity == "Escr" ) return QChar( 0x02130 );
0575             if( entity == "escr" ) return QChar( 0x0212F );
0576             if( entity == "esdot" ) return QChar( 0x02250 );
0577             if( entity == "Esim" ) return QChar( 0x02A73 );
0578             if( entity == "esim" ) return QChar( 0x02242 );
0579             if( entity == "eta" ) return QChar( 0x003B7 );
0580             if( entity == "ETH" ) return QChar( 0x000D0 );
0581             if( entity == "eth" ) return QChar( 0x000F0 );
0582             if( entity == "Euml" ) return QChar( 0x000CB );
0583             if( entity == "euml" ) return QChar( 0x000EB );
0584             if( entity == "excl" ) return QChar( 0x00021 );
0585             if( entity == "exist" ) return QChar( 0x02203 );
0586             if( entity == "Exists" ) return QChar( 0x02203 );
0587             if( entity == "expectation" ) return QChar( 0x02130 );
0588             if( entity == "ExponentialE" ) return QChar( 0x02147 );
0589             if( entity == "exponentiale" ) return QChar( 0x02147 );
0590             break;
0591         case 'f':
0592             if( entity == "fallingdotseq" ) return QChar( 0x02252 );
0593             if( entity == "Fcy" ) return QChar( 0x00424 );
0594             if( entity == "fcy" ) return QChar( 0x00444 );
0595             if( entity == "female" ) return QChar( 0x02640 );
0596             if( entity == "ffilig" ) return QChar( 0x0FB03 );
0597             if( entity == "fflig" ) return QChar( 0x0FB00 );
0598             if( entity == "ffllig" ) return QChar( 0x0FB04 );
0599             if( entity == "Ffr" ) return QChar( 0x1D509 );
0600             if( entity == "ffr" ) return QChar( 0x1D523 );
0601             if( entity == "filig" ) return QChar( 0x0FB01 );
0602             if( entity == "FilledSmallSquare" ) return QChar( 0x025FC );
0603             if( entity == "FilledVerySmallSquare" ) return QChar( 0x025AA );
0604             if( entity == "flat" ) return QChar( 0x0266D );
0605             if( entity == "fllig" ) return QChar( 0x0FB02 );
0606             if( entity == "fltns" ) return QChar( 0x025B1 );
0607             if( entity == "fnof" ) return QChar( 0x00192 );
0608             if( entity == "Fopf" ) return QChar( 0x1D53D );
0609             if( entity == "fopf" ) return QChar( 0x1D557 );
0610             if( entity == "ForAll" ) return QChar( 0x02200 );
0611             if( entity == "forall" ) return QChar( 0x02200 );
0612             if( entity == "fork" ) return QChar( 0x022D4 );
0613             if( entity == "forkv" ) return QChar( 0x02AD9 );
0614             if( entity == "Fouriertrf" ) return QChar( 0x02131 );
0615             if( entity == "fpartint" ) return QChar( 0x02A0D );
0616             if( entity == "frac12" ) return QChar( 0x000BD );
0617             if( entity == "frac13" ) return QChar( 0x02153 );
0618             if( entity == "frac14" ) return QChar( 0x000BC );
0619             if( entity == "frac15" ) return QChar( 0x02155 );
0620             if( entity == "frac16" ) return QChar( 0x02159 );
0621             if( entity == "frac18" ) return QChar( 0x0215B );
0622             if( entity == "frac23" ) return QChar( 0x02154 );
0623             if( entity == "frac25" ) return QChar( 0x02156 );
0624             if( entity == "frac34" ) return QChar( 0x000BE );
0625             if( entity == "frac35" ) return QChar( 0x02157 );
0626             if( entity == "frac38" ) return QChar( 0x0215C );
0627             if( entity == "frac45" ) return QChar( 0x02158 );
0628             if( entity == "frac56" ) return QChar( 0x0215A );
0629             if( entity == "frac58" ) return QChar( 0x0215D );
0630             if( entity == "frac78" ) return QChar( 0x0215E );
0631             if( entity == "frown" ) return QChar( 0x02322 );
0632             if( entity == "Fscr" ) return QChar( 0x02131 );
0633             if( entity == "fscr" ) return QChar( 0x1D4BB );
0634             break;
0635         case 'g':
0636             if( entity == "gacute" ) return QChar( 0x001F5 );
0637             if( entity == "Gamma" ) return QChar( 0x00393 );
0638             if( entity == "gamma" ) return QChar( 0x003B3 );
0639             if( entity == "Gammad" ) return QChar( 0x003DC );
0640             if( entity == "gammad" ) return QChar( 0x003DD );
0641             if( entity == "gap" ) return QChar( 0x02A86 );
0642             if( entity == "Gbreve" ) return QChar( 0x0011E );
0643             if( entity == "gbreve" ) return QChar( 0x0011F );
0644             if( entity == "Gcedil" ) return QChar( 0x00122 );
0645             if( entity == "Gcirc" ) return QChar( 0x0011C );
0646             if( entity == "gcirc" ) return QChar( 0x0011D );
0647             if( entity == "Gcy" ) return QChar( 0x00413 );
0648             if( entity == "gcy" ) return QChar( 0x00433 );
0649             if( entity == "Gdot" ) return QChar( 0x00120 );
0650             if( entity == "gdot" ) return QChar( 0x00121 );
0651             if( entity == "gE" ) return QChar( 0x02267 );
0652             if( entity == "ge" ) return QChar( 0x02265 );
0653             if( entity == "gEl" ) return QChar( 0x02A8C );
0654             if( entity == "gel" ) return QChar( 0x022DB );
0655             if( entity == "geq" ) return QChar( 0x02265 );
0656             if( entity == "geqq" ) return QChar( 0x02267 );
0657             if( entity == "geqslant" ) return QChar( 0x02A7E );
0658             if( entity == "ges" ) return QChar( 0x02A7E );
0659             if( entity == "gescc" ) return QChar( 0x02AA9 );
0660             if( entity == "gesdot" ) return QChar( 0x02A80 );
0661             if( entity == "gesdoto" ) return QChar( 0x02A82 );
0662             if( entity == "gesdotol" ) return QChar( 0x02A84 );
0663             if( entity == "gesles" ) return QChar( 0x02A94 );
0664             if( entity == "Gfr" ) return QChar( 0x1D50A );
0665             if( entity == "gfr" ) return QChar( 0x1D524 );
0666             if( entity == "Gg" ) return QChar( 0x022D9 );
0667             if( entity == "gg" ) return QChar( 0x0226B );
0668             if( entity == "ggg" ) return QChar( 0x022D9 );
0669             if( entity == "gimel" ) return QChar( 0x02137 );
0670             if( entity == "GJcy" ) return QChar( 0x00403 );
0671             if( entity == "gjcy" ) return QChar( 0x00453 );
0672             if( entity == "gl" ) return QChar( 0x02277 );
0673             if( entity == "gla" ) return QChar( 0x02AA5 );
0674             if( entity == "glE" ) return QChar( 0x02A92 );
0675             if( entity == "glj" ) return QChar( 0x02AA4 );
0676             if( entity == "gnap" ) return QChar( 0x02A8A );
0677             if( entity == "gnapprox" ) return QChar( 0x02A8A );
0678             if( entity == "gnE" ) return QChar( 0x02269 );
0679             if( entity == "gne" ) return QChar( 0x02A88 );
0680             if( entity == "gneq" ) return QChar( 0x02A88 );
0681             if( entity == "gneqq" ) return QChar( 0x02269 );
0682             if( entity == "gnsim" ) return QChar( 0x022E7 );
0683             if( entity == "Gopf" ) return QChar( 0x1D53E );
0684             if( entity == "gopf" ) return QChar( 0x1D558 );
0685             if( entity == "grave" ) return QChar( 0x00060 );
0686             if( entity == "GreaterEqual" ) return QChar( 0x02265 );
0687             if( entity == "GreaterEqualLess" ) return QChar( 0x022DB );
0688             if( entity == "GreaterFullEqual" ) return QChar( 0x02267 );
0689             if( entity == "GreaterGreater" ) return QChar( 0x02AA2 );
0690             if( entity == "GreaterLess" ) return QChar( 0x02277 );
0691             if( entity == "GreaterSlantEqual" ) return QChar( 0x02A7E );
0692             if( entity == "GreaterTilde" ) return QChar( 0x02273 );
0693             if( entity == "Gscr" ) return QChar( 0x1D4A2 );
0694             if( entity == "gscr" ) return QChar( 0x0210A );
0695             if( entity == "gsim" ) return QChar( 0x02273 );
0696             if( entity == "gsime" ) return QChar( 0x02A8E );
0697             if( entity == "gsiml" ) return QChar( 0x02A90 );
0698             if( entity == "Gt" ) return QChar( 0x0226B );
0699             if( entity == "gt" ) return QChar( 0x0003E );
0700             if( entity == "gtcc" ) return QChar( 0x02AA7 );
0701             if( entity == "gtcir" ) return QChar( 0x02A7A );
0702             if( entity == "gtdot" ) return QChar( 0x022D7 );
0703             if( entity == "gtlPar" ) return QChar( 0x02995 );
0704             if( entity == "gtquest" ) return QChar( 0x02A7C );
0705             if( entity == "gtrapprox" ) return QChar( 0x02A86 );
0706             if( entity == "gtrarr" ) return QChar( 0x02978 );
0707             if( entity == "gtrdot" ) return QChar( 0x022D7 );
0708             if( entity == "gtreqless" ) return QChar( 0x022DB );
0709             if( entity == "gtreqqless" ) return QChar( 0x02A8C );
0710             if( entity == "gtrless" ) return QChar( 0x02277 );
0711             if( entity == "gtrsim" ) return QChar( 0x02273 );
0712             break;
0713         case 'h':
0714             if( entity == "Hacek" ) return QChar( 0x002C7 );
0715             if( entity == "hairsp" ) return QChar( 0x0200A );
0716             if( entity == "half" ) return QChar( 0x000BD );
0717             if( entity == "hamilt" ) return QChar( 0x0210B );
0718             if( entity == "HARDcy" ) return QChar( 0x0042A );
0719             if( entity == "hardcy" ) return QChar( 0x0044A );
0720             if( entity == "hArr" ) return QChar( 0x021D4 );
0721             if( entity == "harr" ) return QChar( 0x02194 );
0722             if( entity == "harrcir" ) return QChar( 0x02948 );
0723             if( entity == "harrw" ) return QChar( 0x021AD );
0724             if( entity == "Hat" ) return QChar( 0x0005E );
0725             if( entity == "hbar" ) return QChar( 0x0210F );
0726             if( entity == "Hcirc" ) return QChar( 0x00124 );
0727             if( entity == "hcirc" ) return QChar( 0x00125 );
0728             if( entity == "hearts" ) return QChar( 0x02665 );
0729             if( entity == "heartsuit" ) return QChar( 0x02665 );
0730             if( entity == "hellip" ) return QChar( 0x02026 );
0731             if( entity == "hercon" ) return QChar( 0x022B9 );
0732             if( entity == "Hfr" ) return QChar( 0x0210C );
0733             if( entity == "hfr" ) return QChar( 0x1D525 );
0734             if( entity == "HilbertSpace" ) return QChar( 0x0210B );
0735             if( entity == "hksearow" ) return QChar( 0x02925 );
0736             if( entity == "hkswarow" ) return QChar( 0x02926 );
0737             if( entity == "hoarr" ) return QChar( 0x021FF );
0738             if( entity == "homtht" ) return QChar( 0x0223B );
0739             if( entity == "hookleftarrow" ) return QChar( 0x021A9 );
0740             if( entity == "hookrightarrow" ) return QChar( 0x021AA );
0741             if( entity == "Hopf" ) return QChar( 0x0210D );
0742             if( entity == "hopf" ) return QChar( 0x1D559 );
0743             if( entity == "horbar" ) return QChar( 0x02015 );
0744             if( entity == "HorizontalLine" ) return QChar( 0x02500 );
0745             if( entity == "Hscr" ) return QChar( 0x0210B );
0746             if( entity == "hscr" ) return QChar( 0x1D4BD );
0747             if( entity == "hslash" ) return QChar( 0x0210F );
0748             if( entity == "Hstrok" ) return QChar( 0x00126 );
0749             if( entity == "hstrok" ) return QChar( 0x00127 );
0750             if( entity == "HumpDownHump" ) return QChar( 0x0224E );
0751             if( entity == "HumpEqual" ) return QChar( 0x0224F );
0752             if( entity == "hybull" ) return QChar( 0x02043 );
0753             if( entity == "hyphen" ) return QChar( 0x02010 );
0754             break;
0755         case 'i':
0756             if( entity == "Iacute" ) return QChar( 0x000CD );
0757             if( entity == "iacute" ) return QChar( 0x000ED );
0758             if( entity == "ic" ) return QChar( 0x02063 );
0759             if( entity == "Icirc" ) return QChar( 0x000CE );
0760             if( entity == "icirc" ) return QChar( 0x000EE );
0761             if( entity == "Icy" ) return QChar( 0x00418 );
0762             if( entity == "icy" ) return QChar( 0x00438 );
0763             if( entity == "Idot" ) return QChar( 0x00130 );
0764             if( entity == "IEcy" ) return QChar( 0x00415 );
0765             if( entity == "iecy" ) return QChar( 0x00435 );
0766             if( entity == "iexcl" ) return QChar( 0x000A1 );
0767             if( entity == "iff" ) return QChar( 0x021D4 );
0768             if( entity == "Ifr" ) return QChar( 0x02111 );
0769             if( entity == "ifr" ) return QChar( 0x1D526 );
0770             if( entity == "Igrave" ) return QChar( 0x000CC );
0771             if( entity == "igrave" ) return QChar( 0x000EC );
0772             if( entity == "ii" ) return QChar( 0x02148 );
0773             if( entity == "iiiint" ) return QChar( 0x02A0C );
0774             if( entity == "iiint" ) return QChar( 0x0222D );
0775             if( entity == "iinfin" ) return QChar( 0x029DC );
0776             if( entity == "iiota" ) return QChar( 0x02129 );
0777             if( entity == "IJlig" ) return QChar( 0x00132 );
0778             if( entity == "ijlig" ) return QChar( 0x00133 );
0779             if( entity == "Im" ) return QChar( 0x02111 );
0780             if( entity == "Imacr" ) return QChar( 0x0012A );
0781             if( entity == "imacr" ) return QChar( 0x0012B );
0782             if( entity == "image" ) return QChar( 0x02111 );
0783             if( entity == "ImaginaryI" ) return QChar( 0x02148 );
0784             if( entity == "imagline" ) return QChar( 0x02110 );
0785             if( entity == "imagpart" ) return QChar( 0x02111 );
0786             if( entity == "imath" ) return QChar( 0x00131 );
0787             if( entity == "imof" ) return QChar( 0x022B7 );
0788             if( entity == "imped" ) return QChar( 0x001B5 );
0789             if( entity == "Implies" ) return QChar( 0x021D2 );
0790             if( entity == "in" ) return QChar( 0x02208 );
0791             if( entity == "incare" ) return QChar( 0x02105 );
0792             if( entity == "infin" ) return QChar( 0x0221E );
0793             if( entity == "infintie" ) return QChar( 0x029DD );
0794             if( entity == "inodot" ) return QChar( 0x00131 );
0795             if( entity == "Int" ) return QChar( 0x0222C );
0796             if( entity == "int" ) return QChar( 0x0222B );
0797             if( entity == "intcal" ) return QChar( 0x022BA );
0798             if( entity == "integers" ) return QChar( 0x02124 );
0799             if( entity == "Integral" ) return QChar( 0x0222B );
0800             if( entity == "intercal" ) return QChar( 0x022BA );
0801             if( entity == "Intersection" ) return QChar( 0x022C2 );
0802             if( entity == "intlarhk" ) return QChar( 0x02A17 );
0803             if( entity == "intprod" ) return QChar( 0x02A3C );
0804             if( entity == "InvisibleComma" ) return QChar( 0x02063 );
0805             if( entity == "InvisibleTimes" ) return QChar( 0x02062 );
0806             if( entity == "IOcy" ) return QChar( 0x00401 );
0807             if( entity == "iocy" ) return QChar( 0x00451 );
0808             if( entity == "Iogon" ) return QChar( 0x0012E );
0809             if( entity == "iogon" ) return QChar( 0x0012F );
0810             if( entity == "Iopf" ) return QChar( 0x1D540 );
0811             if( entity == "iopf" ) return QChar( 0x1D55A );
0812             if( entity == "iota" ) return QChar( 0x003B9 );
0813             if( entity == "iprod" ) return QChar( 0x02A3C );
0814             if( entity == "iquest" ) return QChar( 0x000BF );
0815             if( entity == "Iscr" ) return QChar( 0x02110 );
0816             if( entity == "iscr" ) return QChar( 0x1D4BE );
0817             if( entity == "isin" ) return QChar( 0x02208 );
0818             if( entity == "isindot" ) return QChar( 0x022F5 );
0819             if( entity == "isinE" ) return QChar( 0x022F9 );
0820             if( entity == "isins" ) return QChar( 0x022F4 );
0821             if( entity == "isinsv" ) return QChar( 0x022F3 );
0822             if( entity == "isinv" ) return QChar( 0x02208 );
0823             if( entity == "it" ) return QChar( 0x02062 );
0824             if( entity == "Itilde" ) return QChar( 0x00128 );
0825             if( entity == "itilde" ) return QChar( 0x00129 );
0826             if( entity == "Iukcy" ) return QChar( 0x00406 );
0827             if( entity == "iukcy" ) return QChar( 0x00456 );
0828             if( entity == "Iuml" ) return QChar( 0x000CF );
0829             if( entity == "iuml" ) return QChar( 0x000EF );
0830             break;
0831         case 'j':
0832             if( entity == "Jcirc" ) return QChar( 0x00134 );
0833             if( entity == "jcirc" ) return QChar( 0x00135 );
0834             if( entity == "Jcy" ) return QChar( 0x00419 );
0835             if( entity == "jcy" ) return QChar( 0x00439 );
0836             if( entity == "Jfr" ) return QChar( 0x1D50D );
0837             if( entity == "jfr" ) return QChar( 0x1D527 );
0838             if( entity == "jmath" ) return QChar( 0x0006A );
0839             if( entity == "Jopf" ) return QChar( 0x1D541 );
0840             if( entity == "jopf" ) return QChar( 0x1D55B );
0841             if( entity == "Jscr" ) return QChar( 0x1D4A5 );
0842             if( entity == "jscr" ) return QChar( 0x1D4BF );
0843             if( entity == "Jsercy" ) return QChar( 0x00408 );
0844             if( entity == "jsercy" ) return QChar( 0x00458 );
0845             if( entity == "Jukcy" ) return QChar( 0x00404 );
0846             if( entity == "jukcy" ) return QChar( 0x00454 );
0847             break;
0848         case 'k':
0849             if( entity == "kappa" ) return QChar( 0x003BA );
0850             if( entity == "kappav" ) return QChar( 0x003F0 );
0851             if( entity == "Kcedil" ) return QChar( 0x00136 );
0852             if( entity == "kcedil" ) return QChar( 0x00137 );
0853             if( entity == "Kcy" ) return QChar( 0x0041A );
0854             if( entity == "kcy" ) return QChar( 0x0043A );
0855             if( entity == "Kfr" ) return QChar( 0x1D50E );
0856             if( entity == "kfr" ) return QChar( 0x1D528 );
0857             if( entity == "kgreen" ) return QChar( 0x00138 );
0858             if( entity == "KHcy" ) return QChar( 0x00425 );
0859             if( entity == "khcy" ) return QChar( 0x00445 );
0860             if( entity == "KJcy" ) return QChar( 0x0040C );
0861             if( entity == "kjcy" ) return QChar( 0x0045C );
0862             if( entity == "Kopf" ) return QChar( 0x1D542 );
0863             if( entity == "kopf" ) return QChar( 0x1D55C );
0864             if( entity == "Kscr" ) return QChar( 0x1D4A6 );
0865             if( entity == "kscr" ) return QChar( 0x1D4C0 );
0866             break;
0867         case 'l':
0868             if( entity == "lAarr" ) return QChar( 0x021DA );
0869             if( entity == "Lacute" ) return QChar( 0x00139 );
0870             if( entity == "lacute" ) return QChar( 0x0013A );
0871             if( entity == "laemptyv" ) return QChar( 0x029B4 );
0872             if( entity == "lagran" ) return QChar( 0x02112 );
0873             if( entity == "Lambda" ) return QChar( 0x0039B );
0874             if( entity == "lambda" ) return QChar( 0x003BB );
0875             if( entity == "Lang" ) return QChar( 0x0300A );
0876             if( entity == "lang" ) return QChar( 0x02329 );
0877             if( entity == "langd" ) return QChar( 0x02991 );
0878             if( entity == "langle" ) return QChar( 0x02329 );
0879             if( entity == "lap" ) return QChar( 0x02A85 );
0880             if( entity == "Laplacetrf" ) return QChar( 0x02112 );
0881             if( entity == "laquo" ) return QChar( 0x000AB );
0882             if( entity == "Larr" ) return QChar( 0x0219E );
0883             if( entity == "lArr" ) return QChar( 0x021D0 );
0884             if( entity == "larr" ) return QChar( 0x02190 );
0885             if( entity == "larrb" ) return QChar( 0x021E4 );
0886             if( entity == "larrbfs" ) return QChar( 0x0291F );
0887             if( entity == "larrfs" ) return QChar( 0x0291D );
0888             if( entity == "larrhk" ) return QChar( 0x021A9 );
0889             if( entity == "larrlp" ) return QChar( 0x021AB );
0890             if( entity == "larrpl" ) return QChar( 0x02939 );
0891             if( entity == "larrsim" ) return QChar( 0x02973 );
0892             if( entity == "larrtl" ) return QChar( 0x021A2 );
0893             if( entity == "lat" ) return QChar( 0x02AAB );
0894             if( entity == "lAtail" ) return QChar( 0x0291B );
0895             if( entity == "latail" ) return QChar( 0x02919 );
0896             if( entity == "late" ) return QChar( 0x02AAD );
0897             if( entity == "lBarr" ) return QChar( 0x0290E );
0898             if( entity == "lbarr" ) return QChar( 0x0290C );
0899             if( entity == "lbbrk" ) return QChar( 0x03014 );
0900             if( entity == "lbrace" ) return QChar( 0x0007B );
0901             if( entity == "lbrack" ) return QChar( 0x0005B );
0902             if( entity == "lbrke" ) return QChar( 0x0298B );
0903             if( entity == "lbrksld" ) return QChar( 0x0298F );
0904             if( entity == "lbrkslu" ) return QChar( 0x0298D );
0905             if( entity == "Lcaron" ) return QChar( 0x0013D );
0906             if( entity == "lcaron" ) return QChar( 0x0013E );
0907             if( entity == "Lcedil" ) return QChar( 0x0013B );
0908             if( entity == "lcedil" ) return QChar( 0x0013C );
0909             if( entity == "lceil" ) return QChar( 0x02308 );
0910             if( entity == "lcub" ) return QChar( 0x0007B );
0911             if( entity == "Lcy" ) return QChar( 0x0041B );
0912             if( entity == "lcy" ) return QChar( 0x0043B );
0913             if( entity == "ldca" ) return QChar( 0x02936 );
0914             if( entity == "ldquo" ) return QChar( 0x0201C );
0915             if( entity == "ldquor" ) return QChar( 0x0201E );
0916             if( entity == "ldrdhar" ) return QChar( 0x02967 );
0917             if( entity == "ldrushar" ) return QChar( 0x0294B );
0918             if( entity == "ldsh" ) return QChar( 0x021B2 );
0919             if( entity == "lE" ) return QChar( 0x02266 );
0920             if( entity == "le" ) return QChar( 0x02264 );
0921             if( entity == "LeftAngleBracket" ) return QChar( 0x02329 );
0922             if( entity == "LeftArrow" ) return QChar( 0x02190 );
0923             if( entity == "Leftarrow" ) return QChar( 0x021D0 );
0924             if( entity == "leftarrow" ) return QChar( 0x02190 );
0925             if( entity == "LeftArrowBar" ) return QChar( 0x021E4 );
0926             if( entity == "LeftArrowRightArrow" ) return QChar( 0x021C6 );
0927             if( entity == "leftarrowtail" ) return QChar( 0x021A2 );
0928             if( entity == "LeftCeiling" ) return QChar( 0x02308 );
0929             if( entity == "LeftDoubleBracket" ) return QChar( 0x0301A );
0930             if( entity == "LeftDownTeeVector" ) return QChar( 0x02961 );
0931             if( entity == "LeftDownVector" ) return QChar( 0x021C3 );
0932             if( entity == "LeftDownVectorBar" ) return QChar( 0x02959 );
0933             if( entity == "LeftFloor" ) return QChar( 0x0230A );
0934             if( entity == "leftharpoondown" ) return QChar( 0x021BD );
0935             if( entity == "leftharpoonup" ) return QChar( 0x021BC );
0936             if( entity == "leftleftarrows" ) return QChar( 0x021C7 );
0937             if( entity == "LeftRightArrow" ) return QChar( 0x02194 );
0938             if( entity == "Leftrightarrow" ) return QChar( 0x021D4 );
0939             if( entity == "leftrightarrow" ) return QChar( 0x02194 );
0940             if( entity == "leftrightarrows" ) return QChar( 0x021C6 );
0941             if( entity == "leftrightharpoons" ) return QChar( 0x021CB );
0942             if( entity == "leftrightsquigarrow" ) return QChar( 0x021AD );
0943             if( entity == "LeftRightVector" ) return QChar( 0x0294E );
0944             if( entity == "LeftTee" ) return QChar( 0x022A3 );
0945             if( entity == "LeftTeeArrow" ) return QChar( 0x021A4 );
0946             if( entity == "LeftTeeVector" ) return QChar( 0x0295A );
0947             if( entity == "leftthreetimes" ) return QChar( 0x022CB );
0948             if( entity == "LeftTriangle" ) return QChar( 0x022B2 );
0949             if( entity == "LeftTriangleBar" ) return QChar( 0x029CF );
0950             if( entity == "LeftTriangleEqual" ) return QChar( 0x022B4 );
0951             if( entity == "LeftUpDownVector" ) return QChar( 0x02951 );
0952             if( entity == "LeftUpTeeVector" ) return QChar( 0x02960 );
0953             if( entity == "LeftUpVector" ) return QChar( 0x021BF );
0954             if( entity == "LeftUpVectorBar" ) return QChar( 0x02958 );
0955             if( entity == "LeftVector" ) return QChar( 0x021BC );
0956             if( entity == "LeftVectorBar" ) return QChar( 0x02952 );
0957             if( entity == "lEg" ) return QChar( 0x02A8B );
0958             if( entity == "leg" ) return QChar( 0x022DA );
0959             if( entity == "leq" ) return QChar( 0x02264 );
0960             if( entity == "leqq" ) return QChar( 0x02266 );
0961             if( entity == "leqslant" ) return QChar( 0x02A7D );
0962             if( entity == "les" ) return QChar( 0x02A7D );
0963             if( entity == "lescc" ) return QChar( 0x02AA8 );
0964             if( entity == "lesdot" ) return QChar( 0x02A7F );
0965             if( entity == "lesdoto" ) return QChar( 0x02A81 );
0966             if( entity == "lesdotor" ) return QChar( 0x02A83 );
0967             if( entity == "lesges" ) return QChar( 0x02A93 );
0968             if( entity == "lessapprox" ) return QChar( 0x02A85 );
0969             if( entity == "lessdot" ) return QChar( 0x022D6 );
0970             if( entity == "lesseqgtr" ) return QChar( 0x022DA );
0971             if( entity == "lesseqqgtr" ) return QChar( 0x02A8B );
0972             if( entity == "LessEqualGreater" ) return QChar( 0x022DA );
0973             if( entity == "LessFullEqual" ) return QChar( 0x02266 );
0974             if( entity == "LessGreater" ) return QChar( 0x02276 );
0975             if( entity == "lessgtr" ) return QChar( 0x02276 );
0976             if( entity == "LessLess" ) return QChar( 0x02AA1 );
0977             if( entity == "lesssim" ) return QChar( 0x02272 );
0978             if( entity == "LessSlantEqual" ) return QChar( 0x02A7D );
0979             if( entity == "LessTilde" ) return QChar( 0x02272 );
0980             if( entity == "lfisht" ) return QChar( 0x0297C );
0981             if( entity == "lfloor" ) return QChar( 0x0230A );
0982             if( entity == "Lfr" ) return QChar( 0x1D50F );
0983             if( entity == "lfr" ) return QChar( 0x1D529 );
0984             if( entity == "lg" ) return QChar( 0x02276 );
0985             if( entity == "lgE" ) return QChar( 0x02A91 );
0986             if( entity == "lHar" ) return QChar( 0x02962 );
0987             if( entity == "lhard" ) return QChar( 0x021BD );
0988             if( entity == "lharu" ) return QChar( 0x021BC );
0989             if( entity == "lharul" ) return QChar( 0x0296A );
0990             if( entity == "lhblk" ) return QChar( 0x02584 );
0991             if( entity == "LJcy" ) return QChar( 0x00409 );
0992             if( entity == "ljcy" ) return QChar( 0x00459 );
0993             if( entity == "Ll" ) return QChar( 0x022D8 );
0994             if( entity == "ll" ) return QChar( 0x0226A );
0995             if( entity == "llarr" ) return QChar( 0x021C7 );
0996             if( entity == "llcorner" ) return QChar( 0x0231E );
0997             if( entity == "Lleftarrow" ) return QChar( 0x021DA );
0998             if( entity == "llhard" ) return QChar( 0x0296B );
0999             if( entity == "lltri" ) return QChar( 0x025FA );
1000             if( entity == "Lmidot" ) return QChar( 0x0013F );
1001             if( entity == "lmidot" ) return QChar( 0x00140 );
1002             if( entity == "lmoust" ) return QChar( 0x023B0 );
1003             if( entity == "lmoustache" ) return QChar( 0x023B0 );
1004             if( entity == "lnap" ) return QChar( 0x02A89 );
1005             if( entity == "lnapprox" ) return QChar( 0x02A89 );
1006             if( entity == "lnE" ) return QChar( 0x02268 );
1007             if( entity == "lne" ) return QChar( 0x02A87 );
1008             if( entity == "lneq" ) return QChar( 0x02A87 );
1009             if( entity == "lneqq" ) return QChar( 0x02268 );
1010             if( entity == "lnsim" ) return QChar( 0x022E6 );
1011             if( entity == "loang" ) return QChar( 0x03018 );
1012             if( entity == "loarr" ) return QChar( 0x021FD );
1013             if( entity == "lobrk" ) return QChar( 0x0301A );
1014             if( entity == "LongLeftArrow" ) return QChar( 0x027F5 );
1015             if( entity == "Longleftarrow" ) return QChar( 0x027F8 );
1016             if( entity == "longleftarrow" ) return QChar( 0x027F5 );
1017             if( entity == "LongLeftRightArrow" ) return QChar( 0x027F7 );
1018             if( entity == "Longleftrightarrow" ) return QChar( 0x027FA );
1019             if( entity == "longleftrightarrow" ) return QChar( 0x027F7 );
1020             if( entity == "longmapsto" ) return QChar( 0x027FC );
1021             if( entity == "LongRightArrow" ) return QChar( 0x027F6 );
1022             if( entity == "Longrightarrow" ) return QChar( 0x027F9 );
1023             if( entity == "longrightarrow" ) return QChar( 0x027F6 );
1024             if( entity == "looparrowleft" ) return QChar( 0x021AB );
1025             if( entity == "looparrowright" ) return QChar( 0x021AC );
1026             if( entity == "lopar" ) return QChar( 0x02985 );
1027             if( entity == "Lopf" ) return QChar( 0x1D543 );
1028             if( entity == "lopf" ) return QChar( 0x1D55D );
1029             if( entity == "loplus" ) return QChar( 0x02A2D );
1030             if( entity == "lotimes" ) return QChar( 0x02A34 );
1031             if( entity == "lowast" ) return QChar( 0x02217 );
1032             if( entity == "lowbar" ) return QChar( 0x0005F );
1033             if( entity == "LowerLeftArrow" ) return QChar( 0x02199 );
1034             if( entity == "LowerRightArrow" ) return QChar( 0x02198 );
1035             if( entity == "loz" ) return QChar( 0x025CA );
1036             if( entity == "lozenge" ) return QChar( 0x025CA );
1037             if( entity == "lozf" ) return QChar( 0x029EB );
1038             if( entity == "lpar" ) return QChar( 0x00028 );
1039             if( entity == "lparlt" ) return QChar( 0x02993 );
1040             if( entity == "lrarr" ) return QChar( 0x021C6 );
1041             if( entity == "lrcorner" ) return QChar( 0x0231F );
1042             if( entity == "lrhar" ) return QChar( 0x021CB );
1043             if( entity == "lrhard" ) return QChar( 0x0296D );
1044             if( entity == "lrtri" ) return QChar( 0x022BF );
1045             if( entity == "Lscr" ) return QChar( 0x02112 );
1046             if( entity == "lscr" ) return QChar( 0x1D4C1 );
1047             if( entity == "Lsh" ) return QChar( 0x021B0 );
1048             if( entity == "lsh" ) return QChar( 0x021B0 );
1049             if( entity == "lsim" ) return QChar( 0x02272 );
1050             if( entity == "lsime" ) return QChar( 0x02A8D );
1051             if( entity == "lsimg" ) return QChar( 0x02A8F );
1052             if( entity == "lsqb" ) return QChar( 0x0005B );
1053             if( entity == "lsquo" ) return QChar( 0x02018 );
1054             if( entity == "lsquor" ) return QChar( 0x0201A );
1055             if( entity == "Lstrok" ) return QChar( 0x00141 );
1056             if( entity == "lstrok" ) return QChar( 0x00142 );
1057             if( entity == "Lt" ) return QChar( 0x0226A );
1058             if( entity == "lt" ) return QChar( 0x0003C );
1059             if( entity == "ltcc" ) return QChar( 0x02AA6 );
1060             if( entity == "ltcir" ) return QChar( 0x02A79 );
1061             if( entity == "ltdot" ) return QChar( 0x022D6 );
1062             if( entity == "lthree" ) return QChar( 0x022CB );
1063             if( entity == "ltimes" ) return QChar( 0x022C9 );
1064             if( entity == "ltlarr" ) return QChar( 0x02976 );
1065             if( entity == "ltquest" ) return QChar( 0x02A7B );
1066             if( entity == "ltri" ) return QChar( 0x025C3 );
1067             if( entity == "ltrie" ) return QChar( 0x022B4 );
1068             if( entity == "ltrif" ) return QChar( 0x025C2 );
1069             if( entity == "ltrPar" ) return QChar( 0x02996 );
1070             if( entity == "lurdshar" ) return QChar( 0x0294A );
1071             if( entity == "luruhar" ) return QChar( 0x02966 );
1072             break;
1073         case 'm':
1074             if( entity == "macr" ) return QChar( 0x000AF );
1075             if( entity == "male" ) return QChar( 0x02642 );
1076             if( entity == "malt" ) return QChar( 0x02720 );
1077             if( entity == "maltese" ) return QChar( 0x02720 );
1078             if( entity == "Map" ) return QChar( 0x02905 );
1079             if( entity == "map" ) return QChar( 0x021A6 );
1080             if( entity == "mapsto" ) return QChar( 0x021A6 );
1081             if( entity == "mapstodown" ) return QChar( 0x021A7 );
1082             if( entity == "mapstoleft" ) return QChar( 0x021A4 );
1083             if( entity == "mapstoup" ) return QChar( 0x021A5 );
1084             if( entity == "marker" ) return QChar( 0x025AE );
1085             if( entity == "mcomma" ) return QChar( 0x02A29 );
1086             if( entity == "Mcy" ) return QChar( 0x0041C );
1087             if( entity == "mcy" ) return QChar( 0x0043C );
1088             if( entity == "mdash" ) return QChar( 0x02014 );
1089             if( entity == "mDDot" ) return QChar( 0x0223A );
1090             if( entity == "measuredangle" ) return QChar( 0x02221 );
1091             if( entity == "MediumSpace" ) return QChar( 0x0205F );
1092             if( entity == "Mellintrf" ) return QChar( 0x02133 );
1093             if( entity == "Mfr" ) return QChar( 0x1D510 );
1094             if( entity == "mfr" ) return QChar( 0x1D52A );
1095             if( entity == "mho" ) return QChar( 0x02127 );
1096             if( entity == "micro" ) return QChar( 0x000B5 );
1097             if( entity == "mid" ) return QChar( 0x02223 );
1098             if( entity == "midast" ) return QChar( 0x0002A );
1099             if( entity == "midcir" ) return QChar( 0x02AF0 );
1100             if( entity == "middot" ) return QChar( 0x000B7 );
1101             if( entity == "minus" ) return QChar( 0x02212 );
1102             if( entity == "minusb" ) return QChar( 0x0229F );
1103             if( entity == "minusd" ) return QChar( 0x02238 );
1104             if( entity == "minusdu" ) return QChar( 0x02A2A );
1105             if( entity == "MinusPlus" ) return QChar( 0x02213 );
1106             if( entity == "mlcp" ) return QChar( 0x02ADB );
1107             if( entity == "mldr" ) return QChar( 0x02026 );
1108             if( entity == "mnplus" ) return QChar( 0x02213 );
1109             if( entity == "models" ) return QChar( 0x022A7 );
1110             if( entity == "Mopf" ) return QChar( 0x1D544 );
1111             if( entity == "mopf" ) return QChar( 0x1D55E );
1112             if( entity == "mp" ) return QChar( 0x02213 );
1113             if( entity == "Mscr" ) return QChar( 0x02133 );
1114             if( entity == "mscr" ) return QChar( 0x1D4C2 );
1115             if( entity == "mstpos" ) return QChar( 0x0223E );
1116             if( entity == "mu" ) return QChar( 0x003BC );
1117             if( entity == "multimap" ) return QChar( 0x022B8 );
1118             if( entity == "mumap" ) return QChar( 0x022B8 );
1119             break;
1120         case 'n':
1121             if( entity == "nabla" ) return QChar( 0x02207 );
1122             if( entity == "Nacute" ) return QChar( 0x00143 );
1123             if( entity == "nacute" ) return QChar( 0x00144 );
1124             if( entity == "nap" ) return QChar( 0x02249 );
1125             if( entity == "napos" ) return QChar( 0x00149 );
1126             if( entity == "napprox" ) return QChar( 0x02249 );
1127             if( entity == "natur" ) return QChar( 0x0266E );
1128             if( entity == "natural" ) return QChar( 0x0266E );
1129             if( entity == "naturals" ) return QChar( 0x02115 );
1130             if( entity == "nbsp" ) return QChar( 0x000A0 );
1131             if( entity == "ncap" ) return QChar( 0x02A43 );
1132             if( entity == "Ncaron" ) return QChar( 0x00147 );
1133             if( entity == "ncaron" ) return QChar( 0x00148 );
1134             if( entity == "Ncedil" ) return QChar( 0x00145 );
1135             if( entity == "ncedil" ) return QChar( 0x00146 );
1136             if( entity == "ncong" ) return QChar( 0x02247 );
1137             if( entity == "ncup" ) return QChar( 0x02A42 );
1138             if( entity == "Ncy" ) return QChar( 0x0041D );
1139             if( entity == "ncy" ) return QChar( 0x0043D );
1140             if( entity == "ndash" ) return QChar( 0x02013 );
1141             if( entity == "ne" ) return QChar( 0x02260 );
1142             if( entity == "nearhk" ) return QChar( 0x02924 );
1143             if( entity == "neArr" ) return QChar( 0x021D7 );
1144             if( entity == "nearr" ) return QChar( 0x02197 );
1145             if( entity == "nearrow" ) return QChar( 0x02197 );
1146             if( entity == "NegativeMediumSpace" ) return QChar( 0x0200B );
1147             if( entity == "NegativeThickSpace" ) return QChar( 0x0200B );
1148             if( entity == "NegativeThinSpace" ) return QChar( 0x0200B );
1149             if( entity == "NegativeVeryThinSpace" ) return QChar( 0x0200B );
1150             if( entity == "nequiv" ) return QChar( 0x02262 );
1151             if( entity == "nesear" ) return QChar( 0x02928 );
1152             if( entity == "NestedGreaterGreater" ) return QChar( 0x0226B );
1153             if( entity == "NestedLessLess" ) return QChar( 0x0226A );
1154             if( entity == "NewLine" ) return QChar( 0x0000A );
1155             if( entity == "nexist" ) return QChar( 0x02204 );
1156             if( entity == "nexists" ) return QChar( 0x02204 );
1157             if( entity == "Nfr" ) return QChar( 0x1D511 );
1158             if( entity == "nfr" ) return QChar( 0x1D52B );
1159             if( entity == "nge" ) return QChar( 0x02271 );
1160             if( entity == "ngeq" ) return QChar( 0x02271 );
1161             if( entity == "ngsim" ) return QChar( 0x02275 );
1162             if( entity == "ngt" ) return QChar( 0x0226F );
1163             if( entity == "ngtr" ) return QChar( 0x0226F );
1164             if( entity == "nhArr" ) return QChar( 0x021CE );
1165             if( entity == "nharr" ) return QChar( 0x021AE );
1166             if( entity == "nhpar" ) return QChar( 0x02AF2 );
1167             if( entity == "ni" ) return QChar( 0x0220B );
1168             if( entity == "nis" ) return QChar( 0x022FC );
1169             if( entity == "nisd" ) return QChar( 0x022FA );
1170             if( entity == "niv" ) return QChar( 0x0220B );
1171             if( entity == "NJcy" ) return QChar( 0x0040A );
1172             if( entity == "njcy" ) return QChar( 0x0045A );
1173             if( entity == "nlArr" ) return QChar( 0x021CD );
1174             if( entity == "nlarr" ) return QChar( 0x0219A );
1175             if( entity == "nldr" ) return QChar( 0x02025 );
1176             if( entity == "nle" ) return QChar( 0x02270 );
1177             if( entity == "nLeftarrow" ) return QChar( 0x021CD );
1178             if( entity == "nleftarrow" ) return QChar( 0x0219A );
1179             if( entity == "nLeftrightarrow" ) return QChar( 0x021CE );
1180             if( entity == "nleftrightarrow" ) return QChar( 0x021AE );
1181             if( entity == "nleq" ) return QChar( 0x02270 );
1182             if( entity == "nless" ) return QChar( 0x0226E );
1183             if( entity == "nlsim" ) return QChar( 0x02274 );
1184             if( entity == "nlt" ) return QChar( 0x0226E );
1185             if( entity == "nltri" ) return QChar( 0x022EA );
1186             if( entity == "nltrie" ) return QChar( 0x022EC );
1187             if( entity == "nmid" ) return QChar( 0x02224 );
1188             if( entity == "NoBreak" ) return QChar( 0x02060 );
1189             if( entity == "NonBreakingSpace" ) return QChar( 0x000A0 );
1190             if( entity == "Nopf" ) return QChar( 0x02115 );
1191             if( entity == "nopf" ) return QChar( 0x1D55F );
1192             if( entity == "Not" ) return QChar( 0x02AEC );
1193             if( entity == "not" ) return QChar( 0x000AC );
1194             if( entity == "NotCongruent" ) return QChar( 0x02262 );
1195             if( entity == "NotCupCap" ) return QChar( 0x0226D );
1196             if( entity == "NotDoubleVerticalBar" ) return QChar( 0x02226 );
1197             if( entity == "NotElement" ) return QChar( 0x02209 );
1198             if( entity == "NotEqual" ) return QChar( 0x02260 );
1199             if( entity == "NotExists" ) return QChar( 0x02204 );
1200             if( entity == "NotGreater" ) return QChar( 0x0226F );
1201             if( entity == "NotGreaterEqual" ) return QChar( 0x02271 );
1202             if( entity == "NotGreaterLess" ) return QChar( 0x02279 );
1203             if( entity == "NotGreaterTilde" ) return QChar( 0x02275 );
1204             if( entity == "notin" ) return QChar( 0x02209 );
1205             if( entity == "notinva" ) return QChar( 0x02209 );
1206             if( entity == "notinvb" ) return QChar( 0x022F7 );
1207             if( entity == "notinvc" ) return QChar( 0x022F6 );
1208             if( entity == "NotLeftTriangle" ) return QChar( 0x022EA );
1209             if( entity == "NotLeftTriangleEqual" ) return QChar( 0x022EC );
1210             if( entity == "NotLess" ) return QChar( 0x0226E );
1211             if( entity == "NotLessEqual" ) return QChar( 0x02270 );
1212             if( entity == "NotLessGreater" ) return QChar( 0x02278 );
1213             if( entity == "NotLessTilde" ) return QChar( 0x02274 );
1214             if( entity == "notni" ) return QChar( 0x0220C );
1215             if( entity == "notniva" ) return QChar( 0x0220C );
1216             if( entity == "notnivb" ) return QChar( 0x022FE );
1217             if( entity == "notnivc" ) return QChar( 0x022FD );
1218             if( entity == "NotPrecedes" ) return QChar( 0x02280 );
1219             if( entity == "NotPrecedesSlantEqual" ) return QChar( 0x022E0 );
1220             if( entity == "NotReverseElement" ) return QChar( 0x0220C );
1221             if( entity == "NotRightTriangle" ) return QChar( 0x022EB );
1222             if( entity == "NotRightTriangleEqual" ) return QChar( 0x022ED );
1223             if( entity == "NotSquareSubsetEqual" ) return QChar( 0x022E2 );
1224             if( entity == "NotSquareSupersetEqual" ) return QChar( 0x022E3 );
1225             if( entity == "NotSubsetEqual" ) return QChar( 0x02288 );
1226             if( entity == "NotSucceeds" ) return QChar( 0x02281 );
1227             if( entity == "NotSucceedsSlantEqual" ) return QChar( 0x022E1 );
1228             if( entity == "NotSupersetEqual" ) return QChar( 0x02289 );
1229             if( entity == "NotTilde" ) return QChar( 0x02241 );
1230             if( entity == "NotTildeEqual" ) return QChar( 0x02244 );
1231             if( entity == "NotTildeFullEqual" ) return QChar( 0x02247 );
1232             if( entity == "NotTildeTilde" ) return QChar( 0x02249 );
1233             if( entity == "NotVerticalBar" ) return QChar( 0x02224 );
1234             if( entity == "npar" ) return QChar( 0x02226 );
1235             if( entity == "nparallel" ) return QChar( 0x02226 );
1236             if( entity == "npolint" ) return QChar( 0x02A14 );
1237             if( entity == "npr" ) return QChar( 0x02280 );
1238             if( entity == "nprcue" ) return QChar( 0x022E0 );
1239             if( entity == "nprec" ) return QChar( 0x02280 );
1240             if( entity == "nrArr" ) return QChar( 0x021CF );
1241             if( entity == "nrarr" ) return QChar( 0x0219B );
1242             if( entity == "nRightarrow" ) return QChar( 0x021CF );
1243             if( entity == "nrightarrow" ) return QChar( 0x0219B );
1244             if( entity == "nrtri" ) return QChar( 0x022EB );
1245             if( entity == "nrtrie" ) return QChar( 0x022ED );
1246             if( entity == "nsc" ) return QChar( 0x02281 );
1247             if( entity == "nsccue" ) return QChar( 0x022E1 );
1248             if( entity == "Nscr" ) return QChar( 0x1D4A9 );
1249             if( entity == "nscr" ) return QChar( 0x1D4C3 );
1250             if( entity == "nshortmid" ) return QChar( 0x02224 );
1251             if( entity == "nshortparallel" ) return QChar( 0x02226 );
1252             if( entity == "nsim" ) return QChar( 0x02241 );
1253             if( entity == "nsime" ) return QChar( 0x02244 );
1254             if( entity == "nsimeq" ) return QChar( 0x02244 );
1255             if( entity == "nsmid" ) return QChar( 0x02224 );
1256             if( entity == "nspar" ) return QChar( 0x02226 );
1257             if( entity == "nsqsube" ) return QChar( 0x022E2 );
1258             if( entity == "nsqsupe" ) return QChar( 0x022E3 );
1259             if( entity == "nsub" ) return QChar( 0x02284 );
1260             if( entity == "nsube" ) return QChar( 0x02288 );
1261             if( entity == "nsubseteq" ) return QChar( 0x02288 );
1262             if( entity == "nsucc" ) return QChar( 0x02281 );
1263             if( entity == "nsup" ) return QChar( 0x02285 );
1264             if( entity == "nsupe" ) return QChar( 0x02289 );
1265             if( entity == "nsupseteq" ) return QChar( 0x02289 );
1266             if( entity == "ntgl" ) return QChar( 0x02279 );
1267             if( entity == "Ntilde" ) return QChar( 0x000D1 );
1268             if( entity == "ntilde" ) return QChar( 0x000F1 );
1269             if( entity == "ntlg" ) return QChar( 0x02278 );
1270             if( entity == "ntriangleleft" ) return QChar( 0x022EA );
1271             if( entity == "ntrianglelefteq" ) return QChar( 0x022EC );
1272             if( entity == "ntriangleright" ) return QChar( 0x022EB );
1273             if( entity == "ntrianglerighteq" ) return QChar( 0x022ED );
1274             if( entity == "nu" ) return QChar( 0x003BD );
1275             if( entity == "num" ) return QChar( 0x00023 );
1276             if( entity == "numero" ) return QChar( 0x02116 );
1277             if( entity == "numsp" ) return QChar( 0x02007 );
1278             if( entity == "nVDash" ) return QChar( 0x022AF );
1279             if( entity == "nVdash" ) return QChar( 0x022AE );
1280             if( entity == "nvDash" ) return QChar( 0x022AD );
1281             if( entity == "nvdash" ) return QChar( 0x022AC );
1282             if( entity == "nvHarr" ) return QChar( 0x02904 );
1283             if( entity == "nvinfin" ) return QChar( 0x029DE );
1284             if( entity == "nvlArr" ) return QChar( 0x02902 );
1285             if( entity == "nvrArr" ) return QChar( 0x02903 );
1286             if( entity == "nwarhk" ) return QChar( 0x02923 );
1287             if( entity == "nwArr" ) return QChar( 0x021D6 );
1288             if( entity == "nwarr" ) return QChar( 0x02196 );
1289             if( entity == "nwarrow" ) return QChar( 0x02196 );
1290             if( entity == "nwnear" ) return QChar( 0x02927 );
1291             break;
1292         case 'o':
1293             if( entity == "Oacute" ) return QChar( 0x000D3 );
1294             if( entity == "oacute" ) return QChar( 0x000F3 );
1295             if( entity == "oast" ) return QChar( 0x0229B );
1296             if( entity == "ocir" ) return QChar( 0x0229A );
1297             if( entity == "Ocirc" ) return QChar( 0x000D4 );
1298             if( entity == "ocirc" ) return QChar( 0x000F4 );
1299             if( entity == "Ocy" ) return QChar( 0x0041E );
1300             if( entity == "ocy" ) return QChar( 0x0043E );
1301             if( entity == "odash" ) return QChar( 0x0229D );
1302             if( entity == "Odblac" ) return QChar( 0x00150 );
1303             if( entity == "odblac" ) return QChar( 0x00151 );
1304             if( entity == "odiv" ) return QChar( 0x02A38 );
1305             if( entity == "odot" ) return QChar( 0x02299 );
1306             if( entity == "odsold" ) return QChar( 0x029BC );
1307             if( entity == "OElig" ) return QChar( 0x00152 );
1308             if( entity == "oelig" ) return QChar( 0x00153 );
1309             if( entity == "ofcir" ) return QChar( 0x029BF );
1310             if( entity == "Ofr" ) return QChar( 0x1D512 );
1311             if( entity == "ofr" ) return QChar( 0x1D52C );
1312             if( entity == "ogon" ) return QChar( 0x002DB );
1313             if( entity == "Ograve" ) return QChar( 0x000D2 );
1314             if( entity == "ograve" ) return QChar( 0x000F2 );
1315             if( entity == "ogt" ) return QChar( 0x029C1 );
1316             if( entity == "ohbar" ) return QChar( 0x029B5 );
1317             if( entity == "ohm" ) return QChar( 0x02126 );
1318             if( entity == "oint" ) return QChar( 0x0222E );
1319             if( entity == "olarr" ) return QChar( 0x021BA );
1320             if( entity == "olcir" ) return QChar( 0x029BE );
1321             if( entity == "olcross" ) return QChar( 0x029BB );
1322             if( entity == "olt" ) return QChar( 0x029C0 );
1323             if( entity == "Omacr" ) return QChar( 0x0014C );
1324             if( entity == "omacr" ) return QChar( 0x0014D );
1325             if( entity == "Omega" ) return QChar( 0x003A9 );
1326             if( entity == "omega" ) return QChar( 0x003C9 );
1327             if( entity == "omid" ) return QChar( 0x029B6 );
1328             if( entity == "ominus" ) return QChar( 0x02296 );
1329             if( entity == "Oopf" ) return QChar( 0x1D546 );
1330             if( entity == "oopf" ) return QChar( 0x1D560 );
1331             if( entity == "opar" ) return QChar( 0x029B7 );
1332             if( entity == "OpenCurlyDoubleQuote" ) return QChar( 0x0201C );
1333             if( entity == "OpenCurlyQuote" ) return QChar( 0x02018 );
1334             if( entity == "operp" ) return QChar( 0x029B9 );
1335             if( entity == "oplus" ) return QChar( 0x02295 );
1336             if( entity == "Or" ) return QChar( 0x02A54 );
1337             if( entity == "or" ) return QChar( 0x02228 );
1338             if( entity == "orarr" ) return QChar( 0x021BB );
1339             if( entity == "ord" ) return QChar( 0x02A5D );
1340             if( entity == "order" ) return QChar( 0x02134 );
1341             if( entity == "orderof" ) return QChar( 0x02134 );
1342             if( entity == "ordf" ) return QChar( 0x000AA );
1343             if( entity == "ordm" ) return QChar( 0x000BA );
1344             if( entity == "origof" ) return QChar( 0x022B6 );
1345             if( entity == "oror" ) return QChar( 0x02A56 );
1346             if( entity == "orslope" ) return QChar( 0x02A57 );
1347             if( entity == "orv" ) return QChar( 0x02A5B );
1348             if( entity == "oS" ) return QChar( 0x024C8 );
1349             if( entity == "Oscr" ) return QChar( 0x1D4AA );
1350             if( entity == "oscr" ) return QChar( 0x02134 );
1351             if( entity == "Oslash" ) return QChar( 0x000D8 );
1352             if( entity == "oslash" ) return QChar( 0x000F8 );
1353             if( entity == "osol" ) return QChar( 0x02298 );
1354             if( entity == "Otilde" ) return QChar( 0x000D5 );
1355             if( entity == "otilde" ) return QChar( 0x000F5 );
1356             if( entity == "Otimes" ) return QChar( 0x02A37 );
1357             if( entity == "otimes" ) return QChar( 0x02297 );
1358             if( entity == "otimesas" ) return QChar( 0x02A36 );
1359             if( entity == "Ouml" ) return QChar( 0x000D6 );
1360             if( entity == "ouml" ) return QChar( 0x000F6 );
1361             if( entity == "ovbar" ) return QChar( 0x0233D );
1362             if( entity == "OverBar" ) return QChar( 0x000AF );
1363             if( entity == "OverBrace" ) return QChar( 0x0FE37 );
1364             if( entity == "OverBracket" ) return QChar( 0x023B4 );
1365             if( entity == "OverParenthesis" ) return QChar( 0x0FE35 );
1366             break;
1367         case 'p':
1368             if( entity == "par" ) return QChar( 0x02225 );
1369             if( entity == "para" ) return QChar( 0x000B6 );
1370             if( entity == "parallel" ) return QChar( 0x02225 );
1371             if( entity == "parsim" ) return QChar( 0x02AF3 );
1372             if( entity == "parsl" ) return QChar( 0x02AFD );
1373             if( entity == "part" ) return QChar( 0x02202 );
1374             if( entity == "PartialD" ) return QChar( 0x02202 );
1375             if( entity == "Pcy" ) return QChar( 0x0041F );
1376             if( entity == "pcy" ) return QChar( 0x0043F );
1377             if( entity == "percnt" ) return QChar( 0x00025 );
1378             if( entity == "period" ) return QChar( 0x0002E );
1379             if( entity == "permil" ) return QChar( 0x02030 );
1380             if( entity == "perp" ) return QChar( 0x022A5 );
1381             if( entity == "pertenk" ) return QChar( 0x02031 );
1382             if( entity == "Pfr" ) return QChar( 0x1D513 );
1383             if( entity == "pfr" ) return QChar( 0x1D52D );
1384             if( entity == "Phi" ) return QChar( 0x003A6 );
1385             if( entity == "phi" ) return QChar( 0x003D5 );
1386             if( entity == "phiv" ) return QChar( 0x003C6 );
1387             if( entity == "phmmat" ) return QChar( 0x02133 );
1388             if( entity == "phone" ) return QChar( 0x0260E );
1389             if( entity == "Pi" ) return QChar( 0x003A0 );
1390             if( entity == "pi" ) return QChar( 0x003C0 );
1391             if( entity == "pitchfork" ) return QChar( 0x022D4 );
1392             if( entity == "piv" ) return QChar( 0x003D6 );
1393             if( entity == "planck" ) return QChar( 0x0210F );
1394             if( entity == "planckh" ) return QChar( 0x0210E );
1395             if( entity == "plankv" ) return QChar( 0x0210F );
1396             if( entity == "plus" ) return QChar( 0x0002B );
1397             if( entity == "plusacir" ) return QChar( 0x02A23 );
1398             if( entity == "plusb" ) return QChar( 0x0229E );
1399             if( entity == "pluscir" ) return QChar( 0x02A22 );
1400             if( entity == "plusdo" ) return QChar( 0x02214 );
1401             if( entity == "plusdu" ) return QChar( 0x02A25 );
1402             if( entity == "pluse" ) return QChar( 0x02A72 );
1403             if( entity == "PlusMinus" ) return QChar( 0x000B1 );
1404             if( entity == "plusmn" ) return QChar( 0x000B1 );
1405             if( entity == "plussim" ) return QChar( 0x02A26 );
1406             if( entity == "plustwo" ) return QChar( 0x02A27 );
1407             if( entity == "pm" ) return QChar( 0x000B1 );
1408             if( entity == "Poincareplane" ) return QChar( 0x0210C );
1409             if( entity == "pointint" ) return QChar( 0x02A15 );
1410             if( entity == "Popf" ) return QChar( 0x02119 );
1411             if( entity == "popf" ) return QChar( 0x1D561 );
1412             if( entity == "pound" ) return QChar( 0x000A3 );
1413             if( entity == "Pr" ) return QChar( 0x02ABB );
1414             if( entity == "pr" ) return QChar( 0x0227A );
1415             if( entity == "prap" ) return QChar( 0x02AB7 );
1416             if( entity == "prcue" ) return QChar( 0x0227C );
1417             if( entity == "prE" ) return QChar( 0x02AB3 );
1418             if( entity == "pre" ) return QChar( 0x02AAF );
1419             if( entity == "prec" ) return QChar( 0x0227A );
1420             if( entity == "precapprox" ) return QChar( 0x02AB7 );
1421             if( entity == "preccurlyeq" ) return QChar( 0x0227C );
1422             if( entity == "Precedes" ) return QChar( 0x0227A );
1423             if( entity == "PrecedesEqual" ) return QChar( 0x02AAF );
1424             if( entity == "PrecedesSlantEqual" ) return QChar( 0x0227C );
1425             if( entity == "PrecedesTilde" ) return QChar( 0x0227E );
1426             if( entity == "preceq" ) return QChar( 0x02AAF );
1427             if( entity == "precnapprox" ) return QChar( 0x02AB9 );
1428             if( entity == "precneqq" ) return QChar( 0x02AB5 );
1429             if( entity == "precnsim" ) return QChar( 0x022E8 );
1430             if( entity == "precsim" ) return QChar( 0x0227E );
1431             if( entity == "Prime" ) return QChar( 0x02033 );
1432             if( entity == "prime" ) return QChar( 0x02032 );
1433             if( entity == "primes" ) return QChar( 0x02119 );
1434             if( entity == "prnap" ) return QChar( 0x02AB9 );
1435             if( entity == "prnE" ) return QChar( 0x02AB5 );
1436             if( entity == "prnsim" ) return QChar( 0x022E8 );
1437             if( entity == "prod" ) return QChar( 0x0220F );
1438             if( entity == "Product" ) return QChar( 0x0220F );
1439             if( entity == "profalar" ) return QChar( 0x0232E );
1440             if( entity == "profline" ) return QChar( 0x02312 );
1441             if( entity == "profsurf" ) return QChar( 0x02313 );
1442             if( entity == "prop" ) return QChar( 0x0221D );
1443             if( entity == "Proportion" ) return QChar( 0x02237 );
1444             if( entity == "Proportional" ) return QChar( 0x0221D );
1445             if( entity == "propto" ) return QChar( 0x0221D );
1446             if( entity == "prsim" ) return QChar( 0x0227E );
1447             if( entity == "prurel" ) return QChar( 0x022B0 );
1448             if( entity == "Pscr" ) return QChar( 0x1D4AB );
1449             if( entity == "pscr" ) return QChar( 0x1D4C5 );
1450             if( entity == "Psi" ) return QChar( 0x003A8 );
1451             if( entity == "psi" ) return QChar( 0x003C8 );
1452             if( entity == "puncsp" ) return QChar( 0x02008 );
1453             break;
1454         case 'q':
1455             if( entity == "Qfr" ) return QChar( 0x1D514 );
1456             if( entity == "qfr" ) return QChar( 0x1D52E );
1457             if( entity == "qint" ) return QChar( 0x02A0C );
1458             if( entity == "Qopf" ) return QChar( 0x0211A );
1459             if( entity == "qopf" ) return QChar( 0x1D562 );
1460             if( entity == "qprime" ) return QChar( 0x02057 );
1461             if( entity == "Qscr" ) return QChar( 0x1D4AC );
1462             if( entity == "qscr" ) return QChar( 0x1D4C6 );
1463             if( entity == "quaternions" ) return QChar( 0x0210D );
1464             if( entity == "quatint" ) return QChar( 0x02A16 );
1465             if( entity == "quest" ) return QChar( 0x0003F );
1466             if( entity == "questeq" ) return QChar( 0x0225F );
1467             if( entity == "quot" ) return QChar( 0x00022 );
1468             break;
1469         case 'r':
1470             if( entity == "rAarr" ) return QChar( 0x021DB );
1471             if( entity == "race" ) return QChar( 0x029DA );
1472             if( entity == "Racute" ) return QChar( 0x00154 );
1473             if( entity == "racute" ) return QChar( 0x00155 );
1474             if( entity == "radic" ) return QChar( 0x0221A );
1475             if( entity == "raemptyv" ) return QChar( 0x029B3 );
1476             if( entity == "Rang" ) return QChar( 0x0300B );
1477             if( entity == "rang" ) return QChar( 0x0232A );
1478             if( entity == "rangd" ) return QChar( 0x02992 );
1479             if( entity == "range" ) return QChar( 0x029A5 );
1480             if( entity == "rangle" ) return QChar( 0x0232A );
1481             if( entity == "raquo" ) return QChar( 0x000BB );
1482             if( entity == "Rarr" ) return QChar( 0x021A0 );
1483             if( entity == "rArr" ) return QChar( 0x021D2 );
1484             if( entity == "rarr" ) return QChar( 0x02192 );
1485             if( entity == "rarrap" ) return QChar( 0x02975 );
1486             if( entity == "rarrb" ) return QChar( 0x021E5 );
1487             if( entity == "rarrbfs" ) return QChar( 0x02920 );
1488             if( entity == "rarrc" ) return QChar( 0x02933 );
1489             if( entity == "rarrfs" ) return QChar( 0x0291E );
1490             if( entity == "rarrhk" ) return QChar( 0x021AA );
1491             if( entity == "rarrlp" ) return QChar( 0x021AC );
1492             if( entity == "rarrpl" ) return QChar( 0x02945 );
1493             if( entity == "rarrsim" ) return QChar( 0x02974 );
1494             if( entity == "Rarrtl" ) return QChar( 0x02916 );
1495             if( entity == "rarrtl" ) return QChar( 0x021A3 );
1496             if( entity == "rarrw" ) return QChar( 0x0219D );
1497             if( entity == "rAtail" ) return QChar( 0x0291C );
1498             if( entity == "ratail" ) return QChar( 0x0291A );
1499             if( entity == "ratio" ) return QChar( 0x02236 );
1500             if( entity == "rationals" ) return QChar( 0x0211A );
1501             if( entity == "RBarr" ) return QChar( 0x02910 );
1502             if( entity == "rBarr" ) return QChar( 0x0290F );
1503             if( entity == "rbarr" ) return QChar( 0x0290D );
1504             if( entity == "rbbrk" ) return QChar( 0x03015 );
1505             if( entity == "rbrace" ) return QChar( 0x0007D );
1506             if( entity == "rbrack" ) return QChar( 0x0005D );
1507             if( entity == "rbrke" ) return QChar( 0x0298C );
1508             if( entity == "rbrksld" ) return QChar( 0x0298E );
1509             if( entity == "rbrkslu" ) return QChar( 0x02990 );
1510             if( entity == "Rcaron" ) return QChar( 0x00158 );
1511             if( entity == "rcaron" ) return QChar( 0x00159 );
1512             if( entity == "Rcedil" ) return QChar( 0x00156 );
1513             if( entity == "rcedil" ) return QChar( 0x00157 );
1514             if( entity == "rceil" ) return QChar( 0x02309 );
1515             if( entity == "rcub" ) return QChar( 0x0007D );
1516             if( entity == "Rcy" ) return QChar( 0x00420 );
1517             if( entity == "rcy" ) return QChar( 0x00440 );
1518             if( entity == "rdca" ) return QChar( 0x02937 );
1519             if( entity == "rdldhar" ) return QChar( 0x02969 );
1520             if( entity == "rdquo" ) return QChar( 0x0201D );
1521             if( entity == "rdquor" ) return QChar( 0x0201D );
1522             if( entity == "rdsh" ) return QChar( 0x021B3 );
1523             if( entity == "Re" ) return QChar( 0x0211C );
1524             if( entity == "real" ) return QChar( 0x0211C );
1525             if( entity == "realine" ) return QChar( 0x0211B );
1526             if( entity == "realpart" ) return QChar( 0x0211C );
1527             if( entity == "reals" ) return QChar( 0x0211D );
1528             if( entity == "rect" ) return QChar( 0x025AD );
1529             if( entity == "reg" ) return QChar( 0x000AE );
1530             if( entity == "ReverseElement" ) return QChar( 0x0220B );
1531             if( entity == "ReverseEquilibrium" ) return QChar( 0x021CB );
1532             if( entity == "ReverseUpEquilibrium" ) return QChar( 0x0296F );
1533             if( entity == "rfisht" ) return QChar( 0x0297D );
1534             if( entity == "rfloor" ) return QChar( 0x0230B );
1535             if( entity == "Rfr" ) return QChar( 0x0211C );
1536             if( entity == "rfr" ) return QChar( 0x1D52F );
1537             if( entity == "rHar" ) return QChar( 0x02964 );
1538             if( entity == "rhard" ) return QChar( 0x021C1 );
1539             if( entity == "rharu" ) return QChar( 0x021C0 );
1540             if( entity == "rharul" ) return QChar( 0x0296C );
1541             if( entity == "rho" ) return QChar( 0x003C1 );
1542             if( entity == "rhov" ) return QChar( 0x003F1 );
1543             if( entity == "RightAngleBracket" ) return QChar( 0x0232A );
1544             if( entity == "RightArrow" ) return QChar( 0x02192 );
1545             if( entity == "Rightarrow" ) return QChar( 0x021D2 );
1546             if( entity == "rightarrow" ) return QChar( 0x02192 );
1547             if( entity == "RightArrowBar" ) return QChar( 0x021E5 );
1548             if( entity == "RightArrowLeftArrow" ) return QChar( 0x021C4 );
1549             if( entity == "rightarrowtail" ) return QChar( 0x021A3 );
1550             if( entity == "RightCeiling" ) return QChar( 0x02309 );
1551             if( entity == "RightDoubleBracket" ) return QChar( 0x0301B );
1552             if( entity == "RightDownTeeVector" ) return QChar( 0x0295D );
1553             if( entity == "RightDownVector" ) return QChar( 0x021C2 );
1554             if( entity == "RightDownVectorBar" ) return QChar( 0x02955 );
1555             if( entity == "RightFloor" ) return QChar( 0x0230B );
1556             if( entity == "rightharpoondown" ) return QChar( 0x021C1 );
1557             if( entity == "rightharpoonup" ) return QChar( 0x021C0 );
1558             if( entity == "rightleftarrows" ) return QChar( 0x021C4 );
1559             if( entity == "rightleftharpoons" ) return QChar( 0x021CC );
1560             if( entity == "rightrightarrows" ) return QChar( 0x021C9 );
1561             if( entity == "rightsquigarrow" ) return QChar( 0x0219D );
1562             if( entity == "RightTee" ) return QChar( 0x022A2 );
1563             if( entity == "RightTeeArrow" ) return QChar( 0x021A6 );
1564             if( entity == "RightTeeVector" ) return QChar( 0x0295B );
1565             if( entity == "rightthreetimes" ) return QChar( 0x022CC );
1566             if( entity == "RightTriangle" ) return QChar( 0x022B3 );
1567             if( entity == "RightTriangleBar" ) return QChar( 0x029D0 );
1568             if( entity == "RightTriangleEqual" ) return QChar( 0x022B5 );
1569             if( entity == "RightUpDownVector" ) return QChar( 0x0294F );
1570             if( entity == "RightUpTeeVector" ) return QChar( 0x0295C );
1571             if( entity == "RightUpVector" ) return QChar( 0x021BE );
1572             if( entity == "RightUpVectorBar" ) return QChar( 0x02954 );
1573             if( entity == "RightVector" ) return QChar( 0x021C0 );
1574             if( entity == "RightVectorBar" ) return QChar( 0x02953 );
1575             if( entity == "ring" ) return QChar( 0x002DA );
1576             if( entity == "risingdotseq" ) return QChar( 0x02253 );
1577             if( entity == "rlarr" ) return QChar( 0x021C4 );
1578             if( entity == "rlhar" ) return QChar( 0x021CC );
1579             if( entity == "rmoust" ) return QChar( 0x023B1 );
1580             if( entity == "rmoustache" ) return QChar( 0x023B1 );
1581             if( entity == "rnmid" ) return QChar( 0x02AEE );
1582             if( entity == "roang" ) return QChar( 0x03019 );
1583             if( entity == "roarr" ) return QChar( 0x021FE );
1584             if( entity == "robrk" ) return QChar( 0x0301B );
1585             if( entity == "ropar" ) return QChar( 0x02986 );
1586             if( entity == "Ropf" ) return QChar( 0x0211D );
1587             if( entity == "ropf" ) return QChar( 0x1D563 );
1588             if( entity == "roplus" ) return QChar( 0x02A2E );
1589             if( entity == "rotimes" ) return QChar( 0x02A35 );
1590             if( entity == "RoundImplies" ) return QChar( 0x02970 );
1591             if( entity == "rpar" ) return QChar( 0x00029 );
1592             if( entity == "rpargt" ) return QChar( 0x02994 );
1593             if( entity == "rppolint" ) return QChar( 0x02A12 );
1594             if( entity == "rrarr" ) return QChar( 0x021C9 );
1595             if( entity == "Rrightarrow" ) return QChar( 0x021DB );
1596             if( entity == "Rscr" ) return QChar( 0x0211B );
1597             if( entity == "rscr" ) return QChar( 0x1D4C7 );
1598             if( entity == "Rsh" ) return QChar( 0x021B1 );
1599             if( entity == "rsh" ) return QChar( 0x021B1 );
1600             if( entity == "rsqb" ) return QChar( 0x0005D );
1601             if( entity == "rsquo" ) return QChar( 0x02019 );
1602             if( entity == "rsquor" ) return QChar( 0x02019 );
1603             if( entity == "rthree" ) return QChar( 0x022CC );
1604             if( entity == "rtimes" ) return QChar( 0x022CA );
1605             if( entity == "rtri" ) return QChar( 0x025B9 );
1606             if( entity == "rtrie" ) return QChar( 0x022B5 );
1607             if( entity == "rtrif" ) return QChar( 0x025B8 );
1608             if( entity == "rtriltri" ) return QChar( 0x029CE );
1609             if( entity == "RuleDelayed" ) return QChar( 0x029F4 );
1610             if( entity == "ruluhar" ) return QChar( 0x02968 );
1611             if( entity == "rx" ) return QChar( 0x0211E );
1612             break;
1613         case 's':
1614             if( entity == "Sacute" ) return QChar( 0x0015A );
1615             if( entity == "sacute" ) return QChar( 0x0015B );
1616             if( entity == "Sc" ) return QChar( 0x02ABC );
1617             if( entity == "sc" ) return QChar( 0x0227B );
1618             if( entity == "scap" ) return QChar( 0x02AB8 );
1619             if( entity == "Scaron" ) return QChar( 0x00160 );
1620             if( entity == "scaron" ) return QChar( 0x00161 );
1621             if( entity == "sccue" ) return QChar( 0x0227D );
1622             if( entity == "scE" ) return QChar( 0x02AB4 );
1623             if( entity == "sce" ) return QChar( 0x02AB0 );
1624             if( entity == "Scedil" ) return QChar( 0x0015E );
1625             if( entity == "scedil" ) return QChar( 0x0015F );
1626             if( entity == "Scirc" ) return QChar( 0x0015C );
1627             if( entity == "scirc" ) return QChar( 0x0015D );
1628             if( entity == "scnap" ) return QChar( 0x02ABA );
1629             if( entity == "scnE" ) return QChar( 0x02AB6 );
1630             if( entity == "scnsim" ) return QChar( 0x022E9 );
1631             if( entity == "scpolint" ) return QChar( 0x02A13 );
1632             if( entity == "scsim" ) return QChar( 0x0227F );
1633             if( entity == "Scy" ) return QChar( 0x00421 );
1634             if( entity == "scy" ) return QChar( 0x00441 );
1635             if( entity == "sdot" ) return QChar( 0x022C5 );
1636             if( entity == "sdotb" ) return QChar( 0x022A1 );
1637             if( entity == "sdote" ) return QChar( 0x02A66 );
1638             if( entity == "searhk" ) return QChar( 0x02925 );
1639             if( entity == "seArr" ) return QChar( 0x021D8 );
1640             if( entity == "searr" ) return QChar( 0x02198 );
1641             if( entity == "searrow" ) return QChar( 0x02198 );
1642             if( entity == "sect" ) return QChar( 0x000A7 );
1643             if( entity == "semi" ) return QChar( 0x0003B );
1644             if( entity == "seswar" ) return QChar( 0x02929 );
1645             if( entity == "setminus" ) return QChar( 0x02216 );
1646             if( entity == "setmn" ) return QChar( 0x02216 );
1647             if( entity == "sext" ) return QChar( 0x02736 );
1648             if( entity == "Sfr" ) return QChar( 0x1D516 );
1649             if( entity == "sfr" ) return QChar( 0x1D530 );
1650             if( entity == "sfrown" ) return QChar( 0x02322 );
1651             if( entity == "sharp" ) return QChar( 0x0266F );
1652             if( entity == "SHCHcy" ) return QChar( 0x00429 );
1653             if( entity == "shchcy" ) return QChar( 0x00449 );
1654             if( entity == "SHcy" ) return QChar( 0x00428 );
1655             if( entity == "shcy" ) return QChar( 0x00448 );
1656             if( entity == "ShortDownArrow" ) return QChar( 0x02193 );
1657             if( entity == "ShortLeftArrow" ) return QChar( 0x02190 );
1658             if( entity == "shortmid" ) return QChar( 0x02223 );
1659             if( entity == "shortparallel" ) return QChar( 0x02225 );
1660             if( entity == "ShortRightArrow" ) return QChar( 0x02192 );
1661             if( entity == "ShortUpArrow" ) return QChar( 0x02191 );
1662             if( entity == "shy" ) return QChar( 0x000AD );
1663             if( entity == "Sigma" ) return QChar( 0x003A3 );
1664             if( entity == "sigma" ) return QChar( 0x003C3 );
1665             if( entity == "sigmav" ) return QChar( 0x003C2 );
1666             if( entity == "sim" ) return QChar( 0x0223C );
1667             if( entity == "simdot" ) return QChar( 0x02A6A );
1668             if( entity == "sime" ) return QChar( 0x02243 );
1669             if( entity == "simeq" ) return QChar( 0x02243 );
1670             if( entity == "simg" ) return QChar( 0x02A9E );
1671             if( entity == "simgE" ) return QChar( 0x02AA0 );
1672             if( entity == "siml" ) return QChar( 0x02A9D );
1673             if( entity == "simlE" ) return QChar( 0x02A9F );
1674             if( entity == "simne" ) return QChar( 0x02246 );
1675             if( entity == "simplus" ) return QChar( 0x02A24 );
1676             if( entity == "simrarr" ) return QChar( 0x02972 );
1677             if( entity == "slarr" ) return QChar( 0x02190 );
1678             if( entity == "SmallCircle" ) return QChar( 0x02218 );
1679             if( entity == "smallsetminus" ) return QChar( 0x02216 );
1680             if( entity == "smashp" ) return QChar( 0x02A33 );
1681             if( entity == "smeparsl" ) return QChar( 0x029E4 );
1682             if( entity == "smid" ) return QChar( 0x02223 );
1683             if( entity == "smile" ) return QChar( 0x02323 );
1684             if( entity == "smt" ) return QChar( 0x02AAA );
1685             if( entity == "smte" ) return QChar( 0x02AAC );
1686             if( entity == "SOFTcy" ) return QChar( 0x0042C );
1687             if( entity == "softcy" ) return QChar( 0x0044C );
1688             if( entity == "sol" ) return QChar( 0x0002F );
1689             if( entity == "solb" ) return QChar( 0x029C4 );
1690             if( entity == "solbar" ) return QChar( 0x0233F );
1691             if( entity == "Sopf" ) return QChar( 0x1D54A );
1692             if( entity == "sopf" ) return QChar( 0x1D564 );
1693             if( entity == "spades" ) return QChar( 0x02660 );
1694             if( entity == "spadesuit" ) return QChar( 0x02660 );
1695             if( entity == "spar" ) return QChar( 0x02225 );
1696             if( entity == "sqcap" ) return QChar( 0x02293 );
1697             if( entity == "sqcup" ) return QChar( 0x02294 );
1698             if( entity == "Sqrt" ) return QChar( 0x0221A );
1699             if( entity == "sqsub" ) return QChar( 0x0228F );
1700             if( entity == "sqsube" ) return QChar( 0x02291 );
1701             if( entity == "sqsubset" ) return QChar( 0x0228F );
1702             if( entity == "sqsubseteq" ) return QChar( 0x02291 );
1703             if( entity == "sqsup" ) return QChar( 0x02290 );
1704             if( entity == "sqsupe" ) return QChar( 0x02292 );
1705             if( entity == "sqsupset" ) return QChar( 0x02290 );
1706             if( entity == "sqsupseteq" ) return QChar( 0x02292 );
1707             if( entity == "squ" ) return QChar( 0x025A1 );
1708             if( entity == "Square" ) return QChar( 0x025A1 );
1709             if( entity == "square" ) return QChar( 0x025A1 );
1710             if( entity == "SquareIntersection" ) return QChar( 0x02293 );
1711             if( entity == "SquareSubset" ) return QChar( 0x0228F );
1712             if( entity == "SquareSubsetEqual" ) return QChar( 0x02291 );
1713             if( entity == "SquareSuperset" ) return QChar( 0x02290 );
1714             if( entity == "SquareSupersetEqual" ) return QChar( 0x02292 );
1715             if( entity == "SquareUnion" ) return QChar( 0x02294 );
1716             if( entity == "squarf" ) return QChar( 0x025AA );
1717             if( entity == "squf" ) return QChar( 0x025AA );
1718             if( entity == "srarr" ) return QChar( 0x02192 );
1719             if( entity == "Sscr" ) return QChar( 0x1D4AE );
1720             if( entity == "sscr" ) return QChar( 0x1D4C8 );
1721             if( entity == "ssetmn" ) return QChar( 0x02216 );
1722             if( entity == "ssmile" ) return QChar( 0x02323 );
1723             if( entity == "sstarf" ) return QChar( 0x022C6 );
1724             if( entity == "Star" ) return QChar( 0x022C6 );
1725             if( entity == "star" ) return QChar( 0x02606 );
1726             if( entity == "starf" ) return QChar( 0x02605 );
1727             if( entity == "straightepsilon" ) return QChar( 0x003F5 );
1728             if( entity == "straightphi" ) return QChar( 0x003D5 );
1729             if( entity == "strns" ) return QChar( 0x000AF );
1730             if( entity == "Sub" ) return QChar( 0x022D0 );
1731             if( entity == "sub" ) return QChar( 0x02282 );
1732             if( entity == "subdot" ) return QChar( 0x02ABD );
1733             if( entity == "subE" ) return QChar( 0x02AC5 );
1734             if( entity == "sube" ) return QChar( 0x02286 );
1735             if( entity == "subedot" ) return QChar( 0x02AC3 );
1736             if( entity == "submult" ) return QChar( 0x02AC1 );
1737             if( entity == "subnE" ) return QChar( 0x02ACB );
1738             if( entity == "subne" ) return QChar( 0x0228A );
1739             if( entity == "subplus" ) return QChar( 0x02ABF );
1740             if( entity == "subrarr" ) return QChar( 0x02979 );
1741             if( entity == "Subset" ) return QChar( 0x022D0 );
1742             if( entity == "subset" ) return QChar( 0x02282 );
1743             if( entity == "subseteq" ) return QChar( 0x02286 );
1744             if( entity == "subseteqq" ) return QChar( 0x02AC5 );
1745             if( entity == "SubsetEqual" ) return QChar( 0x02286 );
1746             if( entity == "subsetneq" ) return QChar( 0x0228A );
1747             if( entity == "subsetneqq" ) return QChar( 0x02ACB );
1748             if( entity == "subsim" ) return QChar( 0x02AC7 );
1749             if( entity == "subsub" ) return QChar( 0x02AD5 );
1750             if( entity == "subsup" ) return QChar( 0x02AD3 );
1751             if( entity == "succ" ) return QChar( 0x0227B );
1752             if( entity == "succapprox" ) return QChar( 0x02AB8 );
1753             if( entity == "succcurlyeq" ) return QChar( 0x0227D );
1754             if( entity == "Succeeds" ) return QChar( 0x0227B );
1755             if( entity == "SucceedsEqual" ) return QChar( 0x02AB0 );
1756             if( entity == "SucceedsSlantEqual" ) return QChar( 0x0227D );
1757             if( entity == "SucceedsTilde" ) return QChar( 0x0227F );
1758             if( entity == "succeq" ) return QChar( 0x02AB0 );
1759             if( entity == "succnapprox" ) return QChar( 0x02ABA );
1760             if( entity == "succneqq" ) return QChar( 0x02AB6 );
1761             if( entity == "succnsim" ) return QChar( 0x022E9 );
1762             if( entity == "succsim" ) return QChar( 0x0227F );
1763             if( entity == "SuchThat" ) return QChar( 0x0220B );
1764             if( entity == "Sum" ) return QChar( 0x02211 );
1765             if( entity == "sum" ) return QChar( 0x02211 );
1766             if( entity == "sung" ) return QChar( 0x0266A );
1767             if( entity == "Sup" ) return QChar( 0x022D1 );
1768             if( entity == "sup" ) return QChar( 0x02283 );
1769             if( entity == "sup1" ) return QChar( 0x000B9 );
1770             if( entity == "sup2" ) return QChar( 0x000B2 );
1771             if( entity == "sup3" ) return QChar( 0x000B3 );
1772             if( entity == "supdot" ) return QChar( 0x02ABE );
1773             if( entity == "supdsub" ) return QChar( 0x02AD8 );
1774             if( entity == "supE" ) return QChar( 0x02AC6 );
1775             if( entity == "supe" ) return QChar( 0x02287 );
1776             if( entity == "supedot" ) return QChar( 0x02AC4 );
1777             if( entity == "Superset" ) return QChar( 0x02283 );
1778             if( entity == "SupersetEqual" ) return QChar( 0x02287 );
1779             if( entity == "suphsub" ) return QChar( 0x02AD7 );
1780             if( entity == "suplarr" ) return QChar( 0x0297B );
1781             if( entity == "supmult" ) return QChar( 0x02AC2 );
1782             if( entity == "supnE" ) return QChar( 0x02ACC );
1783             if( entity == "supne" ) return QChar( 0x0228B );
1784             if( entity == "supplus" ) return QChar( 0x02AC0 );
1785             if( entity == "Supset" ) return QChar( 0x022D1 );
1786             if( entity == "supset" ) return QChar( 0x02283 );
1787             if( entity == "supseteq" ) return QChar( 0x02287 );
1788             if( entity == "supseteqq" ) return QChar( 0x02AC6 );
1789             if( entity == "supsetneq" ) return QChar( 0x0228B );
1790             if( entity == "supsetneqq" ) return QChar( 0x02ACC );
1791             if( entity == "supsim" ) return QChar( 0x02AC8 );
1792             if( entity == "supsub" ) return QChar( 0x02AD4 );
1793             if( entity == "supsup" ) return QChar( 0x02AD6 );
1794             if( entity == "swarhk" ) return QChar( 0x02926 );
1795             if( entity == "swArr" ) return QChar( 0x021D9 );
1796             if( entity == "swarr" ) return QChar( 0x02199 );
1797             if( entity == "swarrow" ) return QChar( 0x02199 );
1798             if( entity == "swnwar" ) return QChar( 0x0292A );
1799             if( entity == "szlig" ) return QChar( 0x000DF );
1800             break;
1801         case 't':
1802             if( entity == "Tab" ) return QChar( 0x00009 );
1803             if( entity == "target" ) return QChar( 0x02316 );
1804             if( entity == "tau" ) return QChar( 0x003C4 );
1805             if( entity == "tbrk" ) return QChar( 0x023B4 );
1806             if( entity == "Tcaron" ) return QChar( 0x00164 );
1807             if( entity == "tcaron" ) return QChar( 0x00165 );
1808             if( entity == "Tcedil" ) return QChar( 0x00162 );
1809             if( entity == "tcedil" ) return QChar( 0x00163 );
1810             if( entity == "Tcy" ) return QChar( 0x00422 );
1811             if( entity == "tcy" ) return QChar( 0x00442 );
1812             if( entity == "tdot" ) return QChar( 0x020DB );
1813             if( entity == "telrec" ) return QChar( 0x02315 );
1814             if( entity == "Tfr" ) return QChar( 0x1D517 );
1815             if( entity == "tfr" ) return QChar( 0x1D531 );
1816             if( entity == "there4" ) return QChar( 0x02234 );
1817             if( entity == "Therefore" ) return QChar( 0x02234 );
1818             if( entity == "therefore" ) return QChar( 0x02234 );
1819             if( entity == "Theta" ) return QChar( 0x00398 );
1820             if( entity == "theta" ) return QChar( 0x003B8 );
1821             if( entity == "thetav" ) return QChar( 0x003D1 );
1822             if( entity == "thickapprox" ) return QChar( 0x02248 );
1823             if( entity == "thicksim" ) return QChar( 0x0223C );
1824             if( entity == "thinsp" ) return QChar( 0x02009 );
1825             if( entity == "ThinSpace" ) return QChar( 0x02009 );
1826             if( entity == "thkap" ) return QChar( 0x02248 );
1827             if( entity == "thksim" ) return QChar( 0x0223C );
1828             if( entity == "THORN" ) return QChar( 0x000DE );
1829             if( entity == "thorn" ) return QChar( 0x000FE );
1830             if( entity == "Tilde" ) return QChar( 0x0223C );
1831             if( entity == "tilde" ) return QChar( 0x002DC );
1832             if( entity == "TildeEqual" ) return QChar( 0x02243 );
1833             if( entity == "TildeFullEqual" ) return QChar( 0x02245 );
1834             if( entity == "TildeTilde" ) return QChar( 0x02248 );
1835             if( entity == "times" ) return QChar( 0x000D7 );
1836             if( entity == "timesb" ) return QChar( 0x022A0 );
1837             if( entity == "timesbar" ) return QChar( 0x02A31 );
1838             if( entity == "timesd" ) return QChar( 0x02A30 );
1839             if( entity == "tint" ) return QChar( 0x0222D );
1840             if( entity == "toea" ) return QChar( 0x02928 );
1841             if( entity == "top" ) return QChar( 0x022A4 );
1842             if( entity == "topbot" ) return QChar( 0x02336 );
1843             if( entity == "topcir" ) return QChar( 0x02AF1 );
1844             if( entity == "Topf" ) return QChar( 0x1D54B );
1845             if( entity == "topf" ) return QChar( 0x1D565 );
1846             if( entity == "topfork" ) return QChar( 0x02ADA );
1847             if( entity == "tosa" ) return QChar( 0x02929 );
1848             if( entity == "tprime" ) return QChar( 0x02034 );
1849             if( entity == "trade" ) return QChar( 0x02122 );
1850             if( entity == "triangle" ) return QChar( 0x025B5 );
1851             if( entity == "triangledown" ) return QChar( 0x025BF );
1852             if( entity == "triangleleft" ) return QChar( 0x025C3 );
1853             if( entity == "trianglelefteq" ) return QChar( 0x022B4 );
1854             if( entity == "triangleq" ) return QChar( 0x0225C );
1855             if( entity == "triangleright" ) return QChar( 0x025B9 );
1856             if( entity == "trianglerighteq" ) return QChar( 0x022B5 );
1857             if( entity == "tridot" ) return QChar( 0x025EC );
1858             if( entity == "trie" ) return QChar( 0x0225C );
1859             if( entity == "triminus" ) return QChar( 0x02A3A );
1860             if( entity == "TripleDot" ) return QChar( 0x020DB );
1861             if( entity == "triplus" ) return QChar( 0x02A39 );
1862             if( entity == "trisb" ) return QChar( 0x029CD );
1863             if( entity == "tritime" ) return QChar( 0x02A3B );
1864             if( entity == "trpezium" ) return QChar( 0x0FFFD );
1865             if( entity == "Tscr" ) return QChar( 0x1D4AF );
1866             if( entity == "tscr" ) return QChar( 0x1D4C9 );
1867             if( entity == "TScy" ) return QChar( 0x00426 );
1868             if( entity == "tscy" ) return QChar( 0x00446 );
1869             if( entity == "TSHcy" ) return QChar( 0x0040B );
1870             if( entity == "tshcy" ) return QChar( 0x0045B );
1871             if( entity == "Tstrok" ) return QChar( 0x00166 );
1872             if( entity == "tstrok" ) return QChar( 0x00167 );
1873             if( entity == "twixt" ) return QChar( 0x0226C );
1874             if( entity == "twoheadleftarrow" ) return QChar( 0x0219E );
1875             if( entity == "twoheadrightarrow" ) return QChar( 0x021A0 );
1876             break;
1877         case 'u':
1878             if( entity == "Uacute" ) return QChar( 0x000DA );
1879             if( entity == "uacute" ) return QChar( 0x000FA );
1880             if( entity == "Uarr" ) return QChar( 0x0219F );
1881             if( entity == "uArr" ) return QChar( 0x021D1 );
1882             if( entity == "uarr" ) return QChar( 0x02191 );
1883             if( entity == "Uarrocir" ) return QChar( 0x02949 );
1884             if( entity == "Ubrcy" ) return QChar( 0x0040E );
1885             if( entity == "ubrcy" ) return QChar( 0x0045E );
1886             if( entity == "Ubreve" ) return QChar( 0x0016C );
1887             if( entity == "ubreve" ) return QChar( 0x0016D );
1888             if( entity == "Ucirc" ) return QChar( 0x000DB );
1889             if( entity == "ucirc" ) return QChar( 0x000FB );
1890             if( entity == "Ucy" ) return QChar( 0x00423 );
1891             if( entity == "ucy" ) return QChar( 0x00443 );
1892             if( entity == "udarr" ) return QChar( 0x021C5 );
1893             if( entity == "Udblac" ) return QChar( 0x00170 );
1894             if( entity == "udblac" ) return QChar( 0x00171 );
1895             if( entity == "udhar" ) return QChar( 0x0296E );
1896             if( entity == "ufisht" ) return QChar( 0x0297E );
1897             if( entity == "Ufr" ) return QChar( 0x1D518 );
1898             if( entity == "ufr" ) return QChar( 0x1D532 );
1899             if( entity == "Ugrave" ) return QChar( 0x000D9 );
1900             if( entity == "ugrave" ) return QChar( 0x000F9 );
1901             if( entity == "uHar" ) return QChar( 0x02963 );
1902             if( entity == "uharl" ) return QChar( 0x021BF );
1903             if( entity == "uharr" ) return QChar( 0x021BE );
1904             if( entity == "uhblk" ) return QChar( 0x02580 );
1905             if( entity == "ulcorn" ) return QChar( 0x0231C );
1906             if( entity == "ulcorner" ) return QChar( 0x0231C );
1907             if( entity == "ulcrop" ) return QChar( 0x0230F );
1908             if( entity == "ultri" ) return QChar( 0x025F8 );
1909             if( entity == "Umacr" ) return QChar( 0x0016A );
1910             if( entity == "umacr" ) return QChar( 0x0016B );
1911             if( entity == "uml" ) return QChar( 0x000A8 );
1912             if( entity == "UnderBar" ) return QChar( 0x00332 );
1913             if( entity == "UnderBrace" ) return QChar( 0x0FE38 );
1914             if( entity == "UnderBracket" ) return QChar( 0x023B5 );
1915             if( entity == "UnderParenthesis" ) return QChar( 0x0FE36 );
1916             if( entity == "Union" ) return QChar( 0x022C3 );
1917             if( entity == "UnionPlus" ) return QChar( 0x0228E );
1918             if( entity == "Uogon" ) return QChar( 0x00172 );
1919             if( entity == "uogon" ) return QChar( 0x00173 );
1920             if( entity == "Uopf" ) return QChar( 0x1D54C );
1921             if( entity == "uopf" ) return QChar( 0x1D566 );
1922             if( entity == "UpArrow" ) return QChar( 0x02191 );
1923             if( entity == "Uparrow" ) return QChar( 0x021D1 );
1924             if( entity == "uparrow" ) return QChar( 0x02191 );
1925             if( entity == "UpArrowBar" ) return QChar( 0x02912 );
1926             if( entity == "UpArrowDownArrow" ) return QChar( 0x021C5 );
1927             if( entity == "UpDownArrow" ) return QChar( 0x02195 );
1928             if( entity == "Updownarrow" ) return QChar( 0x021D5 );
1929             if( entity == "updownarrow" ) return QChar( 0x02195 );
1930             if( entity == "UpEquilibrium" ) return QChar( 0x0296E );
1931             if( entity == "upharpoonleft" ) return QChar( 0x021BF );
1932             if( entity == "upharpoonright" ) return QChar( 0x021BE );
1933             if( entity == "uplus" ) return QChar( 0x0228E );
1934             if( entity == "UpperLeftArrow" ) return QChar( 0x02196 );
1935             if( entity == "UpperRightArrow" ) return QChar( 0x02197 );
1936             if( entity == "Upsi" ) return QChar( 0x003D2 );
1937             if( entity == "upsi" ) return QChar( 0x003C5 );
1938             if( entity == "Upsilon" ) return QChar( 0x003A5 );
1939             if( entity == "upsilon" ) return QChar( 0x003C5 );
1940             if( entity == "UpTee" ) return QChar( 0x022A5 );
1941             if( entity == "UpTeeArrow" ) return QChar( 0x021A5 );
1942             if( entity == "upuparrows" ) return QChar( 0x021C8 );
1943             if( entity == "urcorn" ) return QChar( 0x0231D );
1944             if( entity == "urcorner" ) return QChar( 0x0231D );
1945             if( entity == "urcrop" ) return QChar( 0x0230E );
1946             if( entity == "Uring" ) return QChar( 0x0016E );
1947             if( entity == "uring" ) return QChar( 0x0016F );
1948             if( entity == "urtri" ) return QChar( 0x025F9 );
1949             if( entity == "Uscr" ) return QChar( 0x1D4B0 );
1950             if( entity == "uscr" ) return QChar( 0x1D4CA );
1951             if( entity == "utdot" ) return QChar( 0x022F0 );
1952             if( entity == "Utilde" ) return QChar( 0x00168 );
1953             if( entity == "utilde" ) return QChar( 0x00169 );
1954             if( entity == "utri" ) return QChar( 0x025B5 );
1955             if( entity == "utrif" ) return QChar( 0x025B4 );
1956             if( entity == "uuarr" ) return QChar( 0x021C8 );
1957             if( entity == "Uuml" ) return QChar( 0x000DC );
1958             if( entity == "uuml" ) return QChar( 0x000FC );
1959             if( entity == "uwangle" ) return QChar( 0x029A7 );
1960             break;
1961         case 'v':
1962             if( entity == "vangrt" ) return QChar( 0x0299C );
1963             if( entity == "varepsilon" ) return QChar( 0x003B5 );
1964             if( entity == "varkappa" ) return QChar( 0x003F0 );
1965             if( entity == "varnothing" ) return QChar( 0x02205 );
1966             if( entity == "varphi" ) return QChar( 0x003C6 );
1967             if( entity == "varpi" ) return QChar( 0x003D6 );
1968             if( entity == "varpropto" ) return QChar( 0x0221D );
1969             if( entity == "vArr" ) return QChar( 0x021D5 );
1970             if( entity == "varr" ) return QChar( 0x02195 );
1971             if( entity == "varrho" ) return QChar( 0x003F1 );
1972             if( entity == "varsigma" ) return QChar( 0x003C2 );
1973             if( entity == "vartheta" ) return QChar( 0x003D1 );
1974             if( entity == "vartriangleleft" ) return QChar( 0x022B2 );
1975             if( entity == "vartriangleright" ) return QChar( 0x022B3 );
1976             if( entity == "Vbar" ) return QChar( 0x02AEB );
1977             if( entity == "vBar" ) return QChar( 0x02AE8 );
1978             if( entity == "vBarv" ) return QChar( 0x02AE9 );
1979             if( entity == "Vcy" ) return QChar( 0x00412 );
1980             if( entity == "vcy" ) return QChar( 0x00432 );
1981             if( entity == "VDash" ) return QChar( 0x022AB );
1982             if( entity == "Vdash" ) return QChar( 0x022A9 );
1983             if( entity == "vDash" ) return QChar( 0x022A8 );
1984             if( entity == "vdash" ) return QChar( 0x022A2 );
1985             if( entity == "Vdashl" ) return QChar( 0x02AE6 );
1986             if( entity == "Vee" ) return QChar( 0x022C1 );
1987             if( entity == "vee" ) return QChar( 0x02228 );
1988             if( entity == "veebar" ) return QChar( 0x022BB );
1989             if( entity == "veeeq" ) return QChar( 0x0225A );
1990             if( entity == "vellip" ) return QChar( 0x022EE );
1991             if( entity == "Verbar" ) return QChar( 0x02016 );
1992             if( entity == "verbar" ) return QChar( 0x0007C );
1993             if( entity == "Vert" ) return QChar( 0x02016 );
1994             if( entity == "vert" ) return QChar( 0x0007C );
1995             if( entity == "VerticalBar" ) return QChar( 0x02223 );
1996             if( entity == "VerticalLine" ) return QChar( 0x0007C );
1997             if( entity == "VerticalSeparator" ) return QChar( 0x02758 );
1998             if( entity == "VerticalTilde" ) return QChar( 0x02240 );
1999             if( entity == "VeryThinSpace" ) return QChar( 0x0200A );
2000             if( entity == "Vfr" ) return QChar( 0x1D519 );
2001             if( entity == "vfr" ) return QChar( 0x1D533 );
2002             if( entity == "vltri" ) return QChar( 0x022B2 );
2003             if( entity == "Vopf" ) return QChar( 0x1D54D );
2004             if( entity == "vopf" ) return QChar( 0x1D567 );
2005             if( entity == "vprop" ) return QChar( 0x0221D );
2006             if( entity == "vrtri" ) return QChar( 0x022B3 );
2007             if( entity == "Vscr" ) return QChar( 0x1D4B1 );
2008             if( entity == "vscr" ) return QChar( 0x1D4CB );
2009             if( entity == "Vvdash" ) return QChar( 0x022AA );
2010             if( entity == "vzigzag" ) return QChar( 0x0299A );
2011             break;
2012         case 'w':
2013             if( entity == "Wcirc" ) return QChar( 0x00174 );
2014             if( entity == "wcirc" ) return QChar( 0x00175 );
2015             if( entity == "wedbar" ) return QChar( 0x02A5F );
2016             if( entity == "Wedge" ) return QChar( 0x022C0 );
2017             if( entity == "wedge" ) return QChar( 0x02227 );
2018             if( entity == "wedgeq" ) return QChar( 0x02259 );
2019             if( entity == "weierp" ) return QChar( 0x02118 );
2020             if( entity == "Wfr" ) return QChar( 0x1D51A );
2021             if( entity == "wfr" ) return QChar( 0x1D534 );
2022             if( entity == "Wopf" ) return QChar( 0x1D54E );
2023             if( entity == "wopf" ) return QChar( 0x1D568 );
2024             if( entity == "wp" ) return QChar( 0x02118 );
2025             if( entity == "wr" ) return QChar( 0x02240 );
2026             if( entity == "wreath" ) return QChar( 0x02240 );
2027             if( entity == "Wscr" ) return QChar( 0x1D4B2 );
2028             if( entity == "wscr" ) return QChar( 0x1D4CC );
2029             break;
2030         case 'x':
2031             if( entity == "xcap" ) return QChar( 0x022C2 );
2032             if( entity == "xcirc" ) return QChar( 0x025EF );
2033             if( entity == "xcup" ) return QChar( 0x022C3 );
2034             if( entity == "xdtri" ) return QChar( 0x025BD );
2035             if( entity == "Xfr" ) return QChar( 0x1D51B );
2036             if( entity == "xfr" ) return QChar( 0x1D535 );
2037             if( entity == "xhArr" ) return QChar( 0x027FA );
2038             if( entity == "xharr" ) return QChar( 0x027F7 );
2039             if( entity == "Xi" ) return QChar( 0x0039E );
2040             if( entity == "xi" ) return QChar( 0x003BE );
2041             if( entity == "xlArr" ) return QChar( 0x027F8 );
2042             if( entity == "xlarr" ) return QChar( 0x027F5 );
2043             if( entity == "xmap" ) return QChar( 0x027FC );
2044             if( entity == "xnis" ) return QChar( 0x022FB );
2045             if( entity == "xodot" ) return QChar( 0x02A00 );
2046             if( entity == "Xopf" ) return QChar( 0x1D54F );
2047             if( entity == "xopf" ) return QChar( 0x1D569 );
2048             if( entity == "xoplus" ) return QChar( 0x02A01 );
2049             if( entity == "xotime" ) return QChar( 0x02A02 );
2050             if( entity == "xrArr" ) return QChar( 0x027F9 );
2051             if( entity == "xrarr" ) return QChar( 0x027F6 );
2052             if( entity == "Xscr" ) return QChar( 0x1D4B3 );
2053             if( entity == "xscr" ) return QChar( 0x1D4CD );
2054             if( entity == "xsqcup" ) return QChar( 0x02A06 );
2055             if( entity == "xuplus" ) return QChar( 0x02A04 );
2056             if( entity == "xutri" ) return QChar( 0x025B3 );
2057             if( entity == "xvee" ) return QChar( 0x022C1 );
2058             if( entity == "xwedge" ) return QChar( 0x022C0 );
2059             break;
2060         case 'y':
2061             if( entity == "Yacute" ) return QChar( 0x000DD );
2062             if( entity == "yacute" ) return QChar( 0x000FD );
2063             if( entity == "YAcy" ) return QChar( 0x0042F );
2064             if( entity == "yacy" ) return QChar( 0x0044F );
2065             if( entity == "Ycirc" ) return QChar( 0x00176 );
2066             if( entity == "ycirc" ) return QChar( 0x00177 );
2067             if( entity == "Ycy" ) return QChar( 0x0042B );
2068             if( entity == "ycy" ) return QChar( 0x0044B );
2069             if( entity == "yen" ) return QChar( 0x000A5 );
2070             if( entity == "Yfr" ) return QChar( 0x1D51C );
2071             if( entity == "yfr" ) return QChar( 0x1D536 );
2072             if( entity == "YIcy" ) return QChar( 0x00407 );
2073             if( entity == "yicy" ) return QChar( 0x00457 );
2074             if( entity == "Yopf" ) return QChar( 0x1D550 );
2075             if( entity == "yopf" ) return QChar( 0x1D56A );
2076             if( entity == "Yscr" ) return QChar( 0x1D4B4 );
2077             if( entity == "yscr" ) return QChar( 0x1D4CE );
2078             if( entity == "YUcy" ) return QChar( 0x0042E );
2079             if( entity == "yucy" ) return QChar( 0x0044E );
2080             if( entity == "Yuml" ) return QChar( 0x00178 );
2081             if( entity == "yuml" ) return QChar( 0x000FF );
2082             break;
2083         case 'z':
2084             if( entity == "Zacute" ) return QChar( 0x00179 );
2085             if( entity == "zacute" ) return QChar( 0x0017A );
2086             if( entity == "Zcaron" ) return QChar( 0x0017D );
2087             if( entity == "zcaron" ) return QChar( 0x0017E );
2088             if( entity == "Zcy" ) return QChar( 0x00417 );
2089             if( entity == "zcy" ) return QChar( 0x00437 );
2090             if( entity == "Zdot" ) return QChar( 0x0017B );
2091             if( entity == "zdot" ) return QChar( 0x0017C );
2092             if( entity == "zeetrf" ) return QChar( 0x02128 );
2093             if( entity == "ZeroWidthSpace" ) return QChar( 0x0200B );
2094             if( entity == "zeta" ) return QChar( 0x003B6 );
2095             if( entity == "Zfr" ) return QChar( 0x02128 );
2096             if( entity == "zfr" ) return QChar( 0x1D537 );
2097             if( entity == "ZHcy" ) return QChar( 0x00416 );
2098             if( entity == "zhcy" ) return QChar( 0x00436 );
2099             if( entity == "zigrarr" ) return QChar( 0x021DD );
2100             if( entity == "Zopf" ) return QChar( 0x02124 );
2101             if( entity == "zopf" ) return QChar( 0x1D56B );
2102             if( entity == "Zscr" ) return QChar( 0x1D4B5 );
2103             if( entity == "zscr" ) return QChar( 0x1D4CF );
2104             break;
2105         default:
2106             break;
2107     }
2108     return QChar();
2109 }
2110 
2111 bool Dictionary::queryOperator( const QString& queriedOperator, Form form )
2112 {
2113     if( queriedOperator.isEmpty() || queriedOperator.isNull() )
2114         return false;
2115     if( queriedOperator == "(" && form == Prefix ) {
2116         m_fence = true;
2117         m_stretchy = true;
2118         m_lspace = "0em";
2119         m_rspace = "0em";
2120         return true;
2121     }
2122     if( queriedOperator == ")" && form == Postfix ) {
2123         m_fence = true;
2124         m_stretchy = true;
2125         m_lspace = "0em";
2126         m_rspace = "0em";
2127         return true;
2128     }
2129     if( queriedOperator == "[" && form == Prefix ) {
2130         m_fence = true;
2131         m_stretchy = true;
2132         m_lspace = "0em";
2133         m_rspace = "0em";
2134         return true;
2135     }
2136     if( queriedOperator == "]" && form == Postfix ) {
2137         m_fence = true;
2138         m_stretchy = true;
2139         m_lspace = "0em";
2140         m_rspace = "0em";
2141         return true;
2142     }
2143     if( queriedOperator == "{" && form == Prefix ) {
2144         m_fence = true;
2145         m_stretchy = true;
2146         m_lspace = "0em";
2147         m_rspace = "0em";
2148         return true;
2149     }
2150     if( queriedOperator == "}" && form == Postfix ) {
2151         m_fence = true;
2152         m_stretchy = true;
2153         m_lspace = "0em";
2154         m_rspace = "0em";
2155         return true;
2156     }
2157     if( queriedOperator == "&CloseCurlyDoubleQuote;" && form == Postfix ) {
2158         m_fence = true;
2159         m_lspace = "0em";
2160         m_rspace = "0em";
2161         return true;
2162     }
2163     if( queriedOperator == "&CloseCurlyQuote;" && form == Postfix ) {
2164         m_fence = true;
2165         m_lspace = "0em";
2166         m_rspace = "0em";
2167         return true;
2168     }
2169     if( queriedOperator == "&LeftAngleBracket;" && form == Prefix ) {
2170         m_fence = true;
2171         m_stretchy = true;
2172         m_lspace = "0em";
2173         m_rspace = "0em";
2174         return true;
2175     }
2176     if( queriedOperator == "&LeftCeiling;" && form == Prefix ) {
2177         m_fence = true;
2178         m_stretchy = true;
2179         m_lspace = "0em";
2180         m_rspace = "0em";
2181         return true;
2182     }
2183     if( queriedOperator == "&LeftDoubleBracket;" && form == Prefix ) {
2184         m_fence = true;
2185         m_stretchy = true;
2186         m_lspace = "0em";
2187         m_rspace = "0em";
2188         return true;
2189     }
2190     if( queriedOperator == "&LeftFloor;" && form == Prefix ) {
2191         m_fence = true;
2192         m_stretchy = true;
2193         m_lspace = "0em";
2194         m_rspace = "0em";
2195         return true;
2196     }
2197     if( queriedOperator == "&OpenCurlyDoubleQuote;" && form == Prefix ) {
2198         m_fence = true;
2199         m_lspace = "0em";
2200         m_rspace = "0em";
2201         return true;
2202     }
2203     if( queriedOperator == "&OpenCurlyQuote;" && form == Prefix ) {
2204         m_fence = true;
2205         m_lspace = "0em";
2206         m_rspace = "0em";
2207         return true;
2208     }
2209     if( queriedOperator == "&RightAngleBracket;" && form == Postfix ) {
2210         m_fence = true;
2211         m_stretchy = true;
2212         m_lspace = "0em";
2213         m_rspace = "0em";
2214         return true;
2215     }
2216     if( queriedOperator == "&RightCeiling;" && form == Postfix ) {
2217         m_fence = true;
2218         m_stretchy = true;
2219         m_lspace = "0em";
2220         m_rspace = "0em";
2221         return true;
2222     }
2223     if( queriedOperator == "&RightDoubleBracket;" && form == Postfix ) {
2224         m_fence = true;
2225         m_stretchy = true;
2226         m_lspace = "0em";
2227         m_rspace = "0em";
2228         return true;
2229     }
2230     if( queriedOperator == "&RightFloor;" && form == Postfix ) {
2231         m_fence = true;
2232         m_stretchy = true;
2233         m_lspace = "0em";
2234         m_rspace = "0em";
2235         return true;
2236     }
2237     if( queriedOperator == "&InvisibleComma;" && form == Infix ) {
2238         m_separator = true;
2239         m_lspace = "0em";
2240         m_rspace = "0em";
2241         return true;
2242     }
2243     if( queriedOperator == "," && form == Infix ) {
2244         m_separator = true;
2245         m_lspace = "0em";
2246         m_rspace = "verythickmathspace";
2247         return true;
2248     }
2249     if( queriedOperator == "&HorizontalLine;" && form == Infix ) {
2250         m_stretchy = true;
2251         m_minsize = "0";
2252         m_lspace = "0em";
2253         m_rspace = "0em";
2254         return true;
2255     }
2256     if( queriedOperator == "&VerticalLine;" && form == Infix ) {
2257         m_stretchy = true;
2258         m_minsize = "0";
2259         m_lspace = "0em";
2260         m_rspace = "0em";
2261         return true;
2262     }
2263     if( queriedOperator == ";" && form == Infix ) {
2264         m_separator = true;
2265         m_lspace = "0em";
2266         m_rspace = "thickmathspace";
2267         return true;
2268     }
2269     if( queriedOperator == ";" && form == Postfix ) {
2270         m_separator = true;
2271         m_lspace = "0em";
2272         m_rspace = "0em";
2273         return true;
2274     }
2275     if( queriedOperator == ":=" && form == Infix ) {
2276         m_lspace = "thickmathspace";
2277         m_rspace = "thickmathspace";
2278         return true;
2279     }
2280     if( queriedOperator == "&Assign;" && form == Infix ) {
2281         m_lspace = "thickmathspace";
2282         m_rspace = "thickmathspace";
2283         return true;
2284     }
2285     if( queriedOperator == "&Because;" && form == Infix ) {
2286         m_lspace = "thickmathspace";
2287         m_rspace = "thickmathspace";
2288         return true;
2289     }
2290     if( queriedOperator == "&Therefore;" && form == Infix ) {
2291         m_lspace = "thickmathspace";
2292         m_rspace = "thickmathspace";
2293         return true;
2294     }
2295     if( queriedOperator == "&VerticalSeparator;" && form == Infix ) {
2296         m_stretchy = true;
2297         m_lspace = "thickmathspace";
2298         m_rspace = "thickmathspace";
2299         return true;
2300     }
2301     if( queriedOperator == "//" && form == Infix ) {
2302         m_lspace = "thickmathspace";
2303         m_rspace = "thickmathspace";
2304         return true;
2305     }
2306     if( queriedOperator == "&Colon;" && form == Infix ) {
2307         m_lspace = "thickmathspace";
2308         m_rspace = "thickmathspace";
2309         return true;
2310     }
2311     if( queriedOperator == "&amp;" && form == Prefix ) {
2312         m_lspace = "0em";
2313         m_rspace = "thickmathspace";
2314         return true;
2315     }
2316     if( queriedOperator == "&amp;" && form == Postfix ) {
2317         m_lspace = "thickmathspace";
2318         m_rspace = "0em";
2319         return true;
2320     }
2321     if( queriedOperator == "*=" && form == Infix ) {
2322         m_lspace = "thickmathspace";
2323         m_rspace = "thickmathspace";
2324         return true;
2325     }
2326     if( queriedOperator == "-=" && form == Infix ) {
2327         m_lspace = "thickmathspace";
2328         m_rspace = "thickmathspace";
2329         return true;
2330     }
2331     if( queriedOperator == "+=" && form == Infix ) {
2332         m_lspace = "thickmathspace";
2333         m_rspace = "thickmathspace";
2334         return true;
2335     }
2336     if( queriedOperator == "/=" && form == Infix ) {
2337         m_lspace = "thickmathspace";
2338         m_rspace = "thickmathspace";
2339         return true;
2340     }
2341     if( queriedOperator == "->" && form == Infix ) {
2342         m_lspace = "thickmathspace";
2343         m_rspace = "thickmathspace";
2344         return true;
2345     }
2346     if( queriedOperator == ":" && form == Infix ) {
2347         m_lspace = "thickmathspace";
2348         m_rspace = "thickmathspace";
2349         return true;
2350     }
2351     if( queriedOperator == ".." && form == Postfix ) {
2352         m_lspace = "mediummathspace";
2353         m_rspace = "0em";
2354         return true;
2355     }
2356     if( queriedOperator == "..." && form == Postfix ) {
2357         m_lspace = "mediummathspace";
2358         m_rspace = "0em";
2359         return true;
2360     }
2361     if( queriedOperator == "&SuchThat;" && form == Infix ) {
2362         m_lspace = "thickmathspace";
2363         m_rspace = "thickmathspace";
2364         return true;
2365     }
2366     if( queriedOperator == "&DoubleLeftTee;" && form == Infix ) {
2367         m_lspace = "thickmathspace";
2368         m_rspace = "thickmathspace";
2369         return true;
2370     }
2371     if( queriedOperator == "&DoubleRightTee;" && form == Infix ) {
2372         m_lspace = "thickmathspace";
2373         m_rspace = "thickmathspace";
2374         return true;
2375     }
2376     if( queriedOperator == "&DownTee;" && form == Infix ) {
2377         m_lspace = "thickmathspace";
2378         m_rspace = "thickmathspace";
2379         return true;
2380     }
2381     if( queriedOperator == "&LeftTee;" && form == Infix ) {
2382         m_lspace = "thickmathspace";
2383         m_rspace = "thickmathspace";
2384         return true;
2385     }
2386     if( queriedOperator == "&RightTee;" && form == Infix ) {
2387         m_lspace = "thickmathspace";
2388         m_rspace = "thickmathspace";
2389         return true;
2390     }
2391     if( queriedOperator == "&Implies;" && form == Infix ) {
2392         m_stretchy = true;
2393         m_lspace = "thickmathspace";
2394         m_rspace = "thickmathspace";
2395         return true;
2396     }
2397     if( queriedOperator == "&RoundImplies;" && form == Infix ) {
2398         m_lspace = "thickmathspace";
2399         m_rspace = "thickmathspace";
2400         return true;
2401     }
2402     if( queriedOperator == "|" && form == Infix ) {
2403         m_stretchy = true;
2404         m_lspace = "thickmathspace";
2405         m_rspace = "thickmathspace";
2406         return true;
2407     }
2408     if( queriedOperator == "||" && form == Infix ) {
2409         m_lspace = "mediummathspace";
2410         m_rspace = "mediummathspace";
2411         return true;
2412     }
2413     if( queriedOperator == "&Or;" && form == Infix ) {
2414         m_stretchy = true;
2415         m_lspace = "mediummathspace";
2416         m_rspace = "mediummathspace";
2417         return true;
2418     }
2419     if( queriedOperator == "&amp;&amp;" && form == Infix ) {
2420         m_lspace = "thickmathspace";
2421         m_rspace = "thickmathspace";
2422         return true;
2423     }
2424     if( queriedOperator == "&And;" && form == Infix ) {
2425         m_stretchy = true;
2426         m_lspace = "mediummathspace";
2427         m_rspace = "mediummathspace";
2428         return true;
2429     }
2430     if( queriedOperator == "&amp;" && form == Infix ) {
2431         m_lspace = "thickmathspace";
2432         m_rspace = "thickmathspace";
2433         return true;
2434     }
2435     if( queriedOperator == "!" && form == Prefix ) {
2436         m_lspace = "0em";
2437         m_rspace = "thickmathspace";
2438         return true;
2439     }
2440     if( queriedOperator == "&Not;" && form == Prefix ) {
2441         m_lspace = "0em";
2442         m_rspace = "thickmathspace";
2443         return true;
2444     }
2445     if( queriedOperator == "&Exists;" && form == Prefix ) {
2446         m_lspace = "0em";
2447         m_rspace = "thickmathspace";
2448         return true;
2449     }
2450     if( queriedOperator == "&ForAll;" && form == Prefix ) {
2451         m_lspace = "0em";
2452         m_rspace = "thickmathspace";
2453         return true;
2454     }
2455     if( queriedOperator == "&NotExists;" && form == Prefix ) {
2456         m_lspace = "0em";
2457         m_rspace = "thickmathspace";
2458         return true;
2459     }
2460     if( queriedOperator == "&Element;" && form == Infix ) {
2461         m_lspace = "thickmathspace";
2462         m_rspace = "thickmathspace";
2463         return true;
2464     }
2465     if( queriedOperator == "&NotElement;" && form == Infix ) {
2466         m_lspace = "thickmathspace";
2467         m_rspace = "thickmathspace";
2468         return true;
2469     }
2470     if( queriedOperator == "&NotReverseElement;" && form == Infix ) {
2471         m_lspace = "thickmathspace";
2472         m_rspace = "thickmathspace";
2473         return true;
2474     }
2475     if( queriedOperator == "&NotSquareSubset;" && form == Infix ) {
2476         m_lspace = "thickmathspace";
2477         m_rspace = "thickmathspace";
2478         return true;
2479     }
2480     if( queriedOperator == "&NotSquareSubsetEqual;" && form == Infix ) {
2481         m_lspace = "thickmathspace";
2482         m_rspace = "thickmathspace";
2483         return true;
2484     }
2485     if( queriedOperator == "&NotSquareSuperset;" && form == Infix ) {
2486         m_lspace = "thickmathspace";
2487         m_rspace = "thickmathspace";
2488         return true;
2489     }
2490     if( queriedOperator == "&NotSquareSupersetEqual;" && form == Infix ) {
2491         m_lspace = "thickmathspace";
2492         m_rspace = "thickmathspace";
2493         return true;
2494     }
2495     if( queriedOperator == "&NotSubset;" && form == Infix ) {
2496         m_lspace = "thickmathspace";
2497         m_rspace = "thickmathspace";
2498         return true;
2499     }
2500     if( queriedOperator == "&NotSubsetEqual;" && form == Infix ) {
2501         m_lspace = "thickmathspace";
2502         m_rspace = "thickmathspace";
2503         return true;
2504     }
2505     if( queriedOperator == "&NotSuperset;" && form == Infix ) {
2506         m_lspace = "thickmathspace";
2507         m_rspace = "thickmathspace";
2508         return true;
2509     }
2510     if( queriedOperator == "&NotSupersetEqual;" && form == Infix ) {
2511         m_lspace = "thickmathspace";
2512         m_rspace = "thickmathspace";
2513         return true;
2514     }
2515     if( queriedOperator == "&ReverseElement;" && form == Infix ) {
2516         m_lspace = "thickmathspace";
2517         m_rspace = "thickmathspace";
2518         return true;
2519     }
2520     if( queriedOperator == "&SquareSubset;" && form == Infix ) {
2521         m_lspace = "thickmathspace";
2522         m_rspace = "thickmathspace";
2523         return true;
2524     }
2525     if( queriedOperator == "&SquareSubsetEqual;" && form == Infix ) {
2526         m_lspace = "thickmathspace";
2527         m_rspace = "thickmathspace";
2528         return true;
2529     }
2530     if( queriedOperator == "&SquareSuperset;" && form == Infix ) {
2531         m_lspace = "thickmathspace";
2532         m_rspace = "thickmathspace";
2533         return true;
2534     }
2535     if( queriedOperator == "&SquareSupersetEqual;" && form == Infix ) {
2536         m_lspace = "thickmathspace";
2537         m_rspace = "thickmathspace";
2538         return true;
2539     }
2540     if( queriedOperator == "&Subset;" && form == Infix ) {
2541         m_lspace = "thickmathspace";
2542         m_rspace = "thickmathspace";
2543         return true;
2544     }
2545     if( queriedOperator == "&SubsetEqual;" && form == Infix ) {
2546         m_lspace = "thickmathspace";
2547         m_rspace = "thickmathspace";
2548         return true;
2549     }
2550     if( queriedOperator == "&Superset;" && form == Infix ) {
2551         m_lspace = "thickmathspace";
2552         m_rspace = "thickmathspace";
2553         return true;
2554     }
2555     if( queriedOperator == "&SupersetEqual;" && form == Infix ) {
2556         m_lspace = "thickmathspace";
2557         m_rspace = "thickmathspace";
2558         return true;
2559     }
2560     if( queriedOperator == "&DoubleLeftArrow;" && form == Infix ) {
2561         m_stretchy = true;
2562         m_lspace = "thickmathspace";
2563         m_rspace = "thickmathspace";
2564         return true;
2565     }
2566     if( queriedOperator == "&DoubleLeftRightArrow;" && form == Infix ) {
2567         m_stretchy = true;
2568         m_lspace = "thickmathspace";
2569         m_rspace = "thickmathspace";
2570         return true;
2571     }
2572     if( queriedOperator == "&DoubleRightArrow;" && form == Infix ) {
2573         m_stretchy = true;
2574         m_lspace = "thickmathspace";
2575         m_rspace = "thickmathspace";
2576         return true;
2577     }
2578     if( queriedOperator == "&DownLeftRightVector;" && form == Infix ) {
2579         m_stretchy = true;
2580         m_lspace = "thickmathspace";
2581         m_rspace = "thickmathspace";
2582         return true;
2583     }
2584     if( queriedOperator == "&DownLeftTeeVector;" && form == Infix ) {
2585         m_stretchy = true;
2586         m_lspace = "thickmathspace";
2587         m_rspace = "thickmathspace";
2588         return true;
2589     }
2590     if( queriedOperator == "&DownLeftVector;" && form == Infix ) {
2591         m_stretchy = true;
2592         m_lspace = "thickmathspace";
2593         m_rspace = "thickmathspace";
2594         return true;
2595     }
2596     if( queriedOperator == "&DownLeftVectorBar;" && form == Infix ) {
2597         m_stretchy = true;
2598         m_lspace = "thickmathspace";
2599         m_rspace = "thickmathspace";
2600         return true;
2601     }
2602     if( queriedOperator == "&DownRightTeeVector;" && form == Infix ) {
2603         m_stretchy = true;
2604         m_lspace = "thickmathspace";
2605         m_rspace = "thickmathspace";
2606         return true;
2607     }
2608     if( queriedOperator == "&DownRightVector;" && form == Infix ) {
2609         m_stretchy = true;
2610         m_lspace = "thickmathspace";
2611         m_rspace = "thickmathspace";
2612         return true;
2613     }
2614     if( queriedOperator == "&DownRightVectorBar;" && form == Infix ) {
2615         m_stretchy = true;
2616         m_lspace = "thickmathspace";
2617         m_rspace = "thickmathspace";
2618         return true;
2619     }
2620     if( queriedOperator == "&LeftArrow;" && form == Infix ) {
2621         m_stretchy = true;
2622         m_lspace = "thickmathspace";
2623         m_rspace = "thickmathspace";
2624         return true;
2625     }
2626     if( queriedOperator == "&LeftArrowBar;" && form == Infix ) {
2627         m_stretchy = true;
2628         m_lspace = "thickmathspace";
2629         m_rspace = "thickmathspace";
2630         return true;
2631     }
2632     if( queriedOperator == "&LeftArrowRightArrow;" && form == Infix ) {
2633         m_stretchy = true;
2634         m_lspace = "thickmathspace";
2635         m_rspace = "thickmathspace";
2636         return true;
2637     }
2638     if( queriedOperator == "&LeftRightArrow;" && form == Infix ) {
2639         m_stretchy = true;
2640         m_lspace = "thickmathspace";
2641         m_rspace = "thickmathspace";
2642         return true;
2643     }
2644     if( queriedOperator == "&LeftRightVector;" && form == Infix ) {
2645         m_stretchy = true;
2646         m_lspace = "thickmathspace";
2647         m_rspace = "thickmathspace";
2648         return true;
2649     }
2650     if( queriedOperator == "&LeftTeeArrow;" && form == Infix ) {
2651         m_stretchy = true;
2652         m_lspace = "thickmathspace";
2653         m_rspace = "thickmathspace";
2654         return true;
2655     }
2656     if( queriedOperator == "&LeftTeeVector;" && form == Infix ) {
2657         m_stretchy = true;
2658         m_lspace = "thickmathspace";
2659         m_rspace = "thickmathspace";
2660         return true;
2661     }
2662     if( queriedOperator == "&LeftVector;" && form == Infix ) {
2663         m_stretchy = true;
2664         m_lspace = "thickmathspace";
2665         m_rspace = "thickmathspace";
2666         return true;
2667     }
2668     if( queriedOperator == "&LeftVectorBar;" && form == Infix ) {
2669         m_stretchy = true;
2670         m_lspace = "thickmathspace";
2671         m_rspace = "thickmathspace";
2672         return true;
2673     }
2674     if( queriedOperator == "&LowerLeftArrow;" && form == Infix ) {
2675         m_stretchy = true;
2676         m_lspace = "thickmathspace";
2677         m_rspace = "thickmathspace";
2678         return true;
2679     }
2680     if( queriedOperator == "&LowerRightArrow;" && form == Infix ) {
2681         m_stretchy = true;
2682         m_lspace = "thickmathspace";
2683         m_rspace = "thickmathspace";
2684         return true;
2685     }
2686     if( queriedOperator == "&RightArrow;" && form == Infix ) {
2687         m_stretchy = true;
2688         m_lspace = "thickmathspace";
2689         m_rspace = "thickmathspace";
2690         return true;
2691     }
2692     if( queriedOperator == "&RightArrowBar;" && form == Infix ) {
2693         m_stretchy = true;
2694         m_lspace = "thickmathspace";
2695         m_rspace = "thickmathspace";
2696         return true;
2697     }
2698     if( queriedOperator == "&RightArrowLeftArrow;" && form == Infix ) {
2699         m_stretchy = true;
2700         m_lspace = "thickmathspace";
2701         m_rspace = "thickmathspace";
2702         return true;
2703     }
2704     if( queriedOperator == "&RightTeeArrow;" && form == Infix ) {
2705         m_stretchy = true;
2706         m_lspace = "thickmathspace";
2707         m_rspace = "thickmathspace";
2708         return true;
2709     }
2710     if( queriedOperator == "&RightTeeVector;" && form == Infix ) {
2711         m_stretchy = true;
2712         m_lspace = "thickmathspace";
2713         m_rspace = "thickmathspace";
2714         return true;
2715     }
2716     if( queriedOperator == "&RightVector;" && form == Infix ) {
2717         m_stretchy = true;
2718         m_lspace = "thickmathspace";
2719         m_rspace = "thickmathspace";
2720         return true;
2721     }
2722     if( queriedOperator == "&RightVectorBar;" && form == Infix ) {
2723         m_stretchy = true;
2724         m_lspace = "thickmathspace";
2725         m_rspace = "thickmathspace";
2726         return true;
2727     }
2728     if( queriedOperator == "&ShortLeftArrow;" && form == Infix ) {
2729         m_lspace = "thickmathspace";
2730         m_rspace = "thickmathspace";
2731         return true;
2732     }
2733     if( queriedOperator == "&ShortRightArrow;" && form == Infix ) {
2734         m_lspace = "thickmathspace";
2735         m_rspace = "thickmathspace";
2736         return true;
2737     }
2738     if( queriedOperator == "&UpperLeftArrow;" && form == Infix ) {
2739         m_stretchy = true;
2740         m_lspace = "thickmathspace";
2741         m_rspace = "thickmathspace";
2742         return true;
2743     }
2744     if( queriedOperator == "&UpperRightArrow;" && form == Infix ) {
2745         m_stretchy = true;
2746         m_lspace = "thickmathspace";
2747         m_rspace = "thickmathspace";
2748         return true;
2749     }
2750     if( queriedOperator == "=" && form == Infix ) {
2751         m_lspace = "thickmathspace";
2752         m_rspace = "thickmathspace";
2753         return true;
2754     }
2755     if( queriedOperator == "&lt;" && form == Infix ) {
2756         m_lspace = "thickmathspace";
2757         m_rspace = "thickmathspace";
2758         return true;
2759     }
2760     if( queriedOperator == ">" && form == Infix ) {
2761         m_lspace = "thickmathspace";
2762         m_rspace = "thickmathspace";
2763         return true;
2764     }
2765     if( queriedOperator == "!=" && form == Infix ) {
2766         m_lspace = "thickmathspace";
2767         m_rspace = "thickmathspace";
2768         return true;
2769     }
2770     if( queriedOperator == "==" && form == Infix ) {
2771         m_lspace = "thickmathspace";
2772         m_rspace = "thickmathspace";
2773         return true;
2774     }
2775     if( queriedOperator == "&lt;=" && form == Infix ) {
2776         m_lspace = "thickmathspace";
2777         m_rspace = "thickmathspace";
2778         return true;
2779     }
2780     if( queriedOperator == ">=" && form == Infix ) {
2781         m_lspace = "thickmathspace";
2782         m_rspace = "thickmathspace";
2783         return true;
2784     }
2785     if( queriedOperator == "&Congruent;" && form == Infix ) {
2786         m_lspace = "thickmathspace";
2787         m_rspace = "thickmathspace";
2788         return true;
2789     }
2790     if( queriedOperator == "&CupCap;" && form == Infix ) {
2791         m_lspace = "thickmathspace";
2792         m_rspace = "thickmathspace";
2793         return true;
2794     }
2795     if( queriedOperator == "&DotEqual;" && form == Infix ) {
2796         m_lspace = "thickmathspace";
2797         m_rspace = "thickmathspace";
2798         return true;
2799     }
2800     if( queriedOperator == "&DoubleVerticalBar;" && form == Infix ) {
2801         m_lspace = "thickmathspace";
2802         m_rspace = "thickmathspace";
2803         return true;
2804     }
2805     if( queriedOperator == "&Equal;" && form == Infix ) {
2806         m_lspace = "thickmathspace";
2807         m_rspace = "thickmathspace";
2808         return true;
2809     }
2810     if( queriedOperator == "&EqualTilde;" && form == Infix ) {
2811         m_lspace = "thickmathspace";
2812         m_rspace = "thickmathspace";
2813         return true;
2814     }
2815     if( queriedOperator == "&Equilibrium;" && form == Infix ) {
2816         m_stretchy = true;
2817         m_lspace = "thickmathspace";
2818         m_rspace = "thickmathspace";
2819         return true;
2820     }
2821     if( queriedOperator == "&GreaterEqual;" && form == Infix ) {
2822         m_lspace = "thickmathspace";
2823         m_rspace = "thickmathspace";
2824         return true;
2825     }
2826     if( queriedOperator == "&GreaterEqualLess;" && form == Infix ) {
2827         m_lspace = "thickmathspace";
2828         m_rspace = "thickmathspace";
2829         return true;
2830     }
2831     if( queriedOperator == "&GreaterFullEqual;" && form == Infix ) {
2832         m_lspace = "thickmathspace";
2833         m_rspace = "thickmathspace";
2834         return true;
2835     }
2836     if( queriedOperator == "&GreaterGreater;" && form == Infix ) {
2837         m_lspace = "thickmathspace";
2838         m_rspace = "thickmathspace";
2839         return true;
2840     }
2841     if( queriedOperator == "&GreaterLess;" && form == Infix ) {
2842         m_lspace = "thickmathspace";
2843         m_rspace = "thickmathspace";
2844         return true;
2845     }
2846     if( queriedOperator == "&GreaterSlantEqual;" && form == Infix ) {
2847         m_lspace = "thickmathspace";
2848         m_rspace = "thickmathspace";
2849         return true;
2850     }
2851     if( queriedOperator == "&GreaterTilde;" && form == Infix ) {
2852         m_lspace = "thickmathspace";
2853         m_rspace = "thickmathspace";
2854         return true;
2855     }
2856     if( queriedOperator == "&HumpDownHump;" && form == Infix ) {
2857         m_lspace = "thickmathspace";
2858         m_rspace = "thickmathspace";
2859         return true;
2860     }
2861     if( queriedOperator == "&HumpEqual;" && form == Infix ) {
2862         m_lspace = "thickmathspace";
2863         m_rspace = "thickmathspace";
2864         return true;
2865     }
2866     if( queriedOperator == "&LeftTriangle;" && form == Infix ) {
2867         m_lspace = "thickmathspace";
2868         m_rspace = "thickmathspace";
2869         return true;
2870     }
2871     if( queriedOperator == "&LeftTriangleBar;" && form == Infix ) {
2872         m_lspace = "thickmathspace";
2873         m_rspace = "thickmathspace";
2874         return true;
2875     }
2876     if( queriedOperator == "&LeftTriangleEqual;" && form == Infix ) {
2877         m_lspace = "thickmathspace";
2878         m_rspace = "thickmathspace";
2879         return true;
2880     }
2881     if( queriedOperator == "&le;" && form == Infix ) {
2882         m_lspace = "thickmathspace";
2883         m_rspace = "thickmathspace";
2884         return true;
2885     }
2886     if( queriedOperator == "&LessEqualGreater;" && form == Infix ) {
2887         m_lspace = "thickmathspace";
2888         m_rspace = "thickmathspace";
2889         return true;
2890     }
2891     if( queriedOperator == "&LessFullEqual;" && form == Infix ) {
2892         m_lspace = "thickmathspace";
2893         m_rspace = "thickmathspace";
2894         return true;
2895     }
2896     if( queriedOperator == "&LessGreater;" && form == Infix ) {
2897         m_lspace = "thickmathspace";
2898         m_rspace = "thickmathspace";
2899         return true;
2900     }
2901     if( queriedOperator == "&LessLess;" && form == Infix ) {
2902         m_lspace = "thickmathspace";
2903         m_rspace = "thickmathspace";
2904         return true;
2905     }
2906     if( queriedOperator == "&LessSlantEqual;" && form == Infix ) {
2907         m_lspace = "thickmathspace";
2908         m_rspace = "thickmathspace";
2909         return true;
2910     }
2911     if( queriedOperator == "&LessTilde;" && form == Infix ) {
2912         m_lspace = "thickmathspace";
2913         m_rspace = "thickmathspace";
2914         return true;
2915     }
2916     if( queriedOperator == "&NestedGreaterGreater;" && form == Infix ) {
2917         m_lspace = "thickmathspace";
2918         m_rspace = "thickmathspace";
2919         return true;
2920     }
2921     if( queriedOperator == "&NestedLessLess;" && form == Infix ) {
2922         m_lspace = "thickmathspace";
2923         m_rspace = "thickmathspace";
2924         return true;
2925     }
2926     if( queriedOperator == "&NotCongruent;" && form == Infix ) {
2927         m_lspace = "thickmathspace";
2928         m_rspace = "thickmathspace";
2929         return true;
2930     }
2931     if( queriedOperator == "&NotCupCap;" && form == Infix ) {
2932         m_lspace = "thickmathspace";
2933         m_rspace = "thickmathspace";
2934         return true;
2935     }
2936     if( queriedOperator == "&NotDoubleVerticalBar;" && form == Infix ) {
2937         m_lspace = "thickmathspace";
2938         m_rspace = "thickmathspace";
2939         return true;
2940     }
2941     if( queriedOperator == "&NotEqual;" && form == Infix ) {
2942         m_lspace = "thickmathspace";
2943         m_rspace = "thickmathspace";
2944         return true;
2945     }
2946     if( queriedOperator == "&NotEqualTilde;" && form == Infix ) {
2947         m_lspace = "thickmathspace";
2948         m_rspace = "thickmathspace";
2949         return true;
2950     }
2951     if( queriedOperator == "&NotGreater;" && form == Infix ) {
2952         m_lspace = "thickmathspace";
2953         m_rspace = "thickmathspace";
2954         return true;
2955     }
2956     if( queriedOperator == "&NotGreaterEqual;" && form == Infix ) {
2957         m_lspace = "thickmathspace";
2958         m_rspace = "thickmathspace";
2959         return true;
2960     }
2961     if( queriedOperator == "&NotGreaterFullEqual;" && form == Infix ) {
2962         m_lspace = "thickmathspace";
2963         m_rspace = "thickmathspace";
2964         return true;
2965     }
2966     if( queriedOperator == "&NotGreaterGreater;" && form == Infix ) {
2967         m_lspace = "thickmathspace";
2968         m_rspace = "thickmathspace";
2969         return true;
2970     }
2971     if( queriedOperator == "&NotGreaterLess;" && form == Infix ) {
2972         m_lspace = "thickmathspace";
2973         m_rspace = "thickmathspace";
2974         return true;
2975     }
2976     if( queriedOperator == "&NotGreaterSlantEqual;" && form == Infix ) {
2977         m_lspace = "thickmathspace";
2978         m_rspace = "thickmathspace";
2979         return true;
2980     }
2981     if( queriedOperator == "&NotGreaterTilde;" && form == Infix ) {
2982         m_lspace = "thickmathspace";
2983         m_rspace = "thickmathspace";
2984         return true;
2985     }
2986     if( queriedOperator == "&NotHumpDownHump;" && form == Infix ) {
2987         m_lspace = "thickmathspace";
2988         m_rspace = "thickmathspace";
2989         return true;
2990     }
2991     if( queriedOperator == "&NotHumpEqual;" && form == Infix ) {
2992         m_lspace = "thickmathspace";
2993         m_rspace = "thickmathspace";
2994         return true;
2995     }
2996     if( queriedOperator == "&NotLeftTriangle;" && form == Infix ) {
2997         m_lspace = "thickmathspace";
2998         m_rspace = "thickmathspace";
2999         return true;
3000     }
3001     if( queriedOperator == "&NotLeftTriangleBar;" && form == Infix ) {
3002         m_lspace = "thickmathspace";
3003         m_rspace = "thickmathspace";
3004         return true;
3005     }
3006     if( queriedOperator == "&NotLeftTriangleEqual;" && form == Infix ) {
3007         m_lspace = "thickmathspace";
3008         m_rspace = "thickmathspace";
3009         return true;
3010     }
3011     if( queriedOperator == "&NotLess;" && form == Infix ) {
3012         m_lspace = "thickmathspace";
3013         m_rspace = "thickmathspace";
3014         return true;
3015     }
3016     if( queriedOperator == "&NotLessEqual;" && form == Infix ) {
3017         m_lspace = "thickmathspace";
3018         m_rspace = "thickmathspace";
3019         return true;
3020     }
3021     if( queriedOperator == "&NotLessGreater;" && form == Infix ) {
3022         m_lspace = "thickmathspace";
3023         m_rspace = "thickmathspace";
3024         return true;
3025     }
3026     if( queriedOperator == "&NotLessLess;" && form == Infix ) {
3027         m_lspace = "thickmathspace";
3028         m_rspace = "thickmathspace";
3029         return true;
3030     }
3031     if( queriedOperator == "&NotLessSlantEqual;" && form == Infix ) {
3032         m_lspace = "thickmathspace";
3033         m_rspace = "thickmathspace";
3034         return true;
3035     }
3036     if( queriedOperator == "&NotLessTilde;" && form == Infix ) {
3037         m_lspace = "thickmathspace";
3038         m_rspace = "thickmathspace";
3039         return true;
3040     }
3041     if( queriedOperator == "&NotNestedGreaterGreater;" && form == Infix ) {
3042         m_lspace = "thickmathspace";
3043         m_rspace = "thickmathspace";
3044         return true;
3045     }
3046     if( queriedOperator == "&NotNestedLessLess;" && form == Infix ) {
3047         m_lspace = "thickmathspace";
3048         m_rspace = "thickmathspace";
3049         return true;
3050     }
3051     if( queriedOperator == "&NotPrecedes;" && form == Infix ) {
3052         m_lspace = "thickmathspace";
3053         m_rspace = "thickmathspace";
3054         return true;
3055     }
3056     if( queriedOperator == "&NotPrecedesEqual;" && form == Infix ) {
3057         m_lspace = "thickmathspace";
3058         m_rspace = "thickmathspace";
3059         return true;
3060     }
3061     if( queriedOperator == "&NotPrecedesSlantEqual;" && form == Infix ) {
3062         m_lspace = "thickmathspace";
3063         m_rspace = "thickmathspace";
3064         return true;
3065     }
3066     if( queriedOperator == "&NotRightTriangle;" && form == Infix ) {
3067         m_lspace = "thickmathspace";
3068         m_rspace = "thickmathspace";
3069         return true;
3070     }
3071     if( queriedOperator == "&NotRightTriangleBar;" && form == Infix ) {
3072         m_lspace = "thickmathspace";
3073         m_rspace = "thickmathspace";
3074         return true;
3075     }
3076     if( queriedOperator == "&NotRightTriangleEqual;" && form == Infix ) {
3077         m_lspace = "thickmathspace";
3078         m_rspace = "thickmathspace";
3079         return true;
3080     }
3081     if( queriedOperator == "&NotSucceeds;" && form == Infix ) {
3082         m_lspace = "thickmathspace";
3083         m_rspace = "thickmathspace";
3084         return true;
3085     }
3086     if( queriedOperator == "&NotSucceedsEqual;" && form == Infix ) {
3087         m_lspace = "thickmathspace";
3088         m_rspace = "thickmathspace";
3089         return true;
3090     }
3091     if( queriedOperator == "&NotSucceedsSlantEqual;" && form == Infix ) {
3092         m_lspace = "thickmathspace";
3093         m_rspace = "thickmathspace";
3094         return true;
3095     }
3096     if( queriedOperator == "&NotSucceedsTilde;" && form == Infix ) {
3097         m_lspace = "thickmathspace";
3098         m_rspace = "thickmathspace";
3099         return true;
3100     }
3101     if( queriedOperator == "&NotTilde;" && form == Infix ) {
3102         m_lspace = "thickmathspace";
3103         m_rspace = "thickmathspace";
3104         return true;
3105     }
3106     if( queriedOperator == "&NotTildeEqual;" && form == Infix ) {
3107         m_lspace = "thickmathspace";
3108         m_rspace = "thickmathspace";
3109         return true;
3110     }
3111     if( queriedOperator == "&NotTildeFullEqual;" && form == Infix ) {
3112         m_lspace = "thickmathspace";
3113         m_rspace = "thickmathspace";
3114         return true;
3115     }
3116     if( queriedOperator == "&NotTildeTilde;" && form == Infix ) {
3117         m_lspace = "thickmathspace";
3118         m_rspace = "thickmathspace";
3119         return true;
3120     }
3121     if( queriedOperator == "&NotVerticalBar;" && form == Infix ) {
3122         m_lspace = "thickmathspace";
3123         m_rspace = "thickmathspace";
3124         return true;
3125     }
3126     if( queriedOperator == "&Precedes;" && form == Infix ) {
3127         m_lspace = "thickmathspace";
3128         m_rspace = "thickmathspace";
3129         return true;
3130     }
3131     if( queriedOperator == "&PrecedesEqual;" && form == Infix ) {
3132         m_lspace = "thickmathspace";
3133         m_rspace = "thickmathspace";
3134         return true;
3135     }
3136     if( queriedOperator == "&PrecedesSlantEqual;" && form == Infix ) {
3137         m_lspace = "thickmathspace";
3138         m_rspace = "thickmathspace";
3139         return true;
3140     }
3141     if( queriedOperator == "&PrecedesTilde;" && form == Infix ) {
3142         m_lspace = "thickmathspace";
3143         m_rspace = "thickmathspace";
3144         return true;
3145     }
3146     if( queriedOperator == "&Proportion;" && form == Infix ) {
3147         m_lspace = "thickmathspace";
3148         m_rspace = "thickmathspace";
3149         return true;
3150     }
3151     if( queriedOperator == "&Proportional;" && form == Infix ) {
3152         m_lspace = "thickmathspace";
3153         m_rspace = "thickmathspace";
3154         return true;
3155     }
3156     if( queriedOperator == "&ReverseEquilibrium;" && form == Infix ) {
3157         m_stretchy = true;
3158         m_lspace = "thickmathspace";
3159         m_rspace = "thickmathspace";
3160         return true;
3161     }
3162     if( queriedOperator == "&RightTriangle;" && form == Infix ) {
3163         m_lspace = "thickmathspace";
3164         m_rspace = "thickmathspace";
3165         return true;
3166     }
3167     if( queriedOperator == "&RightTriangleBar;" && form == Infix ) {
3168         m_lspace = "thickmathspace";
3169         m_rspace = "thickmathspace";
3170         return true;
3171     }
3172     if( queriedOperator == "&RightTriangleEqual;" && form == Infix ) {
3173         m_lspace = "thickmathspace";
3174         m_rspace = "thickmathspace";
3175         return true;
3176     }
3177     if( queriedOperator == "&Succeeds;" && form == Infix ) {
3178         m_lspace = "thickmathspace";
3179         m_rspace = "thickmathspace";
3180         return true;
3181     }
3182     if( queriedOperator == "&SucceedsEqual;" && form == Infix ) {
3183         m_lspace = "thickmathspace";
3184         m_rspace = "thickmathspace";
3185         return true;
3186     }
3187     if( queriedOperator == "&SucceedsSlantEqual;" && form == Infix ) {
3188         m_lspace = "thickmathspace";
3189         m_rspace = "thickmathspace";
3190         return true;
3191     }
3192     if( queriedOperator == "&SucceedsTilde;" && form == Infix ) {
3193         m_lspace = "thickmathspace";
3194         m_rspace = "thickmathspace";
3195         return true;
3196     }
3197     if( queriedOperator == "&Tilde;" && form == Infix ) {
3198         m_lspace = "thickmathspace";
3199         m_rspace = "thickmathspace";
3200         return true;
3201     }
3202     if( queriedOperator == "&TildeEqual;" && form == Infix ) {
3203         m_lspace = "thickmathspace";
3204         m_rspace = "thickmathspace";
3205         return true;
3206     }
3207     if( queriedOperator == "&TildeFullEqual;" && form == Infix ) {
3208         m_lspace = "thickmathspace";
3209         m_rspace = "thickmathspace";
3210         return true;
3211     }
3212     if( queriedOperator == "&TildeTilde;" && form == Infix ) {
3213         m_lspace = "thickmathspace";
3214         m_rspace = "thickmathspace";
3215         return true;
3216     }
3217     if( queriedOperator == "&UpTee;" && form == Infix ) {
3218         m_lspace = "thickmathspace";
3219         m_rspace = "thickmathspace";
3220         return true;
3221     }
3222     if( queriedOperator == "&VerticalBar;" && form == Infix ) {
3223         m_lspace = "thickmathspace";
3224         m_rspace = "thickmathspace";
3225         return true;
3226     }
3227     if( queriedOperator == "&SquareUnion;" && form == Infix ) {
3228         m_stretchy = true;
3229         m_lspace = "mediummathspace";
3230         m_rspace = "mediummathspace";
3231         return true;
3232     }
3233     if( queriedOperator == "&Union;" && form == Infix ) {
3234         m_stretchy = true;
3235         m_lspace = "mediummathspace";
3236         m_rspace = "mediummathspace";
3237         return true;
3238     }
3239     if( queriedOperator == "&UnionPlus;" && form == Infix ) {
3240         m_stretchy = true;
3241         m_lspace = "mediummathspace";
3242         m_rspace = "mediummathspace";
3243         return true;
3244     }
3245     if( queriedOperator == "-" && form == Infix ) {
3246         m_lspace = "mediummathspace";
3247         m_rspace = "mediummathspace";
3248         return true;
3249     }
3250     if( queriedOperator == "+" && form == Infix ) {
3251         m_lspace = "mediummathspace";
3252         m_rspace = "mediummathspace";
3253         return true;
3254     }
3255     if( queriedOperator == "&Intersection;" && form == Infix ) {
3256         m_stretchy = true;
3257         m_lspace = "mediummathspace";
3258         m_rspace = "mediummathspace";
3259         return true;
3260     }
3261     if( queriedOperator == "&MinusPlus;" && form == Infix ) {
3262         m_lspace = "mediummathspace";
3263         m_rspace = "mediummathspace";
3264         return true;
3265     }
3266     if( queriedOperator == "&PlusMinus;" && form == Infix ) {
3267         m_lspace = "mediummathspace";
3268         m_rspace = "mediummathspace";
3269         return true;
3270     }
3271     if( queriedOperator == "&SquareIntersection;" && form == Infix ) {
3272         m_stretchy = true;
3273         m_lspace = "mediummathspace";
3274         m_rspace = "mediummathspace";
3275         return true;
3276     }
3277     if( queriedOperator == "&Vee;" && form == Prefix ) {
3278         m_largeop = true;
3279         m_movablelimits = true;
3280         m_stretchy = true;
3281         m_lspace = "0em";
3282         m_rspace = "thinmathspace";
3283         return true;
3284     }
3285     if( queriedOperator == "&CircleMinus;" && form == Prefix ) {
3286         m_largeop = true;
3287         m_movablelimits = true;
3288         m_lspace = "0em";
3289         m_rspace = "thinmathspace";
3290         return true;
3291     }
3292     if( queriedOperator == "&CirclePlus;" && form == Prefix ) {
3293         m_largeop = true;
3294         m_movablelimits = true;
3295         m_lspace = "0em";
3296         m_rspace = "thinmathspace";
3297         return true;
3298     }
3299     if( queriedOperator == "&Sum;" && form == Prefix ) {
3300         m_largeop = true;
3301         m_movablelimits = true;
3302         m_stretchy = true;
3303         m_lspace = "0em";
3304         m_rspace = "thinmathspace";
3305         return true;
3306     }
3307     if( queriedOperator == "&Union;" && form == Prefix ) {
3308         m_largeop = true;
3309         m_movablelimits = true;
3310         m_stretchy = true;
3311         m_lspace = "0em";
3312         m_rspace = "thinmathspace";
3313         return true;
3314     }
3315     if( queriedOperator == "&UnionPlus;" && form == Prefix ) {
3316         m_largeop = true;
3317         m_movablelimits = true;
3318         m_stretchy = true;
3319         m_lspace = "0em";
3320         m_rspace = "thinmathspace";
3321         return true;
3322     }
3323     if( queriedOperator == "lim" && form == Prefix ) {
3324         m_movablelimits = true;
3325         m_lspace = "0em";
3326         m_rspace = "thinmathspace";
3327         return true;
3328     }
3329     if( queriedOperator == "max" && form == Prefix ) {
3330         m_movablelimits = true;
3331         m_lspace = "0em";
3332         m_rspace = "thinmathspace";
3333         return true;
3334     }
3335     if( queriedOperator == "min" && form == Prefix ) {
3336         m_movablelimits = true;
3337         m_lspace = "0em";
3338         m_rspace = "thinmathspace";
3339         return true;
3340     }
3341     if( queriedOperator == "&CircleMinus;" && form == Infix ) {
3342         m_lspace = "thinmathspace";
3343         m_rspace = "thinmathspace";
3344         return true;
3345     }
3346     if( queriedOperator == "&CirclePlus;" && form == Infix ) {
3347         m_lspace = "thinmathspace";
3348         m_rspace = "thinmathspace";
3349         return true;
3350     }
3351     if( queriedOperator == "&ClockwiseContourIntegral;" && form == Prefix ) {
3352         m_largeop = true;
3353         m_stretchy = true;
3354         m_lspace = "0em";
3355         m_rspace = "0em";
3356         return true;
3357     }
3358     if( queriedOperator == "&ContourIntegral;" && form == Prefix ) {
3359         m_largeop = true;
3360         m_stretchy = true;
3361         m_lspace = "0em";
3362         m_rspace = "0em";
3363         return true;
3364     }
3365     if( queriedOperator == "&CounterClockwiseContourIntegral;" && form == Prefix ) {
3366         m_largeop = true;
3367         m_stretchy = true;
3368         m_lspace = "0em";
3369         m_rspace = "0em";
3370         return true;
3371     }
3372     if( queriedOperator == "&DoubleContourIntegral;" && form == Prefix ) {
3373         m_largeop = true;
3374         m_stretchy = true;
3375         m_lspace = "0em";
3376         m_rspace = "0em";
3377         return true;
3378     }
3379     if( queriedOperator == "&Integral;" && form == Prefix ) {
3380         m_largeop = true;
3381         m_stretchy = true;
3382         m_lspace = "0em";
3383         m_rspace = "0em";
3384         return true;
3385     }
3386     if( queriedOperator == "&Cup;" && form == Infix ) {
3387         m_lspace = "thinmathspace";
3388         m_rspace = "thinmathspace";
3389         return true;
3390     }
3391     if( queriedOperator == "&Cap;" && form == Infix ) {
3392         m_lspace = "thinmathspace";
3393         m_rspace = "thinmathspace";
3394         return true;
3395     }
3396     if( queriedOperator == "&VerticalTilde;" && form == Infix ) {
3397         m_lspace = "thinmathspace";
3398         m_rspace = "thinmathspace";
3399         return true;
3400     }
3401     if( queriedOperator == "&Wedge;" && form == Prefix ) {
3402         m_largeop = true;
3403         m_movablelimits = true;
3404         m_stretchy = true;
3405         m_lspace = "0em";
3406         m_rspace = "thinmathspace";
3407         return true;
3408     }
3409     if( queriedOperator == "&CircleTimes;" && form == Prefix ) {
3410         m_largeop = true;
3411         m_movablelimits = true;
3412         m_lspace = "0em";
3413         m_rspace = "thinmathspace";
3414         return true;
3415     }
3416     if( queriedOperator == "&Coproduct;" && form == Prefix ) {
3417         m_largeop = true;
3418         m_movablelimits = true;
3419         m_stretchy = true;
3420         m_lspace = "0em";
3421         m_rspace = "thinmathspace";
3422         return true;
3423     }
3424     if( queriedOperator == "&Product;" && form == Prefix ) {
3425         m_largeop = true;
3426         m_movablelimits = true;
3427         m_stretchy = true;
3428         m_lspace = "0em";
3429         m_rspace = "thinmathspace";
3430         return true;
3431     }
3432     if( queriedOperator == "&Intersection;" && form == Prefix ) {
3433         m_largeop = true;
3434         m_movablelimits = true;
3435         m_stretchy = true;
3436         m_lspace = "0em";
3437         m_rspace = "thinmathspace";
3438         return true;
3439     }
3440     if( queriedOperator == "&Coproduct;" && form == Infix ) {
3441         m_lspace = "thinmathspace";
3442         m_rspace = "thinmathspace";
3443         return true;
3444     }
3445     if( queriedOperator == "&Star;" && form == Infix ) {
3446         m_lspace = "thinmathspace";
3447         m_rspace = "thinmathspace";
3448         return true;
3449     }
3450     if( queriedOperator == "&CircleDot;" && form == Prefix ) {
3451         m_largeop = true;
3452         m_movablelimits = true;
3453         m_lspace = "0em";
3454         m_rspace = "thinmathspace";
3455         return true;
3456     }
3457     if( queriedOperator == "*" && form == Infix ) {
3458         m_lspace = "thinmathspace";
3459         m_rspace = "thinmathspace";
3460         return true;
3461     }
3462     if( queriedOperator == "&InvisibleTimes;" && form == Infix ) {
3463         m_lspace = "0em";
3464         m_rspace = "0em";
3465         return true;
3466     }
3467     if( queriedOperator == "&CenterDot;" && form == Infix ) {
3468         m_lspace = "thinmathspace";
3469         m_rspace = "thinmathspace";
3470         return true;
3471     }
3472     if( queriedOperator == "&CircleTimes;" && form == Infix ) {
3473         m_lspace = "thinmathspace";
3474         m_rspace = "thinmathspace";
3475         return true;
3476     }
3477     if( queriedOperator == "&Vee;" && form == Infix ) {
3478         m_lspace = "thinmathspace";
3479         m_rspace = "thinmathspace";
3480         return true;
3481     }
3482     if( queriedOperator == "&Wedge;" && form == Infix ) {
3483         m_lspace = "thinmathspace";
3484         m_rspace = "thinmathspace";
3485         return true;
3486     }
3487     if( queriedOperator == "&Diamond;" && form == Infix ) {
3488         m_lspace = "thinmathspace";
3489         m_rspace = "thinmathspace";
3490         return true;
3491     }
3492     if( queriedOperator == "&Backslash;" && form == Infix ) {
3493         m_stretchy = true;
3494         m_lspace = "thinmathspace";
3495         m_rspace = "thinmathspace";
3496         return true;
3497     }
3498     if( queriedOperator == "/" && form == Infix ) {
3499         m_stretchy = true;
3500         m_lspace = "thinmathspace";
3501         m_rspace = "thinmathspace";
3502         return true;
3503     }
3504     if( queriedOperator == "-" && form == Prefix ) {
3505         m_lspace = "0em";
3506         m_rspace = "veryverythinmathspace";
3507         return true;
3508     }
3509     if( queriedOperator == "+" && form == Prefix ) {
3510         m_lspace = "0em";
3511         m_rspace = "veryverythinmathspace";
3512         return true;
3513     }
3514     if( queriedOperator == "&MinusPlus;" && form == Prefix ) {
3515         m_lspace = "0em";
3516         m_rspace = "veryverythinmathspace";
3517         return true;
3518     }
3519     if( queriedOperator == "&PlusMinus;" && form == Prefix ) {
3520         m_lspace = "0em";
3521         m_rspace = "veryverythinmathspace";
3522         return true;
3523     }
3524     if( queriedOperator == "." && form == Infix ) {
3525         m_lspace = "0em";
3526         m_rspace = "0em";
3527         return true;
3528     }
3529     if( queriedOperator == "&Cross;" && form == Infix ) {
3530         m_lspace = "verythinmathspace";
3531         m_rspace = "verythinmathspace";
3532         return true;
3533     }
3534     if( queriedOperator == "**" && form == Infix ) {
3535         m_lspace = "verythinmathspace";
3536         m_rspace = "verythinmathspace";
3537         return true;
3538     }
3539     if( queriedOperator == "&CircleDot;" && form == Infix ) {
3540         m_lspace = "verythinmathspace";
3541         m_rspace = "verythinmathspace";
3542         return true;
3543     }
3544     if( queriedOperator == "&SmallCircle;" && form == Infix ) {
3545         m_lspace = "verythinmathspace";
3546         m_rspace = "verythinmathspace";
3547         return true;
3548     }
3549     if( queriedOperator == "&Square;" && form == Prefix ) {
3550         m_lspace = "0em";
3551         m_rspace = "verythinmathspace";
3552         return true;
3553     }
3554     if( queriedOperator == "&Del;" && form == Prefix ) {
3555         m_lspace = "0em";
3556         m_rspace = "verythinmathspace";
3557         return true;
3558     }
3559     if( queriedOperator == "&PartialD;" && form == Prefix ) {
3560         m_lspace = "0em";
3561         m_rspace = "verythinmathspace";
3562         return true;
3563     }
3564     if( queriedOperator == "&CapitalDifferentialD;" && form == Prefix ) {
3565         m_lspace = "0em";
3566         m_rspace = "verythinmathspace";
3567         return true;
3568     }
3569     if( queriedOperator == "&DifferentialD;" && form == Prefix ) {
3570         m_lspace = "0em";
3571         m_rspace = "verythinmathspace";
3572         return true;
3573     }
3574     if( queriedOperator == "&Sqrt;" && form == Prefix ) {
3575         m_stretchy = true;
3576         m_lspace = "0em";
3577         m_rspace = "verythinmathspace";
3578         return true;
3579     }
3580     if( queriedOperator == "&DoubleDownArrow;" && form == Infix ) {
3581         m_stretchy = true;
3582         m_lspace = "verythinmathspace";
3583         m_rspace = "verythinmathspace";
3584         return true;
3585     }
3586     if( queriedOperator == "&DoubleLongLeftArrow;" && form == Infix ) {
3587         m_stretchy = true;
3588         m_lspace = "verythinmathspace";
3589         m_rspace = "verythinmathspace";
3590         return true;
3591     }
3592     if( queriedOperator == "&DoubleLongLeftRightArrow;" && form == Infix ) {
3593         m_stretchy = true;
3594         m_lspace = "verythinmathspace";
3595         m_rspace = "verythinmathspace";
3596         return true;
3597     }
3598     if( queriedOperator == "&DoubleLongRightArrow;" && form == Infix ) {
3599         m_stretchy = true;
3600         m_lspace = "verythinmathspace";
3601         m_rspace = "verythinmathspace";
3602         return true;
3603     }
3604     if( queriedOperator == "&DoubleUpArrow;" && form == Infix ) {
3605         m_stretchy = true;
3606         m_lspace = "verythinmathspace";
3607         m_rspace = "verythinmathspace";
3608         return true;
3609     }
3610     if( queriedOperator == "&DoubleUpDownArrow;" && form == Infix ) {
3611         m_stretchy = true;
3612         m_lspace = "verythinmathspace";
3613         m_rspace = "verythinmathspace";
3614         return true;
3615     }
3616     if( queriedOperator == "&DownArrow;" && form == Infix ) {
3617         m_stretchy = true;
3618         m_lspace = "verythinmathspace";
3619         m_rspace = "verythinmathspace";
3620         return true;
3621     }
3622     if( queriedOperator == "&DownArrowBar;" && form == Infix ) {
3623         m_stretchy = true;
3624         m_lspace = "verythinmathspace";
3625         m_rspace = "verythinmathspace";
3626         return true;
3627     }
3628     if( queriedOperator == "&DownArrowUpArrow;" && form == Infix ) {
3629         m_stretchy = true;
3630         m_lspace = "verythinmathspace";
3631         m_rspace = "verythinmathspace";
3632         return true;
3633     }
3634     if( queriedOperator == "&DownTeeArrow;" && form == Infix ) {
3635         m_stretchy = true;
3636         m_lspace = "verythinmathspace";
3637         m_rspace = "verythinmathspace";
3638         return true;
3639     }
3640     if( queriedOperator == "&LeftDownTeeVector;" && form == Infix ) {
3641         m_stretchy = true;
3642         m_lspace = "verythinmathspace";
3643         m_rspace = "verythinmathspace";
3644         return true;
3645     }
3646     if( queriedOperator == "&LeftDownVector;" && form == Infix ) {
3647         m_stretchy = true;
3648         m_lspace = "verythinmathspace";
3649         m_rspace = "verythinmathspace";
3650         return true;
3651     }
3652     if( queriedOperator == "&LeftDownVectorBar;" && form == Infix ) {
3653         m_stretchy = true;
3654         m_lspace = "verythinmathspace";
3655         m_rspace = "verythinmathspace";
3656         return true;
3657     }
3658     if( queriedOperator == "&LeftUpDownVector;" && form == Infix ) {
3659         m_stretchy = true;
3660         m_lspace = "verythinmathspace";
3661         m_rspace = "verythinmathspace";
3662         return true;
3663     }
3664     if( queriedOperator == "&LeftUpTeeVector;" && form == Infix ) {
3665         m_stretchy = true;
3666         m_lspace = "verythinmathspace";
3667         m_rspace = "verythinmathspace";
3668         return true;
3669     }
3670     if( queriedOperator == "&LeftUpVector;" && form == Infix ) {
3671         m_stretchy = true;
3672         m_lspace = "verythinmathspace";
3673         m_rspace = "verythinmathspace";
3674         return true;
3675     }
3676     if( queriedOperator == "&LeftUpVectorBar;" && form == Infix ) {
3677         m_stretchy = true;
3678         m_lspace = "verythinmathspace";
3679         m_rspace = "verythinmathspace";
3680         return true;
3681     }
3682     if( queriedOperator == "&LongLeftArrow;" && form == Infix ) {
3683         m_stretchy = true;
3684         m_lspace = "verythinmathspace";
3685         m_rspace = "verythinmathspace";
3686         return true;
3687     }
3688     if( queriedOperator == "&LongLeftRightArrow;" && form == Infix ) {
3689         m_stretchy = true;
3690         m_lspace = "verythinmathspace";
3691         m_rspace = "verythinmathspace";
3692         return true;
3693     }
3694     if( queriedOperator == "&LongRightArrow;" && form == Infix ) {
3695         m_stretchy = true;
3696         m_lspace = "verythinmathspace";
3697         m_rspace = "verythinmathspace";
3698         return true;
3699     }
3700     if( queriedOperator == "&ReverseUpEquilibrium;" && form == Infix ) {
3701         m_stretchy = true;
3702         m_lspace = "verythinmathspace";
3703         m_rspace = "verythinmathspace";
3704         return true;
3705     }
3706     if( queriedOperator == "&RightDownTeeVector;" && form == Infix ) {
3707         m_stretchy = true;
3708         m_lspace = "verythinmathspace";
3709         m_rspace = "verythinmathspace";
3710         return true;
3711     }
3712     if( queriedOperator == "&RightDownVector;" && form == Infix ) {
3713         m_stretchy = true;
3714         m_lspace = "verythinmathspace";
3715         m_rspace = "verythinmathspace";
3716         return true;
3717     }
3718     if( queriedOperator == "&RightDownVectorBar;" && form == Infix ) {
3719         m_stretchy = true;
3720         m_lspace = "verythinmathspace";
3721         m_rspace = "verythinmathspace";
3722         return true;
3723     }
3724     if( queriedOperator == "&RightUpDownVector;" && form == Infix ) {
3725         m_stretchy = true;
3726         m_lspace = "verythinmathspace";
3727         m_rspace = "verythinmathspace";
3728         return true;
3729     }
3730     if( queriedOperator == "&RightUpTeeVector;" && form == Infix ) {
3731         m_stretchy = true;
3732         m_lspace = "verythinmathspace";
3733         m_rspace = "verythinmathspace";
3734         return true;
3735     }
3736     if( queriedOperator == "&RightUpVector;" && form == Infix ) {
3737         m_stretchy = true;
3738         m_lspace = "verythinmathspace";
3739         m_rspace = "verythinmathspace";
3740         return true;
3741     }
3742     if( queriedOperator == "&RightUpVectorBar;" && form == Infix ) {
3743         m_stretchy = true;
3744         m_lspace = "verythinmathspace";
3745         m_rspace = "verythinmathspace";
3746         return true;
3747     }
3748     if( queriedOperator == "&ShortDownArrow;" && form == Infix ) {
3749         m_lspace = "verythinmathspace";
3750         m_rspace = "verythinmathspace";
3751         return true;
3752     }
3753     if( queriedOperator == "&ShortUpArrow;" && form == Infix ) {
3754         m_lspace = "verythinmathspace";
3755         m_rspace = "verythinmathspace";
3756         return true;
3757     }
3758     if( queriedOperator == "&UpArrow;" && form == Infix ) {
3759         m_stretchy = true;
3760         m_lspace = "verythinmathspace";
3761         m_rspace = "verythinmathspace";
3762         return true;
3763     }
3764     if( queriedOperator == "&UpArrowBar;" && form == Infix ) {
3765         m_stretchy = true;
3766         m_lspace = "verythinmathspace";
3767         m_rspace = "verythinmathspace";
3768         return true;
3769     }
3770     if( queriedOperator == "&UpArrowDownArrow;" && form == Infix ) {
3771         m_stretchy = true;
3772         m_lspace = "verythinmathspace";
3773         m_rspace = "verythinmathspace";
3774         return true;
3775     }
3776     if( queriedOperator == "&UpDownArrow;" && form == Infix ) {
3777         m_stretchy = true;
3778         m_lspace = "verythinmathspace";
3779         m_rspace = "verythinmathspace";
3780         return true;
3781     }
3782     if( queriedOperator == "&UpEquilibrium;" && form == Infix ) {
3783         m_stretchy = true;
3784         m_lspace = "verythinmathspace";
3785         m_rspace = "verythinmathspace";
3786         return true;
3787     }
3788     if( queriedOperator == "&UpTeeArrow;" && form == Infix ) {
3789         m_stretchy = true;
3790         m_lspace = "verythinmathspace";
3791         m_rspace = "verythinmathspace";
3792         return true;
3793     }
3794     if( queriedOperator == "^" && form == Infix ) {
3795         m_lspace = "verythinmathspace";
3796         m_rspace = "verythinmathspace";
3797         return true;
3798     }
3799     if( queriedOperator == "&lt;>" && form == Infix ) {
3800         m_lspace = "verythinmathspace";
3801         m_rspace = "verythinmathspace";
3802         return true;
3803     }
3804     if( queriedOperator == "'" && form == Postfix ) {
3805         m_lspace = "verythinmathspace";
3806         m_rspace = "0em";
3807         return true;
3808     }
3809     if( queriedOperator == "!" && form == Postfix ) {
3810         m_lspace = "verythinmathspace";
3811         m_rspace = "0em";
3812         return true;
3813     }
3814     if( queriedOperator == "!!" && form == Postfix ) {
3815         m_lspace = "verythinmathspace";
3816         m_rspace = "0em";
3817         return true;
3818     }
3819     if( queriedOperator == "~" && form == Infix ) {
3820         m_lspace = "verythinmathspace";
3821         m_rspace = "verythinmathspace";
3822         return true;
3823     }
3824     if( queriedOperator == "@" && form == Infix ) {
3825         m_lspace = "verythinmathspace";
3826         m_rspace = "verythinmathspace";
3827         return true;
3828     }
3829     if( queriedOperator == "--" && form == Postfix ) {
3830         m_lspace = "verythinmathspace";
3831         m_rspace = "0em";
3832         return true;
3833     }
3834     if( queriedOperator == "--" && form == Prefix ) {
3835         m_lspace = "0em";
3836         m_rspace = "verythinmathspace";
3837         return true;
3838     }
3839     if( queriedOperator == "++" && form == Postfix ) {
3840         m_lspace = "verythinmathspace";
3841         m_rspace = "0em";
3842         return true;
3843     }
3844     if( queriedOperator == "++" && form == Prefix ) {
3845         m_lspace = "0em";
3846         m_rspace = "verythinmathspace";
3847         return true;
3848     }
3849     if( queriedOperator == "&ApplyFunction;" && form == Infix ) {
3850         m_lspace = "0em";
3851         m_rspace = "0em";
3852         return true;
3853     }
3854     if( queriedOperator == "?" && form == Infix ) {
3855         m_lspace = "verythinmathspace";
3856         m_rspace = "verythinmathspace";
3857         return true;
3858     }
3859     if( queriedOperator == "_" && form == Infix ) {
3860         m_lspace = "verythinmathspace";
3861         m_rspace = "verythinmathspace";
3862         return true;
3863     }
3864     if( queriedOperator == "&Breve;" && form == Postfix ) {
3865         m_accent = true;
3866         m_lspace = "0em";
3867         m_rspace = "0em";
3868         return true;
3869     }
3870     if( queriedOperator == "&Cedilla;" && form == Postfix ) {
3871         m_accent = true;
3872         m_lspace = "0em";
3873         m_rspace = "0em";
3874         return true;
3875     }
3876     if( queriedOperator == "&DiacriticalGrave;" && form == Postfix ) {
3877         m_accent = true;
3878         m_lspace = "0em";
3879         m_rspace = "0em";
3880         return true;
3881     }
3882     if( queriedOperator == "&DiacriticalDot;" && form == Postfix ) {
3883         m_accent = true;
3884         m_lspace = "0em";
3885         m_rspace = "0em";
3886         return true;
3887     }
3888     if( queriedOperator == "&DiacriticalDoubleAcute;" && form == Postfix ) {
3889         m_accent = true;
3890         m_lspace = "0em";
3891         m_rspace = "0em";
3892         return true;
3893     }
3894     if( queriedOperator == "&LeftArrow;" && form == Postfix ) {
3895         m_accent = true;
3896         m_stretchy = true;
3897         m_lspace = "0em";
3898         m_rspace = "0em";
3899         return true;
3900     }
3901     if( queriedOperator == "&LeftRightArrow;" && form == Postfix ) {
3902         m_accent = true;
3903         m_stretchy = true;
3904         m_lspace = "0em";
3905         m_rspace = "0em";
3906         return true;
3907     }
3908     if( queriedOperator == "&LeftRightVector;" && form == Postfix ) {
3909         m_accent = true;
3910         m_stretchy = true;
3911         m_lspace = "0em";
3912         m_rspace = "0em";
3913         return true;
3914     }
3915     if( queriedOperator == "&LeftVector;" && form == Postfix ) {
3916         m_accent = true;
3917         m_stretchy = true;
3918         m_lspace = "0em";
3919         m_rspace = "0em";
3920         return true;
3921     }
3922     if( queriedOperator == "&DiacriticalAcute;" && form == Postfix ) {
3923         m_accent = true;
3924         m_lspace = "0em";
3925         m_rspace = "0em";
3926         return true;
3927     }
3928     if( queriedOperator == "&RightArrow;" && form == Postfix ) {
3929         m_accent = true;
3930         m_stretchy = true;
3931         m_lspace = "0em";
3932         m_rspace = "0em";
3933         return true;
3934     }
3935     if( queriedOperator == "&RightVector;" && form == Postfix ) {
3936         m_accent = true;
3937         m_stretchy = true;
3938         m_lspace = "0em";
3939         m_rspace = "0em";
3940         return true;
3941     }
3942     if( queriedOperator == "&DiacriticalTilde;" && form == Postfix ) {
3943         m_accent = true;
3944         m_stretchy = true;
3945         m_lspace = "0em";
3946         m_rspace = "0em";
3947         return true;
3948     }
3949     if( queriedOperator == "&DoubleDot;" && form == Postfix ) {
3950         m_accent = true;
3951         m_lspace = "0em";
3952         m_rspace = "0em";
3953         return true;
3954     }
3955     if( queriedOperator == "&DownBreve;" && form == Postfix ) {
3956         m_accent = true;
3957         m_lspace = "0em";
3958         m_rspace = "0em";
3959         return true;
3960     }
3961     if( queriedOperator == "&Hacek;" && form == Postfix ) {
3962         m_accent = true;
3963         m_stretchy = true;
3964         m_lspace = "0em";
3965         m_rspace = "0em";
3966         return true;
3967     }
3968     if( queriedOperator == "&Hat;" && form == Postfix ) {
3969         m_accent = true;
3970         m_stretchy = true;
3971         m_lspace = "0em";
3972         m_rspace = "0em";
3973         return true;
3974     }
3975     if( queriedOperator == "&OverBar;" && form == Postfix ) {
3976         m_accent = true;
3977         m_stretchy = true;
3978         m_lspace = "0em";
3979         m_rspace = "0em";
3980         return true;
3981     }
3982     if( queriedOperator == "&OverBrace;" && form == Postfix ) {
3983         m_accent = true;
3984         m_stretchy = true;
3985         m_lspace = "0em";
3986         m_rspace = "0em";
3987         return true;
3988     }
3989     if( queriedOperator == "&OverBracket;" && form == Postfix ) {
3990         m_accent = true;
3991         m_stretchy = true;
3992         m_lspace = "0em";
3993         m_rspace = "0em";
3994         return true;
3995     }
3996     if( queriedOperator == "&OverParenthesis;" && form == Postfix ) {
3997         m_accent = true;
3998         m_stretchy = true;
3999         m_lspace = "0em";
4000         m_rspace = "0em";
4001         return true;
4002     }
4003     if( queriedOperator == "&TripleDot;" && form == Postfix ) {
4004         m_accent = true;
4005         m_lspace = "0em";
4006         m_rspace = "0em";
4007         return true;
4008     }
4009     if( queriedOperator == "&UnderBar;" && form == Postfix ) {
4010         m_accent = true;
4011         m_stretchy = true;
4012         m_lspace = "0em";
4013         m_rspace = "0em";
4014         return true;
4015     }
4016     if( queriedOperator == "&UnderBrace;" && form == Postfix ) {
4017         m_accent = true;
4018         m_stretchy = true;
4019         m_lspace = "0em";
4020         m_rspace = "0em";
4021         return true;
4022     }
4023     if( queriedOperator == "&UnderBracket;" && form == Postfix ) {
4024         m_accent = true;
4025         m_stretchy = true;
4026         m_lspace = "0em";
4027         m_rspace = "0em";
4028         return true;
4029     }
4030     if( queriedOperator == "&UnderParenthesis;" && form == Postfix ) {
4031         m_accent = true;
4032         m_stretchy = true;
4033         m_lspace = "0em";
4034         m_rspace = "0em";
4035         return true;
4036     }
4037 
4038     return false;
4039 }