math_ml 0.12.2 → 0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/lib/math_ml/latex.rb +3 -3
- metadata +4 -5
data/Rakefile
CHANGED
data/lib/math_ml/latex.rb
CHANGED
|
@@ -702,7 +702,7 @@ EOS
|
|
|
702
702
|
|
|
703
703
|
module BuiltinCommands
|
|
704
704
|
OVERS = {'hat'=>'circ', 'breve'=>'smile', 'grave'=>'grave',
|
|
705
|
-
'acute'=>'acute', 'dot'=>'sdot', 'ddot'=>'nldr', 'tilde'=>'tilde',
|
|
705
|
+
'acute'=>'acute', 'dot'=>'sdot', 'ddot'=>'nldr', 'dddot'=>'mldr', 'tilde'=>'tilde',
|
|
706
706
|
'bar'=>'macr', 'vec'=>'rightarrow', 'check'=>'vee', 'widehat'=>'circ',
|
|
707
707
|
'overline'=>'macr', 'widetilde'=>'tilde', 'overbrace'=>'OverBrace'}
|
|
708
708
|
UNDERS = {'underbrace'=>'UnderBrace', 'underline'=>'macr'}
|
|
@@ -710,8 +710,8 @@ EOS
|
|
|
710
710
|
def initialize
|
|
711
711
|
add_commands("\\"=>:backslash)
|
|
712
712
|
add_commands("entity", "stackrel", "frac", "sqrt", "mbox")
|
|
713
|
-
add_multi_command(:hat_etc,
|
|
714
|
-
add_multi_command(:underbrace_etc,
|
|
713
|
+
add_multi_command(:hat_etc, *OVERS.keys)
|
|
714
|
+
add_multi_command(:underbrace_etc, *UNDERS.keys)
|
|
715
715
|
add_multi_command(:quad_etc, " ", "quad", "qquad", ",", ":", ";", "!")
|
|
716
716
|
add_multi_command(:it_etc, "it", "rm", "bf")
|
|
717
717
|
add_multi_command(:mathit_etc, "mathit", "mathrm", "mathbf", "bm", "mathbb", "mathscr", "mathfrak")
|
metadata
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: math_ml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
version: 0.12.2
|
|
8
|
+
- 13
|
|
9
|
+
version: "0.13"
|
|
11
10
|
platform: ruby
|
|
12
11
|
authors:
|
|
13
12
|
- KURODA Hiraku
|
|
@@ -15,7 +14,7 @@ autorequire:
|
|
|
15
14
|
bindir: bin
|
|
16
15
|
cert_chain: []
|
|
17
16
|
|
|
18
|
-
date: 2012-
|
|
17
|
+
date: 2012-08-01 00:00:00 Z
|
|
19
18
|
dependencies:
|
|
20
19
|
- !ruby/object:Gem::Dependency
|
|
21
20
|
name: eim_xml
|