chiark / gitweb /
Large mathematical operators: summation, product, and integral.
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 21 Nov 2017 11:21:35 +0000 (11:21 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 21 Nov 2017 11:21:35 +0000 (11:21 +0000)
All of these span the full height of the character cell, since that way
they'll work equally badly with subscripts and superscripts.

bedstead.c

index 925368d55a13beedf1bd06743f367fe5495ddcbc..ed1da5cc9867455f783864aabe1e78f12485f427 100644 (file)
@@ -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" },