Debian Codegraph @

texmf-dist/tex/latex/latex-lab/latex-lab-unicode-math.ltx

raw
1 %%
2 %% This is file `latex-lab-unicode-math.ltx',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% latex-lab-unicode-math.dtx (with options: `kernel')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright 2021-2025 LaTeX Project
12 %%
13 %% This file was generated from file(s) of the `LaTeX-lab Bundle'.
14 %% ------------------------------------------------------------------------------------
15 %%
16 %% It may be distributed and/or modified under the
17 %% conditions of the LaTeX Project Public License, either version 1.3c
18 %% of this license or (at your option) any later version.
19 %% The latest version of this license is in
20 %% http://www.latex-project.org/lppl.txt
21 %% and version 1.3c or later is part of all distributions of LaTeX
22 %% version 2008 or later.
23 %%
24 %% This file may only be distributed together with a copy of the LaTeX
25 %% `LaTeX-lab Bundle'. You may however distribute the `LaTeX-lab Bundle'
26 %% without such generated files.
27 %%
28 %% The newest sources can be found below
29 %%
30 %% https://github.com/latex3/latex2e/required/latex-lab
31 %%
32 %% where one can also log issues in case there are any.
33 %%
34 %%
35 %% File: latex-lab-unicode-math.dtx
36 \ProvidesExplFile
37 {latex-lab-unicode-math.ltx}
38 {2025-06-30}
39 {0.1e}
40 {unicode-math adaptions}
41 \str_if_exist:cF { l__socket_tagsupport/math/luamml/artifact_plug_str }
42 {
43 \NewTaggingSocket{math/luamml/artifact}{0}
44 }
45 \def\bBigg@#1#2
46 {{\ensuremath
47 {
48 \Uvextensible height~#1~ \dimexpr0.5\big@size\relax ~ depth ~#1~
49 \dimexpr0.5\big@size\relax~ axis~exact~#2
50 }
51 }}
52 \protected\def\varinjlim
53 {\mathop{\Udelimiterunder 0 "2192 {\qopname\relax o{\luamml_ignore:\mathstrut lim}}}}
54 \protected\def\varprojlim
55 {\mathop{\Udelimiterunder 0 "2190 {\qopname\relax o{\luamml_ignore:\mathstrut lim}}}}
56 \protected\def\varlimsup
57 {\mathop{\overline{\qopname\relax o{\luamml_ignore:\mathstrut lim}}}}
58 \protected\def\varliminf
59 {\mathop{\underline{\qopname\relax o{lim}}}}
60 \AtBeginDocument
61 {
62 \cs_gset_protected_nopar:Npn \sqrtsign
63 {
64 \tag_socket_use:n {math/luamml/artifact}
65 \tex_Uradical:D \symoperators "0221A\scan_stop:
66 }
67 }
68 \cs_set_nopar:Npn \plainroot@ #1 \of #2
69 {
70 \bool_if:nTF
71 {
72 \__um_int_if_zero_p:n \uproot@ && \__um_int_if_zero_p:n \leftroot@
73 }
74 {
75 \tag_socket_use:n {math/luamml/artifact}
76 \Uroot \c__um_radical_sqrt_tl { #1 } { #2 }
77 }
78 {
79 \hbox_set:Nn \rootbox
80 {
81 \c_math_toggle_token \m@th
82 \scriptscriptstyle { #1 }
83 \c_math_toggle_token
84 }
85 \mathchoice
86 { \r@@t \displaystyle { #2 } }
87 { \r@@t \textstyle { #2 } }
88 { \r@@t \scriptstyle { #2 } }
89 { \r@@t \scriptscriptstyle { #2 } }
90 }
91 \c_group_end_token
92 }
93 \DeclareRobustCommand {\frac}[2]
94 {{\tag_socket_use:n{math/luamml/artifact}\Ustack{\begingroup#1\endgroup\@@over#2}}}
95 \endinput
96 %%
97 %% End of file `latex-lab-unicode-math.ltx'.