summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty107
1 files changed, 78 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty
index a124053dc8e..3359ea5d5b0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-musicography.sty
@@ -6,7 +6,7 @@
%%
%% lwarp.dtx (with options: `musicography')
%% This is a generated file.
-%% Copyright 2016-2022 Brian Dunn
+%% Copyright 2016-2025 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -15,7 +15,8 @@
%% 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]
+%%
+\LWR@ProvidesPackagePass{musicography}[2023/09/08]
\NewDocumentCommand{\LWR@HTML@musSymbol}{ O{\musFont} m m m m }{%
\begin{lateximage}%
{#1\kern#2\raisebox{#3}{#5}\kern#4}%
@@ -49,16 +50,16 @@
\LWR@formatted{musDottedNote}
-\NewDocumentCommand{\LWR@HTML@musMeter}{ m m }{%
-\begin{lateximage}*[#1/#2]*[#1#2]%
-\musStack{#1 #2}\kern0.05em%
+\NewDocumentCommand{\LWR@HTML@musMeter}{ O{\musNumFont} m m }{%
+\begin{lateximage}*[#2/#3]*?[#1#2#3]%
+\musStack{#2 #3}\kern0.05em%
\end{lateximage}%
}
\LWR@formatted{musMeter}
\NewDocumentCommand{\LWR@HTML@meterCplus}{ m }{%
-\begin{lateximage}*[C#1]*%
+\begin{lateximage}*[C#1]*?%
\meterC{}\kern-0.7pt#1%
\end{lateximage}%
}
@@ -81,6 +82,46 @@
\LWR@formatted{meterCutC}
+\NewDocumentCommand{\LWR@HTML@meterThree}{}{%
+\begin{lateximage}*[3|]*%
+ {\musNumFont{3}}%
+\end{lateximage}%
+}
+
+\LWR@formatted{meterThree}
+
+\NewDocumentCommand{\LWR@HTML@meterThreeTwo}{}{%
+\begin{lateximage}*[3/2]*%
+ \raisebox{-0.26ex}{\musMeter{3}{2}}%
+\end{lateximage}%
+}
+
+\LWR@formatted{meterThreeTwo}
+
+\NewDocumentCommand{\LWR@HTML@meterCutCThree}{}{%
+\begin{lateximage}*[C|3]*%
+ \meterCutCplus{\meterThree}%
+\end{lateximage}%
+}
+
+\LWR@formatted{meterCutCThree}
+
+\NewDocumentCommand{\LWR@HTML@meterCutCThreeTwo}{}{%
+\begin{lateximage}*[C|3/2]*%
+ \meterCutCplus{\meterThreeTwo}%
+\end{lateximage}%
+}
+
+\LWR@formatted{meterCutCThreeTwo}
+
+\NewDocumentCommand{\LWR@HTML@meterCThree}{}{%
+\begin{lateximage}*[C3]*%
+ \meterCplus{\meterThree}%
+\end{lateximage}%
+}
+
+\LWR@formatted{meterCThree}
+
\NewDocumentCommand{\LWR@HTML@meterCThreeTwo}{}{%
\begin{lateximage}*[C3/2]*%
\meterCplus{\musStack{3 2}}%
@@ -89,42 +130,50 @@
\LWR@formatted{meterCThreeTwo}
+\NewDocumentCommand{\LWR@HTML@meterCZ}{}{%
+\begin{lateximage}*[CZ]*%
+ \meterCplus{\meterZsymbol}%
+\end{lateximage}%
+}
+
+\LWR@formatted{meterCZ}
+
\NewDocumentCommand{\LWR@HTML@meterO}{}{\HTMLunicode{25EF}}
\LWR@formatted{meterO}
-\newcommand{\LWR@null@noFig}[1][]{}%
+\NewDocumentCommand{\LWR@HTML@noFig}{ O{5} }{}%
+\newcommand*{\LWR@HTML@musFlat} {\HTMLunicode{266D}}
+\newcommand*{\LWR@HTML@musDoubleFlat} {\HTMLunicode{1D12B}}
+\newcommand*{\LWR@HTML@musSharp} {\HTMLunicode{266F}}
+\newcommand*{\LWR@HTML@musDoubleSharp}{\HTMLunicode{1D12A}}
+\newcommand*{\LWR@HTML@musNatural} {\HTMLunicode{266E}}
-\NewDocumentCommand{\LWR@HTML@musFig}{ m }{%
+\LWR@formatted{noFig}
+\LWR@formatted{musFlat}
+\LWR@formatted{musDoubleFlat}
+\LWR@formatted{musSharp}
+\LWR@formatted{musDoubleSharp}
+\LWR@formatted{musNatural}
+
+\NewDocumentCommand{\LWR@HTML@musFig}{ O{r} 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 []
+ \RenewDocumentCommand{\noFig}{O{5}}{\LWR@HTML@noFig}%
+ \RenewDocumentCommand{\musSharp}{}{\LWR@HTML@musSharp}%
+ \RenewDocumentCommand{\musDoubleSharp}{}{\LWR@HTML@musDoubleSharp}%
+ \RenewDocumentCommand{\musFlat}{}{\LWR@HTML@musFlat}%
+ \RenewDocumentCommand{\musDoubleFlat}{}{\LWR@HTML@musDoubleFlat}%
+ \RenewDocumentCommand{\musNatural}{}{\LWR@HTML@musNatural}%
+ {#2}% braces here because \noFig uses []
}%
-]*%
- \musStack[\musFigFont]{#1}%
+]*?%
+ {\musFigSize\musStack[\musFigFont]{#2}[#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}}