Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-semantic-markup.sty

raw
1 %%
2 %% This is file `lwarp-semantic-markup.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `semantic-markup')
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{semantic-markup}[2018/05/21]
19 \ifendnotes
20 \RenewDocumentCommand{\SetupEndnotes}{}{%
21 \let\footnote=\endnote
22 }
23 \fi
24 \RequirePackage{musicography}
25
26 \let\fl\musFlat
27 \let\sh\musSharp
28 \let\na\musNatural
29 \RequirePackage{amsmath}
30
31 \RenewDocumentCommand{\musfig}{ m m }{%
32 \LWR@subsingledollar*%
33 {#1/#2}% alt tag
34 {musfig}% addl' hashing
35 {% contents
36 \LWR@origensuredmath{%
37 \genfrac{}{}{0pt}{1}{\text{#1}}{\text{#2}}%
38 }%
39 }%
40 }
41 \RenewDocumentCommand{\meter}{ m m }{%
42 \musMeter{#1}{#2}%
43 }
44
45 \endinput
46 %%
47 %% End of file `lwarp-semantic-markup.sty'.