Carl Milsted, Jr on Dec 18 16:11:09
I have just added support for more glyph styles for Latin letters when in equation mode. However, instead of typing bold or roman before a latter, I opted to just use prefixes.
The reason is historical. When troff was created, there was no Unicode. Different fonts needed to be loaded for different glyph styles as well as for symbols. With Unicode, a single font can contain all the glyphs needed for doing math. One just needs to map the Latin letters to different Unicode values for different styles. It turned out I could most easily modify GNU eqn to do this by using prefixes vs. adding new keywords.
Prefix | Name |
---|---|
ds | Double Stroke |
frak | Fraktur |
bfrak | Bold Fraktur |
scr | Script |
bscr | Bold Script |
ss | Sans Serif |
bss | Bold Sans Serif |
For example the eqn code
.eqn scrA hat = {bold scrA} over scrA ..eqn
yields
Here is a complete table:
Letter\Prefix | ds | frak | bfrak | scr | bscr | ss | bss |
---|---|---|---|---|---|---|---|
A | |||||||
B | |||||||
C | |||||||
D | |||||||
E | |||||||
F | |||||||
G | |||||||
H | |||||||
I | |||||||
J | |||||||
K | |||||||
L | |||||||
M | |||||||
N | |||||||
O | |||||||
P | |||||||
Q | |||||||
R | |||||||
S | |||||||
T | |||||||
U | |||||||
V | |||||||
W | |||||||
X | |||||||
Y | |||||||
Z | |||||||
a | |||||||
b | |||||||
c | |||||||
d | |||||||
e | |||||||
f | |||||||
g | |||||||
h | |||||||
i | |||||||
j | |||||||
k | |||||||
l | |||||||
m | |||||||
n | |||||||
o | |||||||
p | |||||||
q | |||||||
r | |||||||
s | |||||||
t | |||||||
u | |||||||
v | |||||||
w | |||||||
x | |||||||
y | |||||||
z |
You need to be logged in to comment