File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
stests = [
8
8
r'Kerning: AVA $AVA$' ,
9
- r'\$100.00 $\alpha$' ,
9
+ r'\$100.00 $\alpha \_ $' ,
10
10
r'$\frac{\$100.00}{y}$' ,
11
11
r'$x y$' ,
12
12
r'$x+y\ x=y\ x<y\ x:y\ x,y\ x@y$' ,
Original file line number Diff line number Diff line change 117
117
r'%' : ('cmr10' , 48 ),
118
118
r'\$' : ('cmr10' , 99 ),
119
119
r'@' : ('cmr10' , 111 ),
120
+ r'\_' : ('cmtt10' , 79 ),
120
121
r'\Gamma' : ('cmr10' , 19 ),
121
122
r'\Delta' : ('cmr10' , 6 ),
122
123
r'\Theta' : ('cmr10' , 7 ),
2236
2237
'$' : 36 ,
2237
2238
'{' : 123 ,
2238
2239
'}' : 125 ,
2240
+ '_' : 95 ,
2239
2241
'imath' : 0x131 ,
2240
2242
'circumflexaccent' : 770 ,
2241
2243
'combiningbreve' : 774 ,
Original file line number Diff line number Diff line change @@ -1975,7 +1975,7 @@ def __init__(self):
1975
1975
).setParseAction (self .customspace ).setName ('customspace' )
1976
1976
1977
1977
unicode_range = u"\U00000080 -\U0001ffff "
1978
- symbol = (Regex (UR"([a-zA-Z0-9 +\-*/<>=:,.;!'@()%s])|(\\[%%${}\[\]])" % unicode_range )
1978
+ symbol = (Regex (UR"([a-zA-Z0-9 +\-*/<>=:,.;!'@()%s])|(\\[%%${}\[\]_ ])" % unicode_range )
1979
1979
| Combine (
1980
1980
bslash
1981
1981
+ oneOf (tex2uni .keys ())
You can’t perform that action at this time.
0 commit comments