| 1 |
% Blackboard bold ligatures, Alan Jeffrey, 13--18 Dec 1989. |
| 2 |
% |
| 3 |
% Provides --, ---, `` and ''. |
| 4 |
% These are put in positions |
| 5 |
% |
| 6 |
% -- oct "173" |
| 7 |
% --- oct "175" |
| 8 |
% `` oct "176" |
| 9 |
% '' oct "042" |
| 10 |
|
| 11 |
ligtable "-": "-" =: oct "173"; |
| 12 |
ligtable oct "173": "-" =: oct "175"; |
| 13 |
ligtable "`": "`" =: oct "176"; |
| 14 |
ligtable "'": "'" =: oct "042"; |
| 15 |
|
| 16 |
% ------------------------------------------------------------------- |
| 17 |
|
| 18 |
bbchar |
| 19 |
(oct "173") |
| 20 |
(smallgap#, 0.5bigcap#, smallgap#) |
| 21 |
(aTop#, aBottom#); |
| 22 |
|
| 23 |
"En dash `--'"; |
| 24 |
|
| 25 |
% The line. |
| 26 |
draw |
| 27 |
dashMiddle~Left |
| 28 |
-- dashMiddle~Right |
| 29 |
|
| 30 |
endchar; |
| 31 |
|
| 32 |
% ------------------------------------------------------------------- |
| 33 |
|
| 34 |
bbchar |
| 35 |
(oct "175") |
| 36 |
(smallgap#, bigcap#, smallgap#) |
| 37 |
(aTop#, aBottom#); |
| 38 |
|
| 39 |
"Em dash `---'"; |
| 40 |
|
| 41 |
% The line. |
| 42 |
draw |
| 43 |
dashMiddle~Left |
| 44 |
-- dashMiddle~Right |
| 45 |
|
| 46 |
endchar; |
| 47 |
|
| 48 |
% ------------------------------------------------------------------- |
| 49 |
|
| 50 |
bbchar |
| 51 |
(oct "176") |
| 52 |
(medgap#, 2tiny# + space#, medgap#) |
| 53 |
(bTop#, bTop# - tiny# - comma_depth#); |
| 54 |
|
| 55 |
"Opening quotes ```'"; |
| 56 |
|
| 57 |
% The left quote. |
| 58 |
draw |
| 59 |
splodgel above rightof Bottom~Left |
| 60 |
.. farrightof Top~Left; |
| 61 |
|
| 62 |
% The right quote. |
| 63 |
draw |
| 64 |
splodgel above leftof Bottom~Right |
| 65 |
.. Top~Right |
| 66 |
|
| 67 |
endchar; |
| 68 |
|
| 69 |
% ------------------------------------------------------------------- |
| 70 |
|
| 71 |
bbchar |
| 72 |
(oct "042") |
| 73 |
(medgap#, 2tiny# + space#, medgap#) |
| 74 |
(bTop#, bTop# - tiny# - comma_depth#); |
| 75 |
|
| 76 |
"Closing quotes `'''"; |
| 77 |
|
| 78 |
% The left quote |
| 79 |
draw |
| 80 |
splodger below rightof Top~Left |
| 81 |
.. Bottom~Left; |
| 82 |
|
| 83 |
% The right quote |
| 84 |
draw |
| 85 |
splodger below leftof Top~Right |
| 86 |
.. farleftof Bottom~Right |
| 87 |
|
| 88 |
endchar; |
| 89 |
|
| 90 |
% ------------------------------------------------------------------- |
| 91 |
|