The <part-name-display> element

Parent elements: <print>, <score-part>

The <part-name-display> element is used for exact formatting of multi-font text in part names to the left of the system. The print-object attribute can be used to determine what, if anything, is printed at the start of each system.

Formatting specified in the <part-name-display> element overrides formatting specified in the element.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/part-name-display/

Hierarchy

  • PartNameDisplay

Implements

Constructors

Properties

schema: {
    attributes: {
        print-object: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "texts";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof DisplayText, typeof AccidentalText];
                type: "choices";
            };
        };
    }];
    name: "part-name-display";
} = PartNameDisplay.schema

Type declaration

  • Readonly attributes: {
        print-object: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    }
    • Readonly print-object: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "texts";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof DisplayText, typeof AccidentalText];
                type: "choices";
            };
        };
    }]
  • Readonly name: "part-name-display"
schema: {
    attributes: {
        print-object: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "texts";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof DisplayText, typeof AccidentalText];
                type: "choices";
            };
        };
    }];
    name: "part-name-display";
} = ...

Type declaration

  • Readonly attributes: {
        print-object: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    }
    • Readonly print-object: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "texts";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof DisplayText, typeof AccidentalText];
                type: "choices";
            };
        };
    }]
  • Readonly name: "part-name-display"

Methods

Generated using TypeDoc