From: Ben Harris Date: Tue, 21 Nov 2017 11:21:35 +0000 (+0000) Subject: Large mathematical operators: summation, product, and integral. X-Git-Tag: bedstead-002.000~61 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=c9d168e2345b68dad9508eda8cd673840d18eb5b;p=bedstead.git Large mathematical operators: summation, product, and integral. All of these span the full height of the character cell, since that way they'll work equally badly with subscripts and superscripts. --- diff --git a/bedstead.c b/bedstead.c index 925368d..ed1da5c 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1074,6 +1074,8 @@ static struct glyph { {{000,024,030,037,030,024,000,000,000}, 0x21e4 }, /* arrowtableft */ {{000,005,003,037,003,005,000,000,000}, 0x21e5 }, /* arrowtabright */ /* Mathematical operators */ + {{037,021,021,021,021,021,021,021,021}, 0x220f, "product" }, + {{037,020,010,004,002,004,010,020,037}, 0x2211, "summation" }, {{000,000,000,037,000,000,000,000,000}, 0x2212, "minus" }, {{037,000,004,004,037,004,004,000,000}, 0x2213 }, /* minusplus */ {{000,000,004,016,004,000,000,000,000}, 0x2219 }, /* bulletoperator */ @@ -1082,6 +1084,7 @@ static struct glyph { {{000,020,020,020,020,037,000,000,000}, 0x221f, "orthogonal" }, {{000,016,021,021,021,021,000,000,000}, 0x2229, "intersection" }, {{000,021,021,021,021,016,000,000,000}, 0x222a, "union" }, + {{002,005,004,004,004,004,004,024,010}, 0x222b, "integral" }, {{000,010,024,025,005,002,000,000,000}, 0x223f }, /* sinewave */ {{000,010,025,002,010,025,002,000,000}, 0x2248, "approxequal" }, {{000,002,037,004,037,010,000,000,000}, 0x2260, "notequal" },