-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwml3.sty
More file actions
28 lines (23 loc) · 666 Bytes
/
Copy pathwml3.sty
File metadata and controls
28 lines (23 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\RequirePackage{wmpatch}
\ProvidesExplPackage{wml3}{2016/09/04}{}{LaTeX 3 conveniance functions (WM)}
\prg_new_conditional:Nnn \sys_if_feature_utf: { p , T , F , TF } {
\bool_if:nTF { \sys_if_engine_luatex_p: || \sys_if_engine_xetex_p: } {
\prg_return_true:
} {
\prg_return_false:
}
}
\cs_new:Nn \char_gset_active:Nn {
\cs_set:Nx \l_tempa_cs: { #2 }
\char_gset_active_eq:NN #1 \l_tempa_cs:
}
\cs_new_protected:Npn \char_set_mathcode_active:N #1 {
\char_set_mathcode:nn { `#1 } { "8000 }
}
\cs_new:Nn \char_gset_mathactive:Nn {
\char_gset_active:Nn #1 { #2 }
\char_set_mathcode_active:N #1
}
\endinput