Score examples: Difference between revisions

From ZMOG test wiki (master branch)
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


Without specifying the <code>inline</code> parameter, Score displays in a div, as usual: <score> { \new Staff \with { \override StaffSymbol #'line-count = #1 } { \omit Score.TimeSignature \time 6/4  \omit Score.Clef { \override Stem.length-fraction = #0.4 b'2 r } } } </score>
Without specifying the <code>inline</code> parameter, Score displays in a div, as usual: <score> { \new Staff \with { \override StaffSymbol #'line-count = #1 } { \omit Score.TimeSignature \time 6/4  \omit Score.Clef { \override Stem.length-fraction = #0.4 b'2 r } } } </score>
With sound requested, inline <score sound="1" inline="1"> { \new Staff \with { \override StaffSymbol #'line-count = #1 } { \omit Score.TimeSignature \time 6/4 \omit Score.Clef { \override Stem.length-fraction = #0.4 b'2 r } } } </score> does not display audio controls, otherwise: <score sound="1"> { \new Staff \with { \override StaffSymbol #'line-count = #1 } { \omit Score.TimeSignature \time 6/4 \omit Score.Clef { \override Stem.length-fraction = #0.4 b'2 r } } } </score>


=== T60688 staff instrument name bug ===
=== T60688 staff instrument name bug ===

Revision as of 21:53, 3 December 2026

Testing

Raw score output

T289399 inline usage

I have a patch on T289399 to allow inline use, which renders music in a <span> element instead of the usual <div>. So for example, this example from the cited page on WikiSource segment of music notation generated by Score should now form part of the text flow.

Without specifying the inline parameter, Score displays in a div, as usual:

segment of music notation generated by Score

With sound requested, inline segment of music notation generated by Score does not display audio controls, otherwise:

segment of music notation generated by Score

T60688 staff instrument name bug

Task T60688 staff with name "Clarinet" displays as "inet" instead of "Clarinet":

segment of music notation generated by Score

Conclusion: cannot reproduce with Lilypond 2.23.82 and Score from recent master using SVG output (see Special:Version).

Example Scores for SVG output

From Cadence:

segment of music notation generated by Score

Multi-system input

From String Quartet No. 1 (Górecki)

segment of music notation generated by Score

Note