From 1f2683ba3ec9c1855d5518e773c72d2241637449 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 30 Jan 2020 03:00:45 +0000 Subject: CTAN sync 202001300300 --- macros/latex/contrib/musicography/README.md | 2 +- macros/latex/contrib/musicography/musicography.pdf | Bin 328394 -> 350188 bytes macros/latex/contrib/musicography/musicography.sty | 10 +++++++--- macros/latex/contrib/musicography/musicography.tex | 20 +++++++++++++------- 4 files changed, 21 insertions(+), 11 deletions(-) (limited to 'macros/latex/contrib/musicography') diff --git a/macros/latex/contrib/musicography/README.md b/macros/latex/contrib/musicography/README.md index da3feec9f0..7fb0add3ec 100644 --- a/macros/latex/contrib/musicography/README.md +++ b/macros/latex/contrib/musicography/README.md @@ -2,7 +2,7 @@ This package makes available the most commonly used symbols in writing about music in a way that can be used with `pdflatex` and looks consistent and -attractive. +attractive. (It also works with `xelatex`.) It includes accidentals, meters, and notes of different rhythmic values. The package provides a flexible, user-friendly interface written using `xparse`. diff --git a/macros/latex/contrib/musicography/musicography.pdf b/macros/latex/contrib/musicography/musicography.pdf index 3d8ab64a0b..59f48171c2 100644 Binary files a/macros/latex/contrib/musicography/musicography.pdf and b/macros/latex/contrib/musicography/musicography.pdf differ diff --git a/macros/latex/contrib/musicography/musicography.sty b/macros/latex/contrib/musicography/musicography.sty index dad5ff27f4..0e36b46a89 100644 --- a/macros/latex/contrib/musicography/musicography.sty +++ b/macros/latex/contrib/musicography/musicography.sty @@ -1,8 +1,8 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{musicography}[2019/05/28 +\ProvidesPackage{musicography}[2020/01/29 Symbols for music writing with pdflatex] -% Copyright 2019 Andrew A. Cashner, andrewacashner@gmail.com +% Copyright 2020 Andrew A. Cashner, andrewacashner@gmail.com % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -19,6 +19,9 @@ % and the documentation file musicography.tex. % CHANGE LOG +% 2020-01-29 - Reduced stack gap for \musFig +% 2019-11-24 - Fix problem with \MeterCThreeTwo where numerals were being +% printed next to each other instead of stacked. % 2019-05-28 - Fix issue #1: % + Correct notehead symbol for values < quarter note % (was hollow, should be filled) @@ -194,6 +197,7 @@ \let\musFontLarge\musFontBig } \NewDocumentCommand{\musFig}{ m }{% + \setstackgap{S}{1pt}% \musStack[\musFigFont]{#1}% } \NewDocumentCommand{\noFig}{ O{5} }{% @@ -211,7 +215,7 @@ \meterCplus{\musNumFont{3}}% } \NewDocumentCommand{\meterCThreeTwo}{}{% - \meterCplus{\musStack{3}{2}}% + \meterCplus{{\footnotesize\stackanchor[1pt]{3}{2}}}% } % Ternary meter used in 17th-century Spanish music \NewDocumentCommand{\meterCZ}{}{% diff --git a/macros/latex/contrib/musicography/musicography.tex b/macros/latex/contrib/musicography/musicography.tex index 2b7981c188..ce0777b3b7 100644 --- a/macros/latex/contrib/musicography/musicography.tex +++ b/macros/latex/contrib/musicography/musicography.tex @@ -14,8 +14,7 @@ {\end{tabular}\end{quote}} \usepackage[ - pdftitle={The musicography Package: Symbols for Music Writing with - pdflatex}, + pdftitle={The musicography Package: Symbols for Music Writing}, pdfauthor={Andrew A. Cashner}, pdfsubject={LaTeX package}, pdfkeywords={LaTeX, symbols, music, musicology, humanities} ]{hyperref} @@ -27,18 +26,19 @@ {\nolinkurl{andrewacashner@gmail.com}}% }% } -\date{May 28, 2019} +\date{January 29, 2020} \begin{document} \maketitle -Font packages for \code{pdflatex} only provided a limited range of musical -symbols. +Most \LaTeX{} font packages and freely available fonts only provided a limited +range of musical symbols. The \code{lilyglyphs} package uses Lilypond's fonts, but requires \code{lualatex}. This package makes available the most commonly used symbols in writing about -music in a way that can be used with \code{pdflatex} and looks consistent and -attractive. +music in a way that looks consistent and attractive. +It is especially useful for \code{pdflatex} but also works alongside Unicode +fonts with \code{xelatex}. It includes accidentals, meters, notes of different rhythmic values, and automatic formatting of figured bass. @@ -46,6 +46,9 @@ This package builds on the approach used in the \code{harmony} package, where the symbols are taken from the MusiXTeX fonts. But it provides a larger range of symbols and a more flexible, user-friendly interface written using \code{xparse}. +The package is meant to work hand-in-hand with my \code{semantic-markup} +package, and overrides some of its music-symbol commands with better +alternatives. \tableofcontents @@ -193,6 +196,9 @@ See \verb|\musSymbol| and \verb|\musAccidental| in the code listing below. \section{Changes} \begin{itemize} + \item[2020-01-29] Reduced stack gap for \verb|\musFig| + \item[2019/11/24] Fix \verb|\MeterCThreeTwo| so that numbers are stacked + and aligned correctly \item[2019/05/28] Bux fixes and new features, especially figured bass \begin{itemize} \item Fix issue 1 on Bitbucket, thanks to Christian Mondrup -- cgit v1.2.3