Eine (nicht schöne) Lösung gefunden:

    musik1 = r```egin{music}\Ped\end{music}```
    musik2 = r```egin{music}\sPed\end{music}```
    musik3 = r```egin{music}\DEP\end{music}```
    musik4 = r```egin{music}\sDEP\end{music}```
    text.set(text.LatexRunner)
    text.preamble(r"\usepackage{times}\usepackage{musixtex}")
    c = canvas.canvas()
    c.text(0, 0, r"\LaTeX{} doesn't need to look like \LaTeX{} all the time.")
    c.text(0, 3, musik1) 
    c.text(2, 3, musik2)
    c.text(4, 3.5, musik3)
    c.text(6, 3.5, musik4)

Geht's auch leichter ?

rb

--------------------
2017.03.22

Hell-oh,

Is there a way to use music fonts? How to do?

merci et a+

René
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to