You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tex-compiler/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty

168 lines
4.8 KiB

%%
%% This is file `lwarp-musicography.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% lwarp.dtx (with options: `musicography')
%% This is a generated file.
%% Copyright 2016-2020 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackagePass{musicography}[2019/05/28]
\NewDocumentCommand{\LWR@HTML@musSymbol}{ O{\musFont} m m m m }{%
\begin{lateximage}%
{#1\kern#2\raisebox{#3}{#5}\kern#4}%
\end{lateximage}%
}
\LWR@formatted{musSymbol}
\NewDocumentCommand{\LWR@HTML@musStemmedNote}{ m }{%
\begin{lateximage}%
\musSymbol{0.05em}{0.5ex}{0.2em}{#1\musStem}%
\end{lateximage}%
}
\LWR@formatted{musStemmedNote}
\NewDocumentCommand{\LWR@HTML@musFlaggedNote}{ m m }{%
\begin{lateximage}%
\musSymbol{0.05em}{0.5ex}{0pt}{#1\musStem}%
\musSymbol{0pt}{0pt}{0.9em}{#2}%
\end{lateximage}%
}
\LWR@formatted{musFlaggedNote}
\NewDocumentCommand{\LWR@HTML@musDottedNote}{ m }{%
\begin{lateximage}%
#1\musDot%
\end{lateximage}%
}
\LWR@formatted{musDottedNote}
\NewDocumentCommand{\LWR@HTML@musMeter}{ m m }{%
\begin{lateximage}*[#1/#2][#1#2]*%
\musStack{#1 #2}\kern0.05em%
\end{lateximage}%
}
\LWR@formatted{musMeter}
\NewDocumentCommand{\LWR@HTML@meterCplus}{ m }{%
\begin{lateximage}*[C#1]*%
\meterC{}\kern-0.7pt#1%
\end{lateximage}%
}
\LWR@formatted{meterCplus}
\NewDocumentCommand{\LWR@HTML@meterC}{}{%
\begin{lateximage}*[C]*%
\musSymbolMeter{\symbol{83}}%
\end{lateximage}%
}
\LWR@formatted{meterC}
\NewDocumentCommand{\LWR@HTML@meterCutC}{}{%
\begin{lateximage}*[C|]*%
\musSymbolMeter{\symbol{82}}%
\end{lateximage}%
}
\LWR@formatted{meterCutC}
\NewDocumentCommand{\LWR@HTML@meterCThreeTwo}{}{%
\begin{lateximage}*[C3/2]*%
\meterCplus{\musStack{3 2}}%
\end{lateximage}%
}
\LWR@formatted{meterCThreeTwo}
\NewDocumentCommand{\LWR@HTML@meterO}{}{\HTMLunicode{25EF}}
\LWR@formatted{meterO}
\newcommand{\LWR@null@noFig}[1][]{}%
\NewDocumentCommand{\LWR@HTML@musFig}{ m }{%
\begin{lateximage}*[%
{% ALT text for copy/paste
\LetLtxMacro\noFig\LWR@null@noFig%
\LetLtxMacro\musSharp\LWR@HTML@musSharp%
\LetLtxMacro\musDoubleSharp\LWR@HTML@musDoubleSharp%
\LetLtxMacro\musFlat\LWR@HTML@musFlat%
\LetLtxMacro\musDoubleFlat\LWR@HTML@musDoubleFlat%
\LetLtxMacro\musNatural\LWR@HTML@musNatural%
{#1}% braces here because \noFig uses []
}%
]*%
\musStack[\musFigFont]{#1}%
\end{lateximage}%
}
\LWR@formatted{musFig}
\NewDocumentCommand{\LWR@HTML@musFlat} {}{\HTMLunicode{266D}}
\NewDocumentCommand{\LWR@HTML@musDoubleFlat} {}{\HTMLunicode{1D12B}}
\NewDocumentCommand{\LWR@HTML@musSharp} {}{\HTMLunicode{266F}}
\NewDocumentCommand{\LWR@HTML@musDoubleSharp}{}{\HTMLunicode{1D12A}}
\NewDocumentCommand{\LWR@HTML@musNatural} {}{\HTMLunicode{266E}}
\LWR@formatted{musFlat}
\LWR@formatted{musDoubleFlat}
\LWR@formatted{musSharp}
\LWR@formatted{musDoubleSharp}
\LWR@formatted{musNatural}
\NewDocumentCommand{\LWR@HTML@musWhole} {}{\HTMLunicode{1D15D}}
\NewDocumentCommand{\LWR@HTML@musHalf} {}{\HTMLunicode{1D15E}}
\NewDocumentCommand{\LWR@HTML@musQuarter} {}{\HTMLunicode{1D15F}}
\NewDocumentCommand{\LWR@HTML@musEighth} {}{\HTMLunicode{1D160}}
\NewDocumentCommand{\LWR@HTML@musSixteenth} {}{\HTMLunicode{1D161}}
\NewDocumentCommand{\LWR@HTML@musThirtySecond} {}{\HTMLunicode{1D162}}
\NewDocumentCommand{\LWR@HTML@musSixtyFourth} {}{\HTMLunicode{1D163}}
\LWR@formatted{musWhole}
\LWR@formatted{musHalf}
\LWR@formatted{musQuarter}
\LWR@formatted{musEighth}
\LWR@formatted{musSixteenth}
\LWR@formatted{musThirtySecond}
\LWR@formatted{musSixtyFourth}
\NewDocumentCommand{\LWR@HTML@musWholeDotted}{}
{\HTMLunicode{1D15D}\HTMLunicode{1D16D}}
\NewDocumentCommand{\LWR@HTML@musHalfDotted}{}
{\HTMLunicode{1D15E}\HTMLunicode{1D16D}}
\NewDocumentCommand{\LWR@HTML@musQuarterDotted}{}
{\HTMLunicode{1D15F}\HTMLunicode{1D16D}}
\NewDocumentCommand{\LWR@HTML@musEighthDotted}{}
{\HTMLunicode{1D160}\HTMLunicode{1D16D}}
\NewDocumentCommand{\LWR@HTML@musSixteenthDotted}{}
{\HTMLunicode{1D161}\HTMLunicode{1D16D}}
\NewDocumentCommand{\LWR@HTML@musThirtySecondDotted}{}
{\HTMLunicode{1D162}\HTMLunicode{1D16D}}
\NewDocumentCommand{\LWR@HTML@musSixtyFourthDotted}{}
{\HTMLunicode{1D163}\HTMLunicode{1D16D}}
\LWR@formatted{musWholeDotted}
\LWR@formatted{musHalfDotted}
\LWR@formatted{musQuarterDotted}
\LWR@formatted{musEighthDotted}
\LWR@formatted{musSixteenthDotted}
\LWR@formatted{musThirtySecondDotted}
\LWR@formatted{musSixtyFourthDotted}
\endinput
%%
%% End of file `lwarp-musicography.sty'.