List of supported MEI elements and attributes
Required attributes are shown in bold.
-
<abbr>@source
-
<accid>@color@edit(for value 'paren')@fontsize@func@ho@place(for value 'above')@vo@xml:id
-
<app> -
<arpeg>@arrow@color@fontsize@ho@order@plist@vo@startid@xml:id
-
<artic>@artic@color@fontsize@ho@place@vo@xml:id
-
<barLine>@color@form@xml:id
-
<beam>@color@form(for values 'acc' and 'rit')@place@staff@xml:id
-
<beamSpan>@color@form(for values 'acc' and 'rit')@xml:id
-
<bend>@color@curvedir@xml:id
-
<bracketSpan>@color@endid@form(accepts all values)@ho@lform@lwidth@startid@vo@xml:id
-
<breath>@color@fontsize@ho@startid@vo@xml:id
-
<bTrem>@num@num.place@num.visible@unitdur@xml:id
-
<caesura>@color@fontsize@ho@startid@vo@xml:id
-
<change> -
<changeDesc> -
<choice> -
<chord>@artic@beam@copyof@dots@dots.ges@dur@dur.ges@fermata@fontsize@grace@ho@lv@oct@ornam@slur@staff@stem.dir@stem.mod@stem.posstem.visible@tie@visible@vo
-
<clef>@color@dis@dis.place@fontsize@line@shape
-
<corr> -
<dir>@color@ho@place@startid@vo
-
<dot>(as child of<note>and<rest>)@color@ho@vo
-
<dynam>@color@endid@extender@ho@lendsym(for values 'arrow' and 'none')@lform@lwidth@place@startid@vo@xml:id
-
<editionStmt> -
<ending>@n
-
<expan> -
<f> -
<fb> -
<fermata>@color@fontsize@glyph.name@glyph.num@ho@place@shape@startid@vo@xml:id
-
<fileDesc> -
<fing>@color@place@startid@xml:id
-
<fingGrp> -
<fTrem>@beams@beams.float@float.gap@unitdur@xml:id
-
<gliss>@color@ho@lendsym(for values 'arrow' and 'none')@lform@lstartsym(for value 'none')@lwidth@startid@vo@xml:id
-
<graceGrp>@attach@color@grace
-
<group> -
<grpSym>@ho@symbol@vo
-
<hairpin>@color@endid@form@ho@lform@lwidth@niente@opening@place@startid@vo@xml:id
-
<harm>@color@place@staff(for figured bass)@startid(for harmonic symbols)@tstamp(for figured bass)
-
<harpPedal>@a@b@c@color@d@e@f@g@ho@vo@startid@xml:id
-
<instrDef>@midi.instrnum@midi.instrname
-
<keyAccid>@accid@oct@pname
-
<keySig>@accid@cancelaccid@mode@pname@sig@visible@xml:id
-
<l> -
<label> -
<labelAbbr>(within<staffGrp>and<staffDef>) -
<layer>@beam.group@n
-
<lem> -
<lg> -
<ligature> -
<lv>@curvedir@ho@lform@lwidth@startid@vo@xml:id
-
<mdiv>@label@n
-
<measure>@metcon@left@n@right
-
<mensur>@dot@sign@slash
-
<meterSig>@copyof@count@fontfam@fontname@fontsize@fontstyle@fontweight@form@sym@unit@visible
-
<meterSigGrp>@copyof@func(for value 'mixed')
-
<mordent>@accidlower@accidupper@color@fontsize@form@glyph.name@glyph.num@ho@long@place@startid@vo@xml:id
-
<mRest>@color@copyof@dur@dur.ges@fermata@fontsize@ho@loc@sameas(will revert staff position)@visible@vo@xml:id
-
<mSpace>@dots@dur@dur.ges
-
<multiRest>@block@color@loc@num@width(will set minimum length)@xml:id
-
<music> -
<note>@accid@accid.ges@artic@beam@color@copyof@dots@dots.ges@dur@dur.ges@enclose@fermata@fontsize@gliss@grace@head.color@head.mod@head.rotation@head.shape@head.visible@ho@lv@num@numbase@oct@ornam@pname@slur@staff(unsupported for chorded notes)@stem.dir@stem.len@stem.mod@stem.posstem.visible@tie@visible@xml:id
-
<octave>@color@dis@dis.place@endid@ho@lform@lwidth@startid@vo@xml:id
-
<orig>@source
-
<ornam>@accidlower@accidupper@color@fontsize@place@startid@xml:id
-
<p> -
<pb>@n@source
-
<pedal>@color@dir@endid@fontsize@form@func@ho@lform@lwidth@startid@vo@xml:id
-
<phrase>@bezier@color@curvedir(for values 'above' and 'below')@endid@endho@endvo@ho@lform@lwidth@startid@startho@startvo@vo@xml:id
-
<publisher> -
<pubStmt> -
<rdg>@resp@source
-
<ref> -
<reg> -
<reh>@color@fontsize@ho@vo@xml:id
-
<revisionDesc> -
<rend>@color@fontfam@fontname@fontsize@fontstyle@fontweight@halign@rend@rotation
-
<rest>@beam@color@copyof@dots@dots.ges@dur@dur.ges@fermata@fontsize@ho@loc@num@numbase@oloc@ploc@sameas(will revert staff position)@staff@visible@vo@xml:id
-
<sb>@n@source
-
<score> -
<scoreDef>@bar.method(for value 'takt')@beam.group@clef.color@clef.dis@clef.dis.place@clef.line@clef.shape@dynam.dist@ending.rend(for values 'top' and 'grouped')@harm.dist@key.accid@key.mode@key.pname@key.sig(unsupported for value 'mixed')@lyric.fam@lyric.name@lyric.style@lyric.weight@mensur.color@mensur.dot@mensur.sign@mensur.slash(for value '1')@meter.count@meter.form@meter.showchange@meter.sym@meter.unit@meter.visible@midi.bpm@mnum.visible@optimize@page.botmar@page.height@page.leftmar@page.rightmar@page.scale@page.topmar@page.width@pedal.style(for values 'line' and 'pedstar')@slur.lwidth@spacing.packexp@spacing.staff(for single values)@spacing.system(for single values)@system.leftline@system.leftmar(affects only first system)@text.dist@tie.lwidth@vu.height(for values in 'pt')
-
<section> -
<slur>@bezier@color@curvedir(for values 'above' and 'below')@endid@endho@endvo@ho@lform@lwidth@startid@startho@startvo@vo@xml:id
-
<space>@cutout@dur
-
<staff>@copyof@n
-
<staffDef>@beam.group@clef.dis@clef.dis.place@clef.line@clef.shape@dynam.dist@harm.dist@key.accid@key.mode@key.pname@keysig@keysig.cancelaccid@keysig.visible@lines@lines.visible@lyric.fam@lyric.name@lyric.style@lyric.weight@mensur.color@mensur.dot@mensur.sign@mensur.slash(for value '1')@meter.count@meter.form@meter.sym@meter.unit@n@notationtype@pedal.style(for values 'line' and 'pedstar')@scale(!! lilypond 2.19 and up !!)@slur.lform@slur.lwidth@text.dist@tie.lwidth@trans.diat@trans.semi
-
<staffGrp>@barthru@label@n@symbol
-
<syl>@con@wordpos@xml:id
-
<symbol>@color@glyph.name@glyph.num@xml:id
-
<tempo>@color@ho@midi.bpm@mm@mm.dots@mm.unit@place@staff@startid@tstamp(for value '1')@vo@xml:id
-
<tie>@bezier@color@curvedir(for values 'above' and 'below')@endho@endvo@ho@lform@lwidth@startid@startho@startvo@vo@xml:id
-
<trill>@accidlower@accidupper@color@endid@fontsize@glyph.name@glyph.num@ho@lendsym(for values 'arrow' and 'none')@lform@lstartsym(for value 'none')@lwidth@place@startid@vo@xml:id
-
<tuplet>@bracket.place@bracket.visible@color@copyof@num@num.format@num.place@num.visible@numbase@xml:id(assigned to LilyPond's TupletNumber grob)
-
<tupletSpan>@bracket.place@bracket.visible@color@copyof@endid@num@num.format@num.place@num.visible@numbase@startid@xml:id(assigned to LilyPond's TupletNumber grob)
-
<turn>@accidlower@accidupper@color@fontsize@form@glyph.name@glyph.num@ho@place@startid@vo@xml:id
-
<verse>@color@lyric.style@lyric.weight@n
-
<work> -
<workDesc>
att.color supports hex/RGB/HSL values and color names
att.pages have to be defined in the first <scoreDef>
@xml:id gets converted to @id in SVG
data.LINEWIDTH (@lwidth) works for values from data.LINEWIDTHTERM
data.STEMDIRECTION (@stem.dir) works for values from data.STEMDIRECTION.basic
data.STEMPOSITION (@stem.pos) will only affect stem direction
fb is printed by default above its connected staff
fb is not shown by default on rhythmic staves
octave needs corresponding @oct.ges information on notes to work as expected