Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-accents.sty

raw
1 %%
2 %% This is file `lwarp-accents.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `accents')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18 \LWR@ProvidesPackagePass{accents}[2006/05/12]
19 \begin{warpMathJax}
20 \LWR@infoprocessingmathjax{accents}
21
22 \CustomizeMathJax{\newcommand{\ring}[1]{\mathring{#1}}}
23 \CustomizeMathJax{\newcommand{\accentset}[2]{\overset{#1{}}{#2}}}
24 \CustomizeMathJax{\let\LWRgrave\grave}
25 \CustomizeMathJax{\let\LWRacute\acute}
26 \CustomizeMathJax{\let\LWRcheck\check}
27 \CustomizeMathJax{\let\LWRbreve\breve}
28 \CustomizeMathJax{\let\LWRbar\bar}
29 \CustomizeMathJax{\let\LWRhat\hat}
30 \CustomizeMathJax{\let\LWRdot\dot}
31 \CustomizeMathJax{\let\LWRtilde\tilde}
32 \CustomizeMathJax{\let\LWRddot\ddot}
33 \CustomizeMathJax{\let\LWRvec\vec}
34 \CustomizeMathJax{\let\LWRwidetilde\widetilde}
35
36 \CustomizeMathJax{\newcommand{\underaccent}[2]{%
37 {%
38 \renewcommand{\grave}[1]{{\LARGE\LWRgrave{##1}}}%
39 \renewcommand{\acute}[1]{{\LARGE\LWRacute{##1}}}%
40 \renewcommand{\check}[1]{{\LARGE\LWRcheck{##1}}}%
41 \renewcommand{\breve}[1]{{\LARGE\LWRbreve{##1}}}%
42 \renewcommand{\bar}[1]{{\LARGE\LWRbar{##1}}}%
43 \renewcommand{\hat}[1]{{\LARGE\LWRhat{##1}}}%
44 \renewcommand{\dot}[1]{{\LARGE\LWRdot{##1}}}%
45 \renewcommand{\tilde}[1]{{\LARGE\LWRtilde{##1}}}%
46 \renewcommand{\ddot}[1]{{\LARGE\LWRddot{##1}}}%
47 \renewcommand{\vec}[1]{{\LARGE\LWRvec{##1}}}%
48 \renewcommand{\widetilde}[1]{{\LARGE\LWRwidetilde{\hphantom{#2}}}}%
49 \underset{\raise 2pt {#1{}}}{#2}%
50 \let\grave\LWRgrave%
51 \let\acute\LWRacute%
52 \let\check\LWRcheck%
53 \let\breve\LWRbreve%
54 \let\bar\LWRbar%
55 \let\hat\LWRhat%
56 \let\dot\LWRdot%
57 \let\tilde\LWRtilde%
58 \let\ddot\LWRddot%
59 \let\vec\LWRvec%
60 \let\widetilde\LWRwidetilde%
61 }%
62 }}
63
64 \CustomizeMathJax{\newcommand{\undertilde}[1]{%
65 \underset{\raise 3pt {\widetilde{\hphantom{#1}}}}{#1}%
66 }}
67 \end{warpMathJax}
68
69 \endinput
70 %%
71 %% End of file `lwarp-accents.sty'.