w3c / mnx

Music Notation CG next-generation music markup proposal.
179 stars 18 forks source link

Determine how to handle text spans, divisions, fonts, styles #11

Open joeberkovitz opened 7 years ago

joeberkovitz commented 7 years ago

MusicXML provides for multiple elements with different styling to be combined into a single direction with its own text flow, through successive <words> and/or <direction-type> elements. There are ways of arranging for both <div>-like and <span>-like behavior (to put this in HTML terms) although the MusicXML schema isn't crystal clear on when elements get strung together horizontally vs. vertically.

Since CWMNX is more explicitly aligned with web standards, CWMNX should perhaps attempt a way of organizing and styling spans and blocks that is more in line with the way that HTML handles these concepts, including making use of CSS style properties for text.

siennamw commented 7 years ago

Yes, let's look to HTML and CSS for solutions. No need to reinvent the wheel.

Contributors unfamiliar with HTML and CSS might be interested in this HTML tutorial and this CSS tutorial.