<div dir="ltr"><div><div><div>Hi Craig,<br><br></div>Thanks for your reply! I had already discovered @color, so an explanation of how to use @type with CSS would be great. <br><br></div>Thanks,<br></div>Reinier<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-16 7:45 GMT+02:00 Craig Sapp <span dir="ltr"><<a href="mailto:craigsapp@gmail.com" target="_blank">craigsapp@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Reinier,<div><br></div><div>Verovio does not (yet) support note@head.color, but it does support note@color which will color the entire note (notehead, accidental, stem, and articulation):</div><div><img src="cid:ii_15f23abd3c596676" alt="Inline images 1" width="409" height="186"><br></div><div>Example MEI data:</div><div><span style="font-family:monospace,monospace;font-size:x-small"><note dur="4" oct="4" pname="c" accid.ges="n" /></span><br></div><div><div><font size="1" face="monospace, monospace"><note dur="4" oct="4" pname="d" color="limegreen" accid="f" /></font></div><div><font size="1" face="monospace, monospace"><note dur="4" oct="4" pname="e" color="violet" accid="s" /></font></div><div><font size="1" face="monospace, monospace"><note dur="4" oct="4" pname="f" color="chocolate" accid="x" </font><span style="font-family:monospace,monospace;font-size:x-small">artic="acc" /></span></div><div><br></div></div><div>Full example:</div><div><br></div><div><div><font size="1" face="monospace, monospace"><?xml version="1.0" encoding="UTF-8"?></font></div><div><font size="1" face="monospace, monospace"><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng" target="_blank">http://music-encoding.<wbr>org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://relaxng.org/ns/structure/1.0" target="_blank">http://relaxng.<wbr>org/ns/structure/1.0</a>"?></font></div><div><font size="1" face="monospace, monospace"><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng" target="_blank">http://music-encoding.<wbr>org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://purl.oclc.org/dsdl/schematron" target="_blank">http://purl.<wbr>oclc.org/dsdl/schematron</a>"?></font></div><div><font size="1" face="monospace, monospace"><mei xmlns="<a href="http://www.music-encoding.org/ns/mei" target="_blank">http://www.music-<wbr>encoding.org/ns/mei</a>" meiversion="4.0.0"></font></div><div><font size="1" face="monospace, monospace">    <meiHead></font></div><div><font size="1" face="monospace, monospace">        <fileDesc></font></div><div><font size="1" face="monospace, monospace">            <titleStmt></font></div><div><font size="1" face="monospace, monospace">                <title /></font></div><div><font size="1" face="monospace, monospace">            </titleStmt></font></div><div><font size="1" face="monospace, monospace">            <pubStmt /></font></div><div><font size="1" face="monospace, monospace">        </fileDesc></font></div><div><font size="1" face="monospace, monospace">        <encodingDesc></font></div><div><font size="1" face="monospace, monospace">            <appInfo></font></div><div><font size="1" face="monospace, monospace">                <application isodate="2017-10-15T22:33:19" version="2.0.0-dev-ae70647-<wbr>dirty"></font></div><div><font size="1" face="monospace, monospace">                    <name>Verovio</name></font></div><div><font size="1" face="monospace, monospace">                    <p>Transcoded from Humdrum</p></font></div><div><font size="1" face="monospace, monospace">                </application></font></div><div><font size="1" face="monospace, monospace">            </appInfo></font></div><div><font size="1" face="monospace, monospace">        </encodingDesc></font></div><div><font size="1" face="monospace, monospace">        <workDesc></font></div><div><font size="1" face="monospace, monospace">            <work></font></div><div><font size="1" face="monospace, monospace">                <titleStmt></font></div><div><font size="1" face="monospace, monospace">                    <title /></font></div><div><font size="1" face="monospace, monospace">                </titleStmt></font></div><div><font size="1" face="monospace, monospace">            </work></font></div><div><font size="1" face="monospace, monospace">        </workDesc></font></div><div><font size="1" face="monospace, monospace">    </meiHead></font></div><div><font size="1" face="monospace, monospace">    <music></font></div><div><font size="1" face="monospace, monospace">        <body></font></div><div><font size="1" face="monospace, monospace">            <mdiv></font></div><div><font size="1" face="monospace, monospace">                <score></font></div><div><font size="1" face="monospace, monospace">                    <scoreDef xml:id="scoredef-<wbr>0000000149144877"></font></div><div><font size="1" face="monospace, monospace">                        <staffGrp xml:id="staffgrp-<wbr>0000000843432731"></font></div><div><font size="1" face="monospace, monospace">                            <staffDef xml:id="staffdef-<wbr>0000001439065492" clef.shape="G" clef.line="2" meter.count="4" meter.unit="4" n="1" lines="5" /></font></div><div><font size="1" face="monospace, monospace">                        </staffGrp></font></div><div><font size="1" face="monospace, monospace">                    </scoreDef></font></div><div><font size="1" face="monospace, monospace">                    <section xml:id="section-<wbr>0000001557757882"></font></div><div><font size="1" face="monospace, monospace">                        <measure xml:id="measure-L3" right="end" n="1"></font></div><div><font size="1" face="monospace, monospace">                            <staff xml:id="staff-L3F1N1" n="1"></font></div><div><font size="1" face="monospace, monospace">                                <layer xml:id="layer-L3F1N1" n="1"></font></div><div><font size="1" face="monospace, monospace">                                    <note xml:id="note-L4F1" dur="4" oct="4" pname="c" accid.ges="n" /></font></div><div><font size="1" face="monospace, monospace">                                    <note xml:id="note-L5F1" type="marked" dur="4" oct="4" pname="d" color="limegreen" accid="f" /></font></div><div><font size="1" face="monospace, monospace">                                    <note xml:id="note-L6F1" type="marked" dur="4" oct="4" pname="e" color="violet" accid="s" /></font></div><div><font size="1" face="monospace, monospace">                                    <note xml:id="note-L7F1" type="marked" dur="4" oct="4" pname="f" color="chocolate" accid="x"></font></div><div><font size="1" face="monospace, monospace">                                        <artic xml:id="artic-L7F1" artic="acc" /></font></div><div><font size="1" face="monospace, monospace">                                    </note></font></div><div><font size="1" face="monospace, monospace">                                </layer></font></div><div><font size="1" face="monospace, monospace">                            </staff></font></div><div><font size="1" face="monospace, monospace">                        </measure></font></div><div><font size="1" face="monospace, monospace">                    </section></font></div><div><font size="1" face="monospace, monospace">                </score></font></div><div><font size="1" face="monospace, monospace">            </mdiv></font></div><div><font size="1" face="monospace, monospace">        </body></font></div><div><font size="1" face="monospace, monospace">    </music></font></div><div><font size="1" face="monospace, monospace"></mei></font></div></div><div><br></div><div>If that is not good enough, I could explain how to use note@type and CSS to color only the notehead (I would have to test that method first).</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-=+Craig</div><div><br></div><div><br></div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 14 October 2017 at 12:08, Reinier de Valk <span dir="ltr"><<a href="mailto:reinierdevalk@gmail.com" target="_blank">reinierdevalk@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>A question with a probably very simple answer: how do I colour a note so that only the note head, and not the stem too (as with @color), is affected?<br><br></div>@head.color seems to be what I'm after, but that does not work in my version of Verovio (1.1.6):<br><br><note pname='c' oct='5' dur='8' head.color='red'/><br><br></div>Any help much appreciated!<br><br></div>Thanks,<br></div>Reinier <br></div>
<br></div></div><span class="">______________________________<wbr>_________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" rel="noreferrer" target="_blank">https://lists.uni-paderborn.de<wbr>/mailman/listinfo/mei-l</a><br>
<br></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" rel="noreferrer" target="_blank">https://lists.uni-paderborn.<wbr>de/mailman/listinfo/mei-l</a><br>
<br></blockquote></div><br></div>