| 1 |
%% |
| 2 |
%% This is file `lwarp-musicography.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `musicography') |
| 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{musicography}[2023/09/08] |
| 19 |
\NewDocumentCommand{\LWR@HTML@musSymbol}{ O{\musFont} m m m m }{% |
| 20 |
\begin{lateximage}% |
| 21 |
{#1\kern#2\raisebox{#3}{#5}\kern#4}% |
| 22 |
\end{lateximage}% |
| 23 |
} |
| 24 |
|
| 25 |
\LWR@formatted{musSymbol} |
| 26 |
|
| 27 |
\NewDocumentCommand{\LWR@HTML@musStemmedNote}{ m }{% |
| 28 |
\begin{lateximage}% |
| 29 |
\musSymbol{0.05em}{0.5ex}{0.2em}{#1\musStem}% |
| 30 |
\end{lateximage}% |
| 31 |
} |
| 32 |
|
| 33 |
\LWR@formatted{musStemmedNote} |
| 34 |
|
| 35 |
\NewDocumentCommand{\LWR@HTML@musFlaggedNote}{ m m }{% |
| 36 |
\begin{lateximage}% |
| 37 |
\musSymbol{0.05em}{0.5ex}{0pt}{#1\musStem}% |
| 38 |
\musSymbol{0pt}{0pt}{0.9em}{#2}% |
| 39 |
\end{lateximage}% |
| 40 |
} |
| 41 |
|
| 42 |
\LWR@formatted{musFlaggedNote} |
| 43 |
|
| 44 |
\NewDocumentCommand{\LWR@HTML@musDottedNote}{ m }{% |
| 45 |
\begin{lateximage}% |
| 46 |
#1\musDot% |
| 47 |
\end{lateximage}% |
| 48 |
} |
| 49 |
|
| 50 |
\LWR@formatted{musDottedNote} |
| 51 |
|
| 52 |
\NewDocumentCommand{\LWR@HTML@musMeter}{ O{\musNumFont} m m }{% |
| 53 |
\begin{lateximage}*[#2/#3]*?[#1#2#3]% |
| 54 |
\musStack{#2 #3}\kern0.05em% |
| 55 |
\end{lateximage}% |
| 56 |
} |
| 57 |
|
| 58 |
\LWR@formatted{musMeter} |
| 59 |
|
| 60 |
\NewDocumentCommand{\LWR@HTML@meterCplus}{ m }{% |
| 61 |
\begin{lateximage}*[C#1]*?% |
| 62 |
\meterC{}\kern-0.7pt#1% |
| 63 |
\end{lateximage}% |
| 64 |
} |
| 65 |
|
| 66 |
\LWR@formatted{meterCplus} |
| 67 |
|
| 68 |
\NewDocumentCommand{\LWR@HTML@meterC}{}{% |
| 69 |
\begin{lateximage}*[C]*% |
| 70 |
\musSymbolMeter{\symbol{83}}% |
| 71 |
\end{lateximage}% |
| 72 |
} |
| 73 |
|
| 74 |
\LWR@formatted{meterC} |
| 75 |
|
| 76 |
\NewDocumentCommand{\LWR@HTML@meterCutC}{}{% |
| 77 |
\begin{lateximage}*[C|]*% |
| 78 |
\musSymbolMeter{\symbol{82}}% |
| 79 |
\end{lateximage}% |
| 80 |
} |
| 81 |
|
| 82 |
\LWR@formatted{meterCutC} |
| 83 |
|
| 84 |
\NewDocumentCommand{\LWR@HTML@meterThree}{}{% |
| 85 |
\begin{lateximage}*[3|]*% |
| 86 |
{\musNumFont{3}}% |
| 87 |
\end{lateximage}% |
| 88 |
} |
| 89 |
|
| 90 |
\LWR@formatted{meterThree} |
| 91 |
|
| 92 |
\NewDocumentCommand{\LWR@HTML@meterThreeTwo}{}{% |
| 93 |
\begin{lateximage}*[3/2]*% |
| 94 |
\raisebox{-0.26ex}{\musMeter{3}{2}}% |
| 95 |
\end{lateximage}% |
| 96 |
} |
| 97 |
|
| 98 |
\LWR@formatted{meterThreeTwo} |
| 99 |
|
| 100 |
\NewDocumentCommand{\LWR@HTML@meterCutCThree}{}{% |
| 101 |
\begin{lateximage}*[C|3]*% |
| 102 |
\meterCutCplus{\meterThree}% |
| 103 |
\end{lateximage}% |
| 104 |
} |
| 105 |
|
| 106 |
\LWR@formatted{meterCutCThree} |
| 107 |
|
| 108 |
\NewDocumentCommand{\LWR@HTML@meterCutCThreeTwo}{}{% |
| 109 |
\begin{lateximage}*[C|3/2]*% |
| 110 |
\meterCutCplus{\meterThreeTwo}% |
| 111 |
\end{lateximage}% |
| 112 |
} |
| 113 |
|
| 114 |
\LWR@formatted{meterCutCThreeTwo} |
| 115 |
|
| 116 |
\NewDocumentCommand{\LWR@HTML@meterCThree}{}{% |
| 117 |
\begin{lateximage}*[C3]*% |
| 118 |
\meterCplus{\meterThree}% |
| 119 |
\end{lateximage}% |
| 120 |
} |
| 121 |
|
| 122 |
\LWR@formatted{meterCThree} |
| 123 |
|
| 124 |
\NewDocumentCommand{\LWR@HTML@meterCThreeTwo}{}{% |
| 125 |
\begin{lateximage}*[C3/2]*% |
| 126 |
\meterCplus{\musStack{3 2}}% |
| 127 |
\end{lateximage}% |
| 128 |
} |
| 129 |
|
| 130 |
\LWR@formatted{meterCThreeTwo} |
| 131 |
|
| 132 |
\NewDocumentCommand{\LWR@HTML@meterCZ}{}{% |
| 133 |
\begin{lateximage}*[CZ]*% |
| 134 |
\meterCplus{\meterZsymbol}% |
| 135 |
\end{lateximage}% |
| 136 |
} |
| 137 |
|
| 138 |
\LWR@formatted{meterCZ} |
| 139 |
|
| 140 |
\NewDocumentCommand{\LWR@HTML@meterO}{}{\HTMLunicode{25EF}} |
| 141 |
|
| 142 |
\LWR@formatted{meterO} |
| 143 |
|
| 144 |
\NewDocumentCommand{\LWR@HTML@noFig}{ O{5} }{}% |
| 145 |
\newcommand*{\LWR@HTML@musFlat} {\HTMLunicode{266D}} |
| 146 |
\newcommand*{\LWR@HTML@musDoubleFlat} {\HTMLunicode{1D12B}} |
| 147 |
\newcommand*{\LWR@HTML@musSharp} {\HTMLunicode{266F}} |
| 148 |
\newcommand*{\LWR@HTML@musDoubleSharp}{\HTMLunicode{1D12A}} |
| 149 |
\newcommand*{\LWR@HTML@musNatural} {\HTMLunicode{266E}} |
| 150 |
|
| 151 |
\LWR@formatted{noFig} |
| 152 |
\LWR@formatted{musFlat} |
| 153 |
\LWR@formatted{musDoubleFlat} |
| 154 |
\LWR@formatted{musSharp} |
| 155 |
\LWR@formatted{musDoubleSharp} |
| 156 |
\LWR@formatted{musNatural} |
| 157 |
|
| 158 |
\NewDocumentCommand{\LWR@HTML@musFig}{ O{r} m }{% |
| 159 |
\begin{lateximage}*[% |
| 160 |
{% ALT text for copy/paste |
| 161 |
\RenewDocumentCommand{\noFig}{O{5}}{\LWR@HTML@noFig}% |
| 162 |
\RenewDocumentCommand{\musSharp}{}{\LWR@HTML@musSharp}% |
| 163 |
\RenewDocumentCommand{\musDoubleSharp}{}{\LWR@HTML@musDoubleSharp}% |
| 164 |
\RenewDocumentCommand{\musFlat}{}{\LWR@HTML@musFlat}% |
| 165 |
\RenewDocumentCommand{\musDoubleFlat}{}{\LWR@HTML@musDoubleFlat}% |
| 166 |
\RenewDocumentCommand{\musNatural}{}{\LWR@HTML@musNatural}% |
| 167 |
{#2}% braces here because \noFig uses [] |
| 168 |
}% |
| 169 |
]*?% |
| 170 |
{\musFigSize\musStack[\musFigFont]{#2}[#1]}% |
| 171 |
\end{lateximage}% |
| 172 |
} |
| 173 |
|
| 174 |
\LWR@formatted{musFig} |
| 175 |
|
| 176 |
\NewDocumentCommand{\LWR@HTML@musWhole} {}{\HTMLunicode{1D15D}} |
| 177 |
\NewDocumentCommand{\LWR@HTML@musHalf} {}{\HTMLunicode{1D15E}} |
| 178 |
\NewDocumentCommand{\LWR@HTML@musQuarter} {}{\HTMLunicode{1D15F}} |
| 179 |
\NewDocumentCommand{\LWR@HTML@musEighth} {}{\HTMLunicode{1D160}} |
| 180 |
\NewDocumentCommand{\LWR@HTML@musSixteenth} {}{\HTMLunicode{1D161}} |
| 181 |
\NewDocumentCommand{\LWR@HTML@musThirtySecond} {}{\HTMLunicode{1D162}} |
| 182 |
\NewDocumentCommand{\LWR@HTML@musSixtyFourth} {}{\HTMLunicode{1D163}} |
| 183 |
|
| 184 |
\LWR@formatted{musWhole} |
| 185 |
\LWR@formatted{musHalf} |
| 186 |
\LWR@formatted{musQuarter} |
| 187 |
\LWR@formatted{musEighth} |
| 188 |
\LWR@formatted{musSixteenth} |
| 189 |
\LWR@formatted{musThirtySecond} |
| 190 |
\LWR@formatted{musSixtyFourth} |
| 191 |
|
| 192 |
\NewDocumentCommand{\LWR@HTML@musWholeDotted}{} |
| 193 |
{\HTMLunicode{1D15D}\HTMLunicode{1D16D}} |
| 194 |
\NewDocumentCommand{\LWR@HTML@musHalfDotted}{} |
| 195 |
{\HTMLunicode{1D15E}\HTMLunicode{1D16D}} |
| 196 |
\NewDocumentCommand{\LWR@HTML@musQuarterDotted}{} |
| 197 |
{\HTMLunicode{1D15F}\HTMLunicode{1D16D}} |
| 198 |
\NewDocumentCommand{\LWR@HTML@musEighthDotted}{} |
| 199 |
{\HTMLunicode{1D160}\HTMLunicode{1D16D}} |
| 200 |
\NewDocumentCommand{\LWR@HTML@musSixteenthDotted}{} |
| 201 |
{\HTMLunicode{1D161}\HTMLunicode{1D16D}} |
| 202 |
\NewDocumentCommand{\LWR@HTML@musThirtySecondDotted}{} |
| 203 |
{\HTMLunicode{1D162}\HTMLunicode{1D16D}} |
| 204 |
\NewDocumentCommand{\LWR@HTML@musSixtyFourthDotted}{} |
| 205 |
{\HTMLunicode{1D163}\HTMLunicode{1D16D}} |
| 206 |
|
| 207 |
\LWR@formatted{musWholeDotted} |
| 208 |
\LWR@formatted{musHalfDotted} |
| 209 |
\LWR@formatted{musQuarterDotted} |
| 210 |
\LWR@formatted{musEighthDotted} |
| 211 |
\LWR@formatted{musSixteenthDotted} |
| 212 |
\LWR@formatted{musThirtySecondDotted} |
| 213 |
\LWR@formatted{musSixtyFourthDotted} |
| 214 |
|
| 215 |
\endinput |
| 216 |
%% |
| 217 |
%% End of file `lwarp-musicography.sty'. |