Bugs and Beefs

Your place to report bugs and complain in general

Current Post

More Equation Fonts

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 𝕫 𝔷 𝖟 𝓏 𝔃 𝗓 𝘇
0 COMMENTS

You need to be logged in to comment


Drag the picture you want to upload into the large box below. You can use the controls to edit the picture to be uploaded. This will not affect the picture on your hard disk.

Or, if you are on a tablet or phone, or don't like Drag and Drop, you can select a picture using this

Get a modern browser to make picture uploads

Rotation:
Up Right Down Left

Brightness:
1.0

Color Balance:
Red: 1.0
Green: 1.0
Blue: 1.0
Gray: 1.0

Contrast:
0.0

Cropping:
Slide the boxes with triangles along the edges of the picture to crop.

(Picture below can be dragged if need be.)