Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHANGED. Changed \times to \tuplet. #1587

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

trevorbaca
Copy link
Member

OLD. Versions of Abjad earlier than 3.20 format Abjad tuplet objects with LilyPond's \times command:

tuplet = abjad.Tuplet("3:2", "c'4 d' e'")
string = abjad.lilypond(tuplet)
print(string)
\times 2/3
{
    c'4
    d'4
    e'4
}

NEW. Abjad 3.20 formats Abjad tuplet objects with LilyPond's \tuplet command:

tuplet = abjad.Tuplet("3:2", "c'4 d' e'")
string = abjad.lilypond(tuplet)
print(string)
\tuplet 3/2
{
    c'4
    d'4
    e'4
}

Closes #1586.

OLD. Versions of Abjad earlier than 3.20 format Abjad tuplet objects
with LilyPond's `\times` command:

    tuplet = abjad.Tuplet("3:2", "c'4 d' e'")
    string = abjad.lilypond(tuplet)
    print(string)
    \times 2/3
    {
        c'4
        d'4
        e'4
    }

NEW. Abjad 3.20 formats Abjad tuplet objects with LilyPond's `\tuplet` command:

    tuplet = abjad.Tuplet("3:2", "c'4 d' e'")
    string = abjad.lilypond(tuplet)
    print(string)
    \tuplet 3/2
    {
        c'4
        d'4
        e'4
    }

Closes #1586.
@trevorbaca trevorbaca added this to the 3.20 milestone Jun 14, 2024
@trevorbaca trevorbaca self-assigned this Jun 14, 2024
@trevorbaca trevorbaca merged commit 7558e5e into main Jun 14, 2024
3 checks passed
@trevorbaca trevorbaca deleted the trevor/change-times-to-tuplet branch June 14, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change \times to \tuplet
1 participant