visual support for \ni and \owns

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2535 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-17 15:53:06 +00:00
parent f149653927
commit a6be9275ee
3 changed files with 4 additions and 2 deletions

View File

@ -197,7 +197,7 @@ latexkeys wordlist[] =
{"neg", LM_TK_SYM, LM_neg, LMB_NONE}, {"neg", LM_TK_SYM, LM_neg, LMB_NONE},
{"neq", LM_TK_SYM, LM_neq, LMB_RELATION}, {"neq", LM_TK_SYM, LM_neq, LMB_RELATION},
{"newcommand", LM_TK_NEWCOMMAND, 0 , LMB_NONE}, {"newcommand", LM_TK_NEWCOMMAND, 0 , LMB_NONE},
{"ni", LM_TK_NOGLYPH, 0, LMB_RELATION}, {"ni", LM_TK_SYM, LM_ni, LMB_RELATION},
{"nolimits", LM_TK_LIMIT, static_cast<unsigned>(-1), LMB_NONE}, {"nolimits", LM_TK_LIMIT, static_cast<unsigned>(-1), LMB_NONE},
{"nonumber", LM_TK_NONUM, 0, LMB_NONE}, {"nonumber", LM_TK_NONUM, 0, LMB_NONE},
{"not", LM_TK_NOT, LM_not, LMB_NONE}, {"not", LM_TK_NOT, LM_not, LMB_NONE},

View File

@ -94,6 +94,7 @@ void MathMacroTable::builtinMacros()
createTemplate("lor", 0, "\\vee"); createTemplate("lor", 0, "\\vee");
createTemplate("notin", 0, "\\not\\in"); createTemplate("notin", 0, "\\not\\in");
createTemplate("perp", 0, "\\bot"); createTemplate("perp", 0, "\\bot");
createTemplate("owns", 0, "\\ni");
createTemplate("to", 0, "\\rightarrow"); createTemplate("to", 0, "\\rightarrow");
//createTemplate("lint", 4, "\\int_#1^#2#3 d#4"); //createTemplate("lint", 4, "\\int_#1^#2#3 d#4");
//createTemplate("silentmult", 0, "\\cdot"); //createTemplate("silentmult", 0, "\\cdot");

View File

@ -9,7 +9,7 @@ enum Math_Symbols_enum {
// Accents // Accents
LM_backslash = '\\', LM_backslash = '\\',
LM_acute = '\'', LM_acute = '\'',
LM_grave = '`', LM_grave = '`',
LM_hat = '^', LM_hat = '^',
LM_tilde = '~', LM_tilde = '~',
LM_dot = '.', LM_dot = '.',
@ -79,6 +79,7 @@ enum Math_Symbols_enum {
LM_cong = 0x40, LM_cong = 0x40,
LM_neq = 0xb9, LM_neq = 0xb9,
LM_in = 0xce, LM_in = 0xce,
LM_ni = 0x27,
LM_propto = 0xb5, LM_propto = 0xb5,
LM_pm = 0xb1, LM_pm = 0xb1,
LM_cap = 0xc7, LM_cap = 0xc7,