From cb751fb6d992d7342f7f82ea76f29caff73e69e5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 Sep 2020 21:24:01 +0000 Subject: lilyglyphs (29sep20) git-svn-id: svn://tug.org/texlive/trunk@56473 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/lilyglyphs/commands/README-commands | 2 + .../tex/latex/lilyglyphs/commands/accidentals.inp | 120 ++++++++ .../tex/latex/lilyglyphs/commands/accordion.inp | 116 ++++++++ .../tex/latex/lilyglyphs/commands/beamednotes.inp | 81 ++++++ .../tex/latex/lilyglyphs/commands/clefs.inp | 76 +++++ .../tex/latex/lilyglyphs/commands/dynamics.inp | 97 +++++++ .../latex/lilyglyphs/commands/fancyexamples.inp | 51 ++++ .../tex/latex/lilyglyphs/commands/noteheads.inp | 48 +++ .../tex/latex/lilyglyphs/commands/numbers.inp | 53 ++++ .../tex/latex/lilyglyphs/commands/rests.inp | 141 +++++++++ .../tex/latex/lilyglyphs/commands/scripts.inp | 121 ++++++++ .../tex/latex/lilyglyphs/commands/singlenotes.inp | 321 +++++++++++++++++++++ .../latex/lilyglyphs/commands/timesignatures.inp | 63 ++++ 13 files changed, 1290 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/README-commands create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/accidentals.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/accordion.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/beamednotes.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/clefs.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/dynamics.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/fancyexamples.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/noteheads.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/numbers.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/rests.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/scripts.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/singlenotes.inp create mode 100644 Master/texmf-dist/tex/latex/lilyglyphs/commands/timesignatures.inp (limited to 'Master/texmf-dist/tex/latex/lilyglyphs/commands') diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/README-commands b/Master/texmf-dist/tex/latex/lilyglyphs/commands/README-commands new file mode 100644 index 00000000000..4666f416f02 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/README-commands @@ -0,0 +1,2 @@ +This folder contains command definitions +used in the lilyglyphs LaTeX package. \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/accidentals.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/accidentals.inp new file mode 100644 index 00000000000..1731d43d770 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/accidentals.inp @@ -0,0 +1,120 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%% +% Accidentals % +%%%%%%%%%%%%%%% + +% "accidentals.natural" +\renewcommand*{\natural}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.natural}}% +} + +%%%%%%%% +% flats +%%%%%%%% + +% "accidentals.flat" +\renewcommand*{\flat}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.2}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.flat}}% +} + +% "accidentals.flatflat" +\newcommand*{\flatflat}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.2}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.flatflat}}% +} + +%%%%%%%% +% sharps +%%%%%%%% + +% "accidentals.sharp" +\renewcommand*{\sharp}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp}}% +} + +% "accidentals.sharp.arrowup" +\newcommand*{\sharpArrowup}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp.arrowup}}% +} + +% "accidentals.sharp.arrowdown" +\newcommand*{\sharpArrowdown}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp.arrowdown}}% +} + +% "accidentals.sharp.arrowboth" +\newcommand*{\sharpArrowboth}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp.arrowboth}}% +} + +% "accidentals.sharp.slashslash.stem" +\newcommand*{\sharpSlashslashStem}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp.slashslash.stem}}% +} + +% "accidentals.sharp.slashslashslash.stemstem" +\newcommand*{\sharpSlashslashslashStemstem}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp.slashslashslash.stemstem}}% +} + +% "accidentals.sharp.slashslashslash.stem" +\newcommand*{\sharpSlashslashslashStem}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp.slashslashslash.stem}}% +} + +% "accidentals.sharp.slashslash.stemstemstem" +\newcommand*{\sharpSlashslashStemstemstem}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.sharp.slashslash.stemstemstem}}% +} + +% "accidentals.doublesharp" +\newcommand*{\doublesharp}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0.35}% + \lilyPrint[#1]{\lilyGetGlyph{accidentals.doublesharp}}% +} diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/accordion.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/accordion.inp new file mode 100644 index 00000000000..7e8849a119d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/accordion.inp @@ -0,0 +1,116 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%% +% Accordion registers % +%%%%%%%%%%%%%%%%%%%%%%% + +%------------------ +% Emmentaler glyphs + +% accordion bayan bass +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionBayanBass}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.5ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.bayanbass}% + \hspace*{-.3ex}}% +} + +% accordion discant +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionDiscant}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.6ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.discant}% + \hspace*{-.3ex}}% +} + +% accordion dot +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionDot}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.7ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.dot}}% +} + +% accordion free bass +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionFreeBass}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.5ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.freebass}}% +} + +% accordion old EE +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionOldEE}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.5ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.oldEE}}% +} + +% accordion pull +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionPull}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.2ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.pull}}% +} + +% accordion push +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionPush}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.5ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.push}}% +} + +% accordion standard bass +% created by lily-glyph-commands.py on 2013-09-23 +\newcommand*{\accordionStdBass}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=-.2}% + \hspace*{.9ex}% + \lilyPrint[#1]{\lilyGetGlyph{accordion.stdbass}% + \hspace*{-.4ex}}% +} + +%------------------------------ +% Combined glyphs, image based + +%TODO + diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/beamednotes.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/beamednotes.inp new file mode 100644 index 00000000000..a0c7fbd3fa1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/beamednotes.inp @@ -0,0 +1,81 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%% +% Beamed notes % +%%%%%%%%%%%%%%%% + +%------------------------------ +% Two notes connected by a beam + +% two beamed quavers with diagonal beam +% created by buildglyphimages.py on 2012-11-08 +\newcommand*{\twoBeamedQuavers}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.7,raise=-0.4}% + \lilyPrintImage[#1]{lily-twoBeamedQuavers}% +} + +%-------------------------------- +% Three notes connected by a beam + +% three beamed quavers +% created by lily-image-commands.py on 2013-11-21 +\newcommand*{\threeBeamedQuavers}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.9,raise=-0.6}% + \lilyPrintImage[#1]{lily-threeBeamedQuavers}% +} + +% three beamed quavers, second dotted +% created by lily-image-commands.py on 2013-11-21 +\newcommand*{\threeBeamedQuaversI}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.9,raise=-0.6}% + \lilyPrintImage[#1]{lily-threeBeamedQuaversI}% +} + +% three beamed quavers, first dotted +% created by lily-image-commands.py on 2013-11-21 +\newcommand*{\threeBeamedQuaversII}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.9,raise=-0.6}% + \lilyPrintImage[#1]{lily-threeBeamedQuaversII}% +} + +% three beamed quavers, last dotted +% created by lily-image-commands.py on 2013-11-21 +\newcommand*{\threeBeamedQuaversIII}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.9,raise=-0.6}% + \lilyPrintImage[#1]{lily-threeBeamedQuaversIII}% +} diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/clefs.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/clefs.inp new file mode 100644 index 00000000000..6fefe6137e5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/clefs.inp @@ -0,0 +1,76 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%% +% Clef glyphs % +%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%% +% \treble clef +\newcommand*{\clefG}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.2,raise=0.25}% + \lilyPrint[#1]{\lilyGetGlyph{clefs.G}}% +} + +\newcommand*{\clefGInline}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.8,raise=0.15}% + \lilyPrint[#1]{\lilyGetGlyph{clefs.G}}% +} + +%%%%%%%%%%%% +% \bass clef +\newcommand*{\clefF}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{clefs.F}}% +} + +\newcommand*{\clefFInline}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.1,raise=0.65}% + \lilyPrint[#1]{\lilyGetGlyph{clefs.F}}% +} + +%%%%%%%%%%%% +% \alto clef +\newcommand*{\clefC}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.1,raise=0.6}% + \lilyPrint[#1]{\lilyGetGlyph{clefs.C}}% +} + +\newcommand*{\clefCInline}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.9,raise=0.6}% + \lilyPrint[#1]{\lilyGetGlyph{clefs.C}}% +} diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/dynamics.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/dynamics.inp new file mode 100644 index 00000000000..209c1a8b30d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/dynamics.inp @@ -0,0 +1,97 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%% +% Dynamic Script letters % +%%%%%%%%%%%%%%%%%%%%%%%%%% + +%-------------- +% Single Glyphs + +% The dynamics letters don't have to be accessed through special commands +% but can be written through \lilyText. +% A chain of glyphs can be printed at once, +% normal space is possible between letters +% Available glyphs are + % f for forte + % p for piano + % m for mezzo + % r for rin- + % s for s- (as in sf) + % z for -z (as in sfz) + +% \lilyDynamics is just a wrapper around \lilyText +% specifying a default scaling factor +\newcommand{\lilyDynamics}[2][]{% + \setkeys{lilyDesignOptions}{scale=1.5,raise=0}% + \lilyPrint[#1]{#2}% +} + +%------------------------- +% Combined Dynamic Scripts + +% Combined dynamics aren't generally necessary +% as \lilyText takes any combination of characters as argument. +% Some combinations seem to need additonal kerning, +% so we provide predefined commands for them + +% rinforzando +\newcommand{\lilyRF}[1][]{% + \mbox{\lilyDynamics[#1]{r\hspace{0.035ex}f}}% +} + +% rinforzando with trailing z +\newcommand{\lilyRFZ}[1][]{% + \mbox{\lilyDynamics[#1]{r\hspace{0.035ex}fz}}% +} + +%------------------------ +% Graphical Dynamic Signs + +% decrescendo Hairpin +% created by buildglyphimages.py on 2012-11-08 +\newcommand*{\decrescHairpin}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.9,raise=0}% + \lilyPrintImage[#1]{lily-decrescHairpin}% +} + +% crescendo Hairpin +% created by buildglyphimages.py on 2012-11-08 +\newcommand*{\crescHairpin}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.9,raise=0}% + \lilyPrintImage[#1]{lily-crescHairpin}% +} diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/fancyexamples.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/fancyexamples.inp new file mode 100644 index 00000000000..277af281a0c --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/fancyexamples.inp @@ -0,0 +1,51 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% fancy example % +% This isn't a command for any real-world usage % +% but only an example for creating complex, % +% i.e. composed notation that can be turned % +% into a predefined command % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% example of a fancy notation +% created by genImageCommands.py on 2013-09-07 +\newcommand*{\lilyFancyExample}[1][]{% + \setkeys{lilyDesignOptions}{scale=.7,raise=-.7}% + \lilyPrintImage[#1]{lily-fancyExample}% +} diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/noteheads.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/noteheads.inp new file mode 100644 index 00000000000..5970c890d27 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/noteheads.inp @@ -0,0 +1,48 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%% +% Notes and Noteheads % +%%%%%%%%%%%%%%%%%%%%%%% + +%TODO This really is only a start +%TODO There is esp. the question of Stems + +\newcommand*{\lilyHalfNotehead}{\lilyGlyph{1.5}{"noteheads.s1"} } + +\newcommand{\dottedHalf}{\lilyHalfNotehead \lilyDot} + diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/numbers.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/numbers.inp new file mode 100644 index 00000000000..6fb6d18dc3e --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/numbers.inp @@ -0,0 +1,53 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%% +% Numbers % +%%%%%%%%%%% + +%-------------- +% Basic numbers + +% Numbers don't have to be accessed through special commands +% but can be written through \lilyText. +% Available are all arabic numbers from 0 through 9 + +%TODO: provide convenience commands with default scalings for + % fingering + % Time signatures + % figured bass + % etc? \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/rests.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/rests.inp new file mode 100644 index 00000000000..2a35421b4c6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/rests.inp @@ -0,0 +1,141 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%% +% Rests % +%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%% +% Whole note rests + +% "rests.1o - whole note rest upwards" +\newcommand*{\wholeNoteRest}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.3,raise=0.4}% + \lilyPrint[#1]{\hspace*{0.25ex}\lilyGetGlyph{rests.0o}}% +} + +% Dotted whole note rest +\newcommand*{\wholeNoteRestDotted}[1][]{% + % define the optional arguments for the dot + \setkeys{lilyDesignOptions}{scale=0.8,raise=0.2}% + % Calculate effective scale/raise and the hspace for the dot + \lilySetDotOptions[#1]{0}{0.5}{0.4}% + % Print the rest and then the dot + \wholeNoteRest[#1]\lilyDotSpace\lilyPrintDot +} + + +%%%%%%%%%%%%%%%%% +% Half note rests +%%%%%%%%%%%%%%%%% + +% "rests.1o - half note rest upwards" +\newcommand*{\halfNoteRest}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.3,raise=0.4}% + \lilyPrint[#1]{\hspace*{0.25ex}\lilyGetGlyph{rests.1o}}% +} + +% Dotted half note rest +\newcommand*{\halfNoteRestDotted}[1][]{% + % define the optional arguments for the dot + \setkeys{lilyDesignOptions}{scale=0.8,raise=0.2}% + % Calculate effective scale/raise and the hspace for the dot + \lilySetDotOptions[#1]{0}{0.5}{0.4}% + % Print the rest and then the dot + \halfNoteRest[#1]\lilyDotSpace\lilyPrintDot +} + +%%%%%%%%%%%%%%%%% +% Crotchet Rests +%%%%%%%%%%%%%%%%% + +% Crotchet Rest +\newcommand*{\crotchetRest}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.3,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{rests.2}}% +} + +% Dotted crotched rest +\newcommand*{\crotchetRestDotted}[1][]{% + % define the optional arguments for the dot + \setkeys{lilyDesignOptions}{scale=0.8,raise=0.2}% + % Calculate effective scale/raise and the hspace for the dot + \lilySetDotOptions[#1]{0}{0}{-0.5}% + % Print the rest and then the dot + \crotchetRest[#1]\lilyPrintDot% +} + +%%%%%%%%%%%%%%% +% Quaver Rests +%%%%%%%%%%%%%%% + +% Quaver Rest +\newcommand*{\quaverRest}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.3,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{rests.3}}% +} + +% Dotted crotched rest +\newcommand*{\quaverRestDotted}[1][]{% + % define the optional arguments for the dot + \setkeys{lilyDesignOptions}{scale=0.8,raise=0.2}% + % Calculate effective scale/raise and the hspace for the dot + \lilySetDotOptions[#1]{0}{0}{-0.5}% + % Print the rest and then the dot + \quaverRest[#1]\lilyPrintDot% +} + + +%%%%%%%%%%%%%%%%%% +% Semiquaver Rests +%%%%%%%%%%%%%%%%%% + +% Semiquaver Rest +\newcommand*{\semiquaverRest}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.3,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{rests.4}}% +} + +% Dotted crotchet rest +\newcommand*{\semiquaverRestDotted}[1][]{% + % define the optional arguments for the dot + \setkeys{lilyDesignOptions}{scale=0.8,raise=0.2}% + % Calculate effective scale/raise and the hspace for the dot + \lilySetDotOptions[#1]{0}{0}{-0.3}% + % Print the rest and then the dot + \semiquaverRest[#1]\lilyPrintDot% +} diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/scripts.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/scripts.inp new file mode 100644 index 00000000000..0bd8a300c96 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/scripts.inp @@ -0,0 +1,121 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%% +% Scripts % +%%%%%%%%%%%%%%% + +% "scripts.ufermata" +\newcommand*{\fermata}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.2,raise=0.5}% + \lilyPrint[#1]{\hspace*{0.55ex}\lilyGetGlyph{scripts.ufermata}}% +} + +%%%%%%%%%%%%%%% +% Articulations +%%%%%%%%%%%%%%% + +% Accent symbol +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\lilyAccent}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.5}% + \lilyPrint[#1]{\hspace{0.75ex}\lilyGetGlyph{scripts.sforzato}\hspace{-0.4ex}}% +} + +% Espressivo +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\lilyEspressivo}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.5}% + \lilyPrint[#1]{\hspace{1.7ex}\lilyGetGlyph{scripts.espr}\hspace{-0.4ex}}% +} + +% Staccato dot +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\lilyStaccato}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.6,raise=0.5}% + \lilyPrint[#1]{\hspace{0.1ex}\lilyGetGlyph{scripts.staccato}\hspace{-0.2ex}}% +} + +% Thumb pizzicato for string instruments +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\lilyThumb}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.6,raise=0.65}% + \lilyPrint[#1]{\hspace{0.1ex}\lilyGetGlyph{scripts.thumb}\hspace{-0.3ex}}% +} + +% marcato articulation +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\marcato}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{scripts.umarcato}\hspace{-0.3ex}}% +} + +% marcato articulation downwards +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\marcatoDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=1}% + \lilyPrint[#1]{\lilyGetGlyph{scripts.dmarcato}\hspace{-0.3ex}}% +} + +% portato articulation +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\portato}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.5}% + \lilyPrint[#1]{\hspace{0.2ex}\lilyGetGlyph{scripts.uportato}\hspace{-0.4ex}}% +} + +% portato articulation downwards +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\portatoDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=1}% + \lilyPrint[#1]{\hspace{0.2ex}\lilyGetGlyph{scripts.dportato}\hspace{-0.4ex}}% +} + +% staccatissimo articulation +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\staccatissimo}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.5}% + \lilyPrint[#1]{\lilyGetGlyph{scripts.ustaccatissimo}}% +} + +% tenuto articulation +% created by lily-glyph-commands.py on 2013-11-20 +\newcommand*{\tenuto}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.8}% + \lilyPrint[#1]{\lilyGetGlyph{scripts.tenuto}\hspace{-0.4ex}}% +} + diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/singlenotes.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/singlenotes.inp new file mode 100644 index 00000000000..a3a3a78a0c3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/singlenotes.inp @@ -0,0 +1,321 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%% +% Single notes % +%%%%%%%%%%%%%%%% + +% The commands are defined in British English +% and are followed by their American English synonyms + +%%%%%%%%%%%%% +% whole notes + +% whole note +\newcommand*{\semibreve}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=0.2}% + \lilyPrint[#1]{\lilyGetGlyph{noteheads.s0}}% +} +\newcommand{\wholeNote}[1][]{\semibreve[#1]} + +% dotted whole note +\newcommand*{\semibreveDotted}[1][]{% + \setkeys{lilyDesignOptions}{scale=1,raise=0.2}% + % Calculate effective scale/raise and the hspace for the dot + \lilySetDotOptions[#1]{0}{0.5}{0.4}% + % Print the rest and then the dot + \wholeNote[#1]\lilyDotSpace\lilyPrintDot +} +\newcommand*{\wholeNoteDotted}[1][]{\semibreveDotted[#1]} + +%%%%%%%%%%%% +% half notes + +% half note with upward stem +% created by buildglyphimages.py on 2012-11-06 +\newcommand*{\minim}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.2}% + \lilyPrintImage[#1]{lily-halfNote}% +} +\newcommand*{\halfNote}[1][]{\minim[#1]} + +% half note with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\minimDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.6}% + \lilyPrintImage[#1]{lily-halfNoteDown}% +} +\newcommand*{\halfNoteDown}[1][]{\minimDown[#1]} + +% dotted half note with upward stem +% created by buildglyphimages.py on 2012-11-07 +\newcommand*{\minimDotted}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.2}% + \lilyPrintImage[#1]{lily-halfNoteDotted}% +} +\newcommand*{\halfNoteDotted}[1][]{\minimDotted[#1]} + +% dotted half note with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\minimDottedDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.6}% + \lilyPrintImage[#1]{lily-halfNoteDottedDown}% +} +\newcommand*{\halfNoteDottedDown}[1][]{\minimDottedDown[#1]} + +% doubledotted half note with upward stem +% created by buildglyphimages.py on 2012-11-08 +\newcommand*{\minimDottedDouble}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.2}% + \lilyPrintImage[#1]{lily-halfNoteDottedDouble}% +} +\newcommand*{\halfNoteDottedDouble}[1][]{\minimDottedDouble[#1]} + +% doubledotted half note with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\minimDottedDoubleDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.6}% + \lilyPrintImage[#1]{lily-halfNoteDottedDoubleDown}% +} +\newcommand*{\halfNoteDottedDoubleDown}[1][]{\minimDottedDoubleDown[#1]} + + +%%%%%%%%%%% +% crotchets + +% crotchet with upward stem +% created by buildglyphimages.py on 2012-11-06 +\newcommand*{\crotchet}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.25}% + \lilyPrintImage[#1]{lily-crotchet}% +} +\newcommand*{\quarterNote}[1][]{\crotchet[#1]} + +% crotchet with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\crotchetDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-crotchetDown}% +} +\newcommand*{\quarterNoteDown}[1][]{\crotchetDown[#1]} + +% dotted crotchet with upward stem +% created by buildglyphimages.py on 2012-11-07 +\newcommand*{\crotchetDotted}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.25}% + \lilyPrintImage[#1]{lily-crotchetDotted}% +} +\newcommand*{\quarterNoteDotted}[1][]{\crotchetDotted[#1]} + +% dotted crotchet with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\crotchetDottedDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-crotchetDottedDown}% +} +\newcommand*{\quarterNoteDottedDown}[1][]{\crotchetDottedDown[#1]} + +% doubledotted crotchet with upward stem +% created by buildglyphimages.py on 2012-11-08 +\newcommand*{\crotchetDottedDouble}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.25}% + \lilyPrintImage[#1]{lily-crotchetDottedDouble}% +} +\newcommand*{\quarterNoteDottedDouble}[1][]{\crotchetDottedDouble[#1]} + +% doubledotted crotchet with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\crotchetDottedDoubleDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-crotchetDottedDoubleDown}% +} +\newcommand*{\quarterNoteDottedDoubleDown}[1][]{\crotchetDottedDoubleDown[#1]} + + +%%%%%%%%% +% quavers + +% quaver with upward stem +% created by buildglyphimages.py on 2012-11-06 +\newcommand*{\quaver}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.3}% + \lilyPrintImage[#1]{lily-quaver}% +} +\newcommand*{\eighthNote}[1][]{\quaver[#1]} + +% quaver with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\quaverDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.7}% + \lilyPrintImage[#1]{lily-quaverDown}% +} +\newcommand*{\eighthNoteDown}[1][]{\quaverDown[#1]} + +% dotted quaver with upward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\quaverDotted}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.3}% + \lilyPrintImage[#1]{lily-quaverDotted}% +} +\newcommand*{\eighthNoteDotted}[1][]{\quaverDotted[#1]} + +% dotted quaver with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\quaverDottedDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.7}% + \lilyPrintImage[#1]{lily-quaverDottedDown}% +} +\newcommand*{\eighthNoteDottedDown}[1][]{\quaverDottedDown[#1]} + +% doubledotted quaver with upward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\quaverDottedDouble}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.3}% + \lilyPrintImage[#1]{lily-quaverDottedDouble}% +} +\newcommand*{\eighthNoteDottedDouble}[1][]{\quaverDottedDouble[#1]} + +% doubledotted quaver with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\quaverDottedDoubleDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.7}% + \lilyPrintImage[#1]{lily-quaverDottedDoubleDown}% +} +\newcommand*{\eighthNoteDottedDoubleDown}[1][]{\quaverDottedDoubleDown[#1]} + + +%%%%%%%%%%%%% +% semiquavers + +% semiquaver with upward stem +% created by buildglyphimages.py on 2012-11-06 +\newcommand*{\semiquaver}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.15}% + \lilyPrintImage[#1]{lily-semiquaver}% +} +\newcommand*{\sixteenthNote}[1][]{\semiquaver[#1]} + +% semiquaver with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\semiquaverDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.8}% + \lilyPrintImage[#1]{lily-semiquaverDown}% +} +\newcommand*{\sixteenthNoteDown}[1][]{\semiquaverDown[#1]} + +% dotted semiquaver with upward stem +% created by buildglyphimages.py on 2012-11-07 +\newcommand*{\semiquaverDotted}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.15}% + \lilyPrintImage[#1]{lily-semiquaverDotted}% +} +\newcommand*{\sixteenthNoteDotted}[1][]{\semiquaverDotted[#1]} + +% dotted semiquaver with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\semiquaverDottedDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.8}% + \lilyPrintImage[#1]{lily-semiquaverDottedDown}% +} +\newcommand*{\sixteenthNoteDottedDown}[1][]{\semiquaverDottedDown[#1]} + +% doubledotted semiquaver with upward stem +% created by buildglyphimages.py on 2012-11-08 +\newcommand*{\semiquaverDottedDouble}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.15}% + \lilyPrintImage[#1]{lily-semiquaverDottedDouble}% +} +\newcommand*{\sixteenthNoteDottedDouble}[1][]{\semiquaverDottedDouble[#1]} + +% doubledotted semiquaver with downward stem +% created by buildglyphimages.py on 2012-11-13 +\newcommand*{\semiquaverDottedDoubleDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.8}% + \lilyPrintImage[#1]{lily-semiquaverDottedDoubleDown}% +} +\newcommand*{\sixteenthNoteDottedDoubleDown}[1][]{\semiquaverDottedDoubleDown[#1]} + +%%%%%%%%%%%%%%%%% +% demisemiquavers + +% demisemiquaver with upward stem +% created by lily-image-commands.py on 2013-11-18 +\newcommand*{\demisemiquaver}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-demisemiquaver}% +} +\newcommand*{\thirtysecondNote}[1][]{\demisemiquaver[#1]} + +% dotted demisemiquaver with upward stem +% created by lily-image-commands.py on 2013-11-18 +\newcommand*{\demisemiquaverDotted}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-demisemiquaverDotted}% +} +\newcommand*{\thirtysecondNoteDotted}[1][]{\demisemiquaverDotted[#1]} + +% doubledotted demisemiquaver with upward stem +% created by lily-image-commands.py on 2013-11-18 +\newcommand*{\demisemiquaverDottedDouble}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-demisemiquaverDottedDouble}% +} +\newcommand*{\thirtysecondNoteDottedDouble}[1][]{\demisemiquaverDottedDouble[#1]} + +% doubledotted demisemiquaver with downward stem +% created by lily-image-commands.py on 2013-11-18 +\newcommand*{\demisemiquaverDottedDoubleDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-demisemiquaverDottedDoubleDown}% +} +\newcommand*{\thirtysecondNoteDottedDoubleDown}[1][]{\demisemiquaverDottedDoubleDown[#1]} + +% dotted demisemiquaver with downward stem +% created by lily-image-commands.py on 2013-11-18 +\newcommand*{\demisemiquaverDottedDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-demisemiquaverDottedDown}% +} +\newcommand*{\thirtysecondNoteDottedDown}[1][]{\demisemiquaverDottedDown[#1]} + +% demisemiquaver with downward stem +% created by lily-image-commands.py on 2013-11-18 +\newcommand*{\demisemiquaverDown}[1][]{% + \setkeys{lilyDesignOptions}{scale=0.75,raise=-0.4}% + \lilyPrintImage[#1]{lily-demisemiquaverDown}% +} +\newcommand*{\thirtysecondNoteDown}[1][]{\demisemiquaverDown[#1]} diff --git a/Master/texmf-dist/tex/latex/lilyglyphs/commands/timesignatures.inp b/Master/texmf-dist/tex/latex/lilyglyphs/commands/timesignatures.inp new file mode 100644 index 00000000000..b69bae7e93b --- /dev/null +++ b/Master/texmf-dist/tex/latex/lilyglyphs/commands/timesignatures.inp @@ -0,0 +1,63 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% This file is part of the 'lilyglyphs' LaTeX package. % +% ========== % +% % +% https://github.com/openlilylib/lilyglyphs % +% http://www.openlilylib.org/lilyglyphs % +% % +% Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org % +% % +% 'lilyglyphs' is free software: you can redistribute it and/or modify % +% it under the terms of the LaTeX Project Public License, either % +% version 1.3 of this license or (at your option) any later version. % +% You may find the latest version of this license at % +% http://www.latex-project.org/lppl.txt % +% more information on % +% http://latex-project.org/lppl/ % +% and version 1.3 or later is part of all distributions of LaTeX % +% version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status 'maintained'. % +% The Current Maintainer of this work is Urs Liska (see above). % +% % +% This work consists of the files listed in the file 'manifest.txt' % +% which can be found in the 'license' directory. % +% % +% This program is distributed in the hope that it will be useful, % +% but WITHOUT ANY WARRANTY; without even the implied warranty of % +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file is part of the lilyglyphs package % +% and defines one subset of glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%% +% Time Signature glyphs % +%%%%%%%%%%%%%%%%%%%%%%%%% + +% \time 4/4 +\newcommand*{\lilyTimeC}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.7}% + \lilyPrint[#1]{\lilyGetGlyph{timesig.C44}}% +} + +% \time 2/2 +\newcommand*{\lilyTimeCHalf}[1][]{% + \setkeys{lilyDesignOptions}{scale=1.4,raise=0.7}% + \lilyPrint[#1]{\lilyGetGlyph{timesig.C22}}% +} + +% general \time n/m command (prints time signature as a fraction in emmentaler font) +% doesn't need curly braces after it +\newcommand*{\lilyTimeSignature}[3][]{% + \setkeys{lilyDesignOptions}{scale=1.1,raise=0}% + \setkeys{lilyCmdOptions}{#1}% + \adjustbox{stack=cc}{% + \baselineskip=0pt% + \lilyPrint[#1]{#2}\\% + \lilyPrint[#1]{#3}\par}% +} \ No newline at end of file -- cgit v1.2.3