Branch
Hash :
2815f699
Author :
Date :
2022-06-07T03:35:31
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
% Length constants
bp cc cm dd in mm pc pt
% Pair constants
down left origin right up
% Numeric constants
eps epsilon infinity _ % _ is -1, as per Knuth: "internal constant to make macros unreadable but shorter"
% Path constants
fullcircle halfcircle quartercircle unitsquare
% Pen constant
nullpen penrazor penspeck pensquare penstroke
% Picture constants
blankpicture nullpicture unitpixel
% String constant
ditto
% Transform constant
identity
% Other constants
proof relax smoke \ \\ ???
----------------------------------------------------
[
["comment", "% Length constants"],
["constant", "bp"],
["constant", "cc"],
["constant", "cm"],
["constant", "dd"],
["constant", "in"],
["constant", "mm"],
["constant", "pc"],
["constant", "pt"],
["comment", "% Pair constants"],
["constant", "down"],
["constant", "left"],
["constant", "origin"],
["constant", "right"],
["constant", "up"],
["comment", "% Numeric constants"],
["constant", "eps"],
["constant", "epsilon"],
["constant", "infinity"],
["constant", "_"],
["comment", "% _ is -1, as per Knuth: \"internal constant to make macros unreadable but shorter\""],
["comment", "% Path constants"],
["constant", "fullcircle"],
["constant", "halfcircle"],
["constant", "quartercircle"],
["constant", "unitsquare"],
["comment", "% Pen constant"],
["constant", "nullpen"],
["constant", "penrazor"],
["constant", "penspeck"],
["constant", "pensquare"],
["constant", "penstroke"],
["comment", "% Picture constants"],
["constant", "blankpicture"],
["constant", "nullpicture"],
["constant", "unitpixel"],
["comment", "% String constant"],
["constant", "ditto"],
["comment", "% Transform constant"],
["constant", "identity"],
["comment", "% Other constants"],
["constant", "proof"],
["constant", "relax"],
["constant", "smoke"],
["constant", "\\"],
["constant", "\\\\"],
["constant", "???"]
]
----------------------------------------------------
Checks for constants best not to be redefined.