Re: [Tex-music] Swing
I think I can do what you want in MusiXTeX with the ossia philosophy. I used the tuplet package, but it seems if I want to shorten the tuplet length the gap which accomodates the '3' diseappears. Regards, Jean-Pierre Coulon cou...@obs-nice.fr\input musixtex \input tuplet \instrumentnumber1 \setstaffs1{2} % \nobarmessages\nolinemessages% \nobarnumbers \newbox\myossia \setbox\myossia=\hbox to 0pt{\kern-2.3mm\vbox{\hsize=22mm% \nostartrule% \def\tuplettxt{\smalltype\it3\/\/} \smallmusicsize\setsize1{\smallvalue}% \setclefsymbol1\empty% \generalsignature0\generalmeter{\empty}\nobarnumbers\setstaffs11% \setlines10 \setclef1\treble% \parindent=0mm% \setclefsymbol1\empty \startextract% \znotes\ibu1g0\qb1g\en% \hardspace{5.4mm}% \znotes\tqh1g\en% \hardspace{4mm}% \znotes\zcharnote h{=}\en \hardspace{4mm}% \NOTes\uptuplet q{1.2}0\qu g\en %\hardspace{6mm}% \znotes\cu g\en \zendextract}\hss} \setstaffs12 \parindent=0mm \generalmeter{\meterC} \generalsignature1 \startbarno1 \setclef1{\bass\treble} %\setname1{N$^o$2} \interstaff{10} \nobarnumbers \startpiece% \znotes|\zcharnote n{\box\myossia}\en \qspace% \Notes\cl N\ds\zq d\cl b\ds|\hpause\en \Notes\cl N\ds|\qp\en \Notes\zq d\cl b|\ibl2q{-1}\qbp2r\en \notes\ds|\qsk\tbbl2\tqb2{^q}\en \bar% 2 \Notes\cl N\ds\zq d\cl b\ds|\cl s\ds\cl r\ds\en \Notes\cl N\ds\zq d\cl b\ds|\cl{^o}\ds\cl p\ds\en \bar% 3 \Notes\cl N\ds\zq d\cl b\ds|\hl n\en \Notes\cl N|\ibl2k0\qbp2k\en \notes\ds|\qsk\tbbl2\qb2k\en \Notes\zq d\cl b|\qbp2p\en \notes\ds|\qsk\tbbl2\tqb2o\en \bar% 4 \Notes\cl N|\ibl2m1\isluru3m\qbp2m\en \notes\ds|\qsk\tbbl2\tslur3n\qb2n\en \Notes\zq d\cl b|\qbp2r\en \notes\ds|\qsk\tbbl2\tqb2q\en \Notes\cl N|\ibl2o1\isluru3o\qbp2o\en \notes\ds|\qsk\tbbl2\tslur3p\qb2p\en \Notes\zq d\cl b|\qbp2u\en \notes\ds|\qsk\tbbl2\tqb2t\en \Stoppiece \eject \end --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] Swing
Jill-Jênn VIE wrote: Is there a way in PMX (or, I bet, rather MusiXTeX) to put the well-known swing tempo indication: http://totalguitarist.com/lessons/reading/notation/guide/notes-and- rhythm/swung-8th-notes.gif ? Afraid I don't quite have enough time this morning to try it myself, but in principle: * Typeset the symbol itself inside \startextract on a stave with no lines (as just a simple pair of beamed quavers and a triplet all on the same note - the equals will have to be a text insert with some spacing) * Put this inside \setbox0=\hbox{...} to store it for later use * When you want the symbol, use \zcharnote{pitch}{\box0} within your actual score If you want to use the symbol more than once, use \newbox\swingbox and then \setbox\swingbox=... and then later on \copy\swingbox instead of \box0. And obviously if you want to use the symbol in more than one score, package it up in a macro! It doesn't look to me like something which should need an additional package. HTH, David --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] Swing
Here is another way of achieving it (with PSTricks): --- \input pstricks\relax \input pst-node\relax \input musixtex\relax \input musixlyr\relax \setlyrics{solo}{% No-bo-dy knows the trou-ble I see No-bo-dy knows my sor-row} \assignlyrics{1}{solo} \setsongraise{1}{2\internote} \forcelyrhyphenstrue --- 1 1 4 4 0 6 0 1 1 1 20 0 t ./ \\def\rythm{\ \\loffset{2}{\zcharnote{12}{\vbox to0pt{\vss\hbox{\kern-3pt\smallnotesize\ibu010\zqb01\off{15pt}\ \\tbu0\zqb01\kern9pt=\kern3pt\rlap{\ \\zcharnote{8}{\kern.8pt\roffset{.8}{\pnode(0,0){A}}\ \\roffset{.4}{\pnode(20pt,0\internote){B}}\ \\ncdiag[arm=4pt,angleA=90,angleB=90,linewidth=.4pt]{A}{B}\lput*{0}{{\eightit 3}}}\ \\smallnotesize\zqu 1}\kern18pt\smallnotesize\zcu 1}\ w170m Abrp % \rythm\ b84a d-a ea \beginmel\ ga st \endmel\ g4d st a8a / b8a ba ba \beginmel\ ba st \endmel\ b4 st r4 / b8a d-a ea \beginmel\ ga st \endmel\ g4d st g8a / e8a \beginmel\ d8a st d4 st st \endmel\ d4 st r4 / Olivier --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music