MakeMusic
SmartMusic Finale Garritan MusicXML

Line breaks in text items

Moderator: Michael Good

Line breaks in text items

Postby David Webber » Sun Feb 07, 2016 6:13 am

In a music XML file, how does one store a hard line break in a text string - for example in a stave label?

(I have this feeling that the answer ought to be obvious - please forgive me if it is!)

Dave
David Webber
 
Posts: 148
Joined: March, 2014
Reputation: 0

Re: Line breaks in text items

Postby Michael Good » Mon Feb 08, 2016 11:31 am

Just put the line break in the text. For the displayed name of a part, for instance:

Code: Select all
<part-name>Flutes 1 and 2</part-name>
<part-name-display>
  <display-text>Flutes
1 and 2</display-text>
</part-name-display>
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Re: Line breaks in text items

Postby David Webber » Thu Feb 11, 2016 11:53 am

Michael Good wrote:Just put the line break in the text....


Replied a few days ago to say thanks - but it doesn't seem to have made it here. So thanks!

Dave
David Webber
 
Posts: 148
Joined: March, 2014
Reputation: 0

Re: Line breaks in text items

Postby Michael Good » Thu Feb 11, 2016 2:43 pm

You're welcome, Dave! We would like to see you over at the W3C Music Notation Community Group as we have begun work on MusicXML 3.1.
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron