version 1.215, 2007/02/15 14:39:36
|
version 1.216, 2007/02/20 09:26:37
|
Line 979 void SetSingleIntHorizStretchAttr (Eleme
|
Line 979 void SetSingleIntHorizStretchAttr (Eleme
|
c = 'h'; |
c = 'h'; |
else if (text[0] == 0x302) |
else if (text[0] == 0x302) |
c = 'H'; /* Hat */ |
c = 'H'; /* Hat */ |
|
else if (text[0] == 0x2C7) |
|
c = 'k'; /* Hacek */ |
|
else if (text[0] == 0x2DC) |
|
c = 'T'; /* Diacritical Tilde */ |
else if (text[0] == 0x2190) |
else if (text[0] == 0x2190) |
c = 'L'; /* arrow left */ |
c = 'L'; /* arrow left */ |
else if (text[0] == 0x2192) |
else if (text[0] == 0x2192) |
Line 987 void SetSingleIntHorizStretchAttr (Eleme
|
Line 991 void SetSingleIntHorizStretchAttr (Eleme
|
c = 'o'; /* Over brace */ |
c = 'o'; /* Over brace */ |
else if (text[0] == 0xFE38) |
else if (text[0] == 0xFE38) |
c = 'u'; /* Under brace */ |
c = 'u'; /* Under brace */ |
|
else if (text[0] == 0xFE35) |
|
c = 'p'; /* Over parenthesis */ |
|
else if (text[0] == 0xFE36) |
|
c = 'q'; /* Under parenthesis */ |
|
else if (text[0] == 0x23B4) |
|
c = 'b'; /* Over bracket */ |
|
else if (text[0] == 0x23B5) |
|
c = 'B'; /* Under bracket */ |
if (c != EOS) |
if (c != EOS) |
doit = TRUE; |
doit = TRUE; |
} |
} |
Line 2110 void CheckFence (Element el, Docume
|
Line 2122 void CheckFence (Element el, Docume
|
attr = TtaGetAttribute (el, attrType); |
attr = TtaGetAttribute (el, attrType); |
if (attr) |
if (attr) |
TtaSetAttributeValue (attr, |
TtaSetAttributeValue (attr, |
MathML_ATTR_IntVertStretch_VAL_yes_, |
MathML_ATTR_IntVertStretch_VAL_yes_, |
el, doc); |
el, doc); |
else |
else |
{ |
{ |
attr = TtaNewAttribute (attrType); |
attr = TtaNewAttribute (attrType); |
TtaSetAttributeValue (attr, |
TtaSetAttributeValue (attr, |
MathML_ATTR_IntVertStretch_VAL_yes_, |
MathML_ATTR_IntVertStretch_VAL_yes_, |
el, doc); |
el, doc); |
TtaAttachAttribute (el, attr, doc); |
TtaAttachAttribute (el, attr, doc); |
} |
} |
} |
} |