Optional opts: { Optional attributes?: Partial<StaffSizeAttributes>Optional contents?: StaffSizeContentsReadonly schemaReadonly attributes: { Readonly scaling: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: 0Readonly type: "float"Readonly contents: readonly [{ Readonly name: "staff-size"Static Readonly schemaReadonly attributes: { Readonly scaling: { Readonly type: "optional"Readonly value: { Readonly max: numberReadonly min: 0Readonly type: "float"Readonly contents: readonly [{ Readonly name: "staff-size"Generated using TypeDoc
The
<staff-size>elementParent element:
<staff-details>The
<staff-size>element indicates how large a staff space is on this staff, expressed as a percentage of the work's default scaling. Values less than 100 make the staff space smaller while values over 100 make the staff space larger. A<staff-type>of cue, ossia, or editorial implies a<staff-size>of less than 100, but the exact value is implementation-dependent unless specified here. Staff size affects staff height only, not the relationship of the staff to the left and right margins.In some cases, a
<staff-size>different than 100 also scales the notation on the staff, such as with a cue staff. In other cases, such as percussion staves, the lines may be more widely spaced without scaling the notation on the staff. The scaling attribute allows these two cases to be distinguished.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/staff-size/