File: simplemath.latexml

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (24 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- mode: Perl -*-
package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;

DefMathRewrite(scope => 'label:sec:restricted', match => 'a', attributes => { role => 'FUNCTION' });
DefMathRewrite(scope => 'label:sec:restricted', match => 'b', attributes => { role => 'FUNCTION' });

DefMathRewrite(match => 'a', attributes => { role => 'ID' });
DefMathRewrite(match => 'b', attributes => { role => 'ID' });

DefMathRewrite(match => '\hat{f}',      attributes => { role => 'ID' });
DefMathRewrite(match => 'f_D',          attributes => { role => 'DIFFOP' });
DefMathRewrite(match => 'f_\WildCard',  attributes => { role => 'ID' });
DefMathRewrite(match => 'f', attributes => { role => 'FUNCTION' });
DefMathRewrite(match => 'D', attributes => { role => 'ID' });
DefMathRewrite(match => 'x', attributes => { role => 'ID' });





1;