Debian Codegraph @

texmf-dist/fonts/source/public/shuffle/shuffle.mf

raw
1 % This is shuffle.mf for creating a shuffle product symbol in the
2 % same format as the CM symbols. It is based on the cmsy font.
3 % Written by Julian Gilbey <[email protected]>
4 % This file is in the public domain
5
6 font_coding_scheme:="TeX math symbols";
7 mode_setup; font_setup;
8
9 font_slant slant; font_x_height x_height#;
10 font_quad 18u# if not monospace:+4letter_fit# fi;
11 % (The spacing is zero so that \TeX\ will always add the italic correction.)
12 % (The calling file should give the other math symbol font parameters.)
13
14 slant:=mono_charic#:=0; % the remaining characters will not be slanted
15 currenttransform:=identity yscaled aspect_ratio scaled granularity;
16
17 cmchar "Shuffle product sign";
18 beginchar(oct"001",16u#,.7asc_height#,0);
19 adjust_fit(0,0); pickup rule.nib;
20 lft x1=hround 1.1u; x2=x1; x4=x5=w-x1;
21 x3=good.x 0.5[x2,x4]; x6=x3;
22 y1=good.y h+o; bot y2=0; y4=y2; y5=y1;
23 y3=y2; y6=y1;
24 draw z1---z2---z4---z5; % stems and bar
25 draw z3--z6; % middle bar
26 labels(1,2,3,4,5,6); endchar;
27
28 cmchar "Complete shuffle product sign";
29 beginchar(oct"002",16u#,asc_height#,0);
30 adjust_fit(0,0); pickup rule.nib;
31 lft x1=hround 1.1u; x2=x1; x4=x5=w-x1;
32 x3=good.x 0.5[x2,x4]; x6=x3;
33 y1=good.y 7/10h+o; bot y2=0; y4=y2; y5=y1;
34 y3=y2; y6=y1;
35 x7=good.x 0.05[x2,x4]; x8=w-x7;
36 y7=good.y h; y8=y7;
37 draw z1---z2---z4---z5; % stems and bar
38 draw z3--z6; % middle bar
39 draw z7--z8; % overline
40 labels(1,2,3,4,5,6,7,8); endchar;
41
42 bye.