|
|
1.1 root 1: /*
2:
3: This file contains parameter values for many of the
4: tuning parameters in eqn. Ideally, these should be
5: settable dynamically, but getting them into a single
6: file is at least a step in the right direction.
7:
8: Strings are plugged in verbatim.
9: Floats are usually in ems.
10:
11: */
12:
13: /* In main.c: */
14:
15: float BeforeSub = 1.2; /* line space before a subscript */
16: float AfterSub = 0.2; /* line space after a subscript */
17:
18: /* diacrit.c: */
19:
20: float Dvshift = 0.25; /* vertical shift for diacriticals on tall letters */
21: float Dhshift = 0.025; /* horizontal shift for tall letters */
22: float Dh2shift = 0.05; /* horizontal shift for small letters */
23: float Dheight = 0.25; /* increment to height for diacriticals */
24: float Barv = 0.68; /* vertical shift for bar */
25: float Barh = 0.05; /* 1/2 horizontal shrink for bar */
26: char *Vec = "\\v'-.45m'\\s-1\\(->\\s0\\v'.45m'";
27: char *Dyad = "\\v'-.45m'\\s-1\\z\\(<-\\|\\(->\\s0\\v'.45m'";
28: char *Hat = "\\v'-.1m'\\s+1^\\s0\\v'.1m'";
29: char *Tilde = "\\v'-.1m'\\s+1~\\s0\\v'.1m'";
30: char *Dot = "\\v'-.67m'.\\v'.67m'";
31: char *Dotdot = "\\v'-.67m'..\\v'.67m'";
32: char *Utilde = "\\v'1.0m'\\s+2~\\s-2\\v'-1.0m'";
33:
34: /* eqnbox.c: */
35:
36: char *IRspace = "\\^"; /* space between italic & roman boxes */
37:
38: /* fat.c: */
39:
40: float Fatshift = 0.05; /* fattening shifts by Fatshift ems */
41:
42: /* funny.c: */
43:
44: char *Sum = "\\v'.3m'\\s+5\\(*S\\s-5\\v'-.3m'";
45: char *Union = "\\v'.3m'\\s+5\\(cu\\s-5\\v'-.3m'";
46: char *Inter = "\\v'.3m'\\s+5\\(ca\\s-5\\v'-.3m'";
47: char *Prod = "\\v'.3m'\\s+5\\(*P\\s-5\\v'-.3m'";
48: int Funnyps = 5; /* point size change (== 5 above) */
49: float Funnyht = 0.2; /* height correction */
50: float Funnybase = 0.3; /* base correction */
51:
52: /* integral.c: */
53:
54: char *Integral = "\\v'.1m'\\s+4\\(is\\s-4\\v'-.1m'";
55: int Intps = 4; /* point size change for integral (== 4 above) */
56: float Intht = 1.15; /* ht of integral in ems */
57: float Intbase = 0.3; /* base in ems */
58: float Int1h = 0.4; /* lower limit left */
59: float Int1v = 0.2; /* lower limit down */
60: float Int2h = 0.08; /* upper limit right */
61: float Int2v = 0.1; /* upper limit up */
62:
63: /* matrix.c: */
64:
65: char *Matspace = "\\ \\ "; /* space between matrix columns */
66:
67: /* over.c: */
68:
69: float Overgap = 0.3; /* gap between num and denom */
70: float Overwid = 0.5; /* extra width of box */
71: float Overline = 0.1; /* extra length of fraction bar */
72:
73: /* paren.c* */
74:
75: float Parenbase = 0.4; /* shift of base for even count */
76:
77: /* pile.c: */
78:
79: float Pilegap = 0.4; /* gap between pile elems */
80: float Pilebase = 0.5; /* shift base of even # of piled elems */
81:
82: /* shift.c: */
83:
84: float Subbase = 0.2; /* subscript base belowe main base */
85: float Supshift = 0.4; /* superscript .4 up main box */
86: char *Sub1space = "\\|"; /* italic sub roman space */
87: char *Sup1space = "\\|"; /* italic sup roman space */
88: char *Sub2space = "\\^"; /* space after subscripted thing */
89: char *SS1space = "\\^"; /* space before sub in x sub i sup j */
90: char *SS2space = "\\^"; /* space before sup */
91:
92: /* sqrt.c: */
93: /* sqrt is hard! punt for now. */
94: /* part of the problem is that every typesetter does it differently */
95: /* and we have several typesetters to run. */
96:
97: /* text.c: */
98: /* ought to be done by a table */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.