Re: [Tex-music] Redefinition of \raisebarno{..}
Am Montag, 20. August 2012, 22:03:41 schrieb dsim...@roadrunner.com: > In this case Hermann's redefinition of \raisebarno does appear to take > effect. I think in the previous example, PMX did temporarily redefine > \raisebarno, some distance after the start, after detecting a high note in > the top staff at the start of a system that would have interfered with > PMX's default barnumber positioning. > > --Don Simons > Don, you are right! If I shift the start of the 2. system from bar 7 to bar 6 the redefinition disappears. Hermann --- 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] Redefinition of \raisebarno{..}
2012/8/20 : > In this case Hermann's redefinition of \raisebarno does appear to take > effect. I think in the previous example, PMX did temporarily redefine > \raisebarno, some distance after the start, after detecting a high note in > the top staff at the start of a system that would have interfered with PMX's > default barnumber positioning. Idiot (me). I forgot that `\input mtx` does its own `input pmx` which would then make the later `input pmx` bail out before redefining anything. I am back at my home machine now and have found the score (written in 2004). The trick is to put a strut in the bar number: \let\Writebarno\writebarno \def\writebarno{\vbox to 40pt{}{\Writebarno}} Thus, whatever PMX is doing in its \writebarno, the actual vertical space occupied will be at least 40pt. Dirk --- 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] Redefinition of \raisebarno{..}
In this case Hermann's redefinition of \raisebarno does appear to take effect. I think in the previous example, PMX did temporarily redefine \raisebarno, some distance after the start, after detecting a high note in the top staff at the start of a system that would have interfered with PMX's default barnumber positioning. --Don Simons Hermann Hinsch wrote: > Am Montag, 20. August 2012, 15:58:11 schrieb Dirk Laurie: > > 2012/8/20 Hermann Hinsch : > > > Am Montag, 20. August 2012, 10:43:12 schrieb Dirk Laurie: > > >> Your own redefinition of \raisebarno has no effect, since it appears > > >> in the tex-file > > >> before `input pmx`. > > > > > > I doubt that this is the reason because it fails in all other of my > > > scores beginning with the same order of instructions. > > > > That second paragraph with inline TeX comes right at the start > > of the PMX file inside the `---` markers, and by definition (see > > the PMX manual) will appear in the TeX file _before_ `input pmx` > > does. Since pmx.tex contains its own definition of \raisebarno, > > it will override the earlier one. > > --- > > 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 > > Dirk, please try the following source. I cannot find any redefintion. > > Style: Solo Bass > Solo: Voices B ; Clefs F ; Vocal > Bass: Voices BC ; Clefs F > Meter: m4206 > Pages: 2 > Systems: 10 > Indent: 0.05 > %Bars/line: 4 > Name: {f{$^3$}} {f{$^3$}} > Size: 16 > > %% \def\writebarno{\ifnum\barno>1\lrlap{\tenrm\it\the\barno\barnoadd}\fi} > %% \def\raisebarno{4mm} > %% \raggedbottom > %% \parskip 5\Interligne plus 7\Interligne minus 7\Interligne > %% \input musixadd > %% \input musixlit > %% \input musixdbr > %% \tenbf > > %% P > %% Ab > %% h280m > %% It100 > %% \\let\interstaffsav\interstaff\def\interstaff#1{}\interstaffsav{14}\ > % Bar 1 > B: g23d f8 X.5 e X.5 d4 e ( f2 > L: De-dit a-bys-sus vo- > BC: g23d f8 e d4 e f2 s > > % Bar 2 > B: f23 ) g d0 > L: cem su- > BC: f23 s g d0 4 x14#3 > > % Bar 3 > B: g02 d2+d c8 b > L: am, de-dit a- > BC: g02 d2+d c8 b > > % Bar 4 > B: a42 b c0 d2 > L: bys-sus vo-cem > BC: a42 b c0 d2 > > % Bar 5 > B: a02 d > L: su-am > BC: a02 4 x14#3 d # > > % Bar 6 > B: XS2 r2 (~ g23d f4 e d > L: al- > BC: r2 g23d f4 e d > > % Bar 7 > B: c43 d e f g a b )~ g > L: ti- > BC: c43 d e f g a b g > > % Bar 8 > B: d04 g2- ( g > L: tu-do ma- > BC: d04 #3 x144 x123 g2- g s > > % Bar 9 > B: g23 ) e f0s > L: nus su- > BC: g23 s e f0s > > % Bar 10 > B: g23 e ( d0 > L: as le-va- > BC: g23 e #6 d0 s 8# x146 x125 > > % Bar 11 > B: d03 ) g- > L: vit, > BC: d03 s 4 x143 g- > > % Bar 12 > B: (~ g23d a4 b g c2 s > L: ma- > BC: g23d a4 b g c2 s > > % Bar 13 > B: c44 s )~ g a2 e4 f g2 > L: nus su-as le-va- > BC: c44 s g a2 e4 6 f g2 4 x143 > > % Bar 14 > B: c23 g+d d4 e2 > L: vit ma-nus su- > BC: c23 g+d d4 e2 > > % Bar 15 > B: b42 c d2 g- g4+ g > L: as ste-te-runt sol et > BC: b42 6 c d2 4 x14#3 g2- g4+ g > > % Bar 16 > B: a43 a8 X.5 b X.5 c2 g g4 g > L: lu-na ste-te-runt, sol et > BC: a43 a8 b c2 g g4 g > > % Bar 17 > B: e43 e8 X.5 f X.5 g2 c- f > L: lu-na ste-te-runt in > BC: e43 6 e8 f g2 4 x143 c- f > > Hermann > -- > > --- > 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 --- 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] Redefinition of \raisebarno{..}
Am Montag, 20. August 2012, 15:58:11 schrieb Dirk Laurie: > 2012/8/20 Hermann Hinsch : > > Am Montag, 20. August 2012, 10:43:12 schrieb Dirk Laurie: > >> Your own redefinition of \raisebarno has no effect, since it appears > >> in the tex-file > >> before `input pmx`. > > > > I doubt that this is the reason because it fails in all other of my > > scores beginning with the same order of instructions. > > That second paragraph with inline TeX comes right at the start > of the PMX file inside the `---` markers, and by definition (see > the PMX manual) will appear in the TeX file _before_ `input pmx` > does. Since pmx.tex contains its own definition of \raisebarno, > it will override the earlier one. > --- > 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 Dirk, please try the following source. I cannot find any redefintion. Style: Solo Bass Solo: Voices B ; Clefs F ; Vocal Bass: Voices BC ; Clefs F Meter: m4206 Pages: 2 Systems: 10 Indent: 0.05 %Bars/line: 4 Name: {f{$^3$}} {f{$^3$}} Size: 16 %% \def\writebarno{\ifnum\barno>1\lrlap{\tenrm\it\the\barno\barnoadd}\fi} %% \def\raisebarno{4mm} %% \raggedbottom %% \parskip 5\Interligne plus 7\Interligne minus 7\Interligne %% \input musixadd %% \input musixlit %% \input musixdbr %% \tenbf %% P %% Ab %% h280m %% It100 %% \\let\interstaffsav\interstaff\def\interstaff#1{}\interstaffsav{14}\ % Bar 1 B: g23d f8 X.5 e X.5 d4 e ( f2 L: De-dit a-bys-sus vo- BC: g23d f8 e d4 e f2 s % Bar 2 B: f23 ) g d0 L: cem su- BC: f23 s g d0 4 x14#3 % Bar 3 B: g02 d2+d c8 b L: am, de-dit a- BC: g02 d2+d c8 b % Bar 4 B: a42 b c0 d2 L: bys-sus vo-cem BC: a42 b c0 d2 % Bar 5 B: a02 d L: su-am BC: a02 4 x14#3 d # % Bar 6 B: XS2 r2 (~ g23d f4 e d L: al- BC: r2 g23d f4 e d % Bar 7 B: c43 d e f g a b )~ g L: ti- BC: c43 d e f g a b g % Bar 8 B: d04 g2- ( g L: tu-do ma- BC: d04 #3 x144 x123 g2- g s % Bar 9 B: g23 ) e f0s L: nus su- BC: g23 s e f0s % Bar 10 B: g23 e ( d0 L: as le-va- BC: g23 e #6 d0 s 8# x146 x125 % Bar 11 B: d03 ) g- L: vit, BC: d03 s 4 x143 g- % Bar 12 B: (~ g23d a4 b g c2 s L: ma- BC: g23d a4 b g c2 s % Bar 13 B: c44 s )~ g a2 e4 f g2 L: nus su-as le-va- BC: c44 s g a2 e4 6 f g2 4 x143 % Bar 14 B: c23 g+d d4 e2 L: vit ma-nus su- BC: c23 g+d d4 e2 % Bar 15 B: b42 c d2 g- g4+ g L: as ste-te-runt sol et BC: b42 6 c d2 4 x14#3 g2- g4+ g % Bar 16 B: a43 a8 X.5 b X.5 c2 g g4 g L: lu-na ste-te-runt, sol et BC: a43 a8 b c2 g g4 g % Bar 17 B: e43 e8 X.5 f X.5 g2 c- f L: lu-na ste-te-runt in BC: e43 6 e8 f g2 4 x143 c- f Hermann -- --- 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] Redefinition of \raisebarno{..}
2012/8/20 Hermann Hinsch : > Am Montag, 20. August 2012, 10:43:12 schrieb Dirk Laurie: >> >> Your own redefinition of \raisebarno has no effect, since it appears >> in the tex-file >> before `input pmx`. > > I doubt that this is the reason because it fails in all other of my scores > beginning with > the same order of instructions. > That second paragraph with inline TeX comes right at the start of the PMX file inside the `---` markers, and by definition (see the PMX manual) will appear in the TeX file _before_ `input pmx` does. Since pmx.tex contains its own definition of \raisebarno, it will override the earlier one. --- 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] Redefinition of \raisebarno{..}
Am Montag, 20. August 2012, 10:43:12 schrieb Dirk Laurie: > 2012/8/20 Hermann Hinsch : > > In the M-Tx-source below the position of the barnumber is set by > > \def\raisebarno{5mm}. If you look into the tex-file you will find a > > redefinition at line 116 and 118. Why? > > Your own redefinition of \raisebarno has no effect, since it appears > in the tex-file > before `input pmx`. I doubt that this is the reason because it fails in all other of my scores beginning with the same order of instructions. Hermann > PMX works out that its default of 3.5\internote > will clash with > other stuff and temporarily redefines it to 4.5\internote just for > that one place. > Note that pmx.tex has a comment describing the bar number mechanism as > `messy`. I wouldn't dare to disagree with Don on this issue. > > Somewhere in my scores I have something that overrides PMX's way of doing > bar numbers, but I can't find it on my office computer (from which I > am typing this, > but which I seldom use since my retirement.) > > There must be others (Christian? André?) who have also done that. > > Dirk > > --- > 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 -- --- 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] Redefinition of \raisebarno{..}
2012/8/20 Hermann Hinsch : > In the M-Tx-source below the position of the barnumber is set by > \def\raisebarno{5mm}. If > you look into the tex-file you will find a redefinition at line 116 and 118. > Why? Your own redefinition of \raisebarno has no effect, since it appears in the tex-file before `input pmx`. PMX works out that its default of 3.5\internote will clash with other stuff and temporarily redefines it to 4.5\internote just for that one place. Note that pmx.tex has a comment describing the bar number mechanism as `messy`. I wouldn't dare to disagree with Don on this issue. Somewhere in my scores I have something that overrides PMX's way of doing bar numbers, but I can't find it on my office computer (from which I am typing this, but which I seldom use since my retirement.) There must be others (Christian? André?) who have also done that. Dirk --- 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
[Tex-music] Redefinition of \raisebarno{..}
In the M-Tx-source below the position of the barnumber is set by \def\raisebarno{5mm}. If you look into the tex-file you will find a redefinition at line 116 and 118. Why? Style: Trio Bass Trio: Voices A T B ; Clefs G8 G8 F ; Choral Bass: Voices BC ; Clefs F Meter: m4406 Pages: 2 Systems: 6 Indent: 0.05 %Bars/line: 3 Name: {c{$^3$}} {c{$^4$}} Size: 16 %% \def\writebarno{\ifnum\barno>1\lrlap{\tenrm\it\the\barno\barnoadd}\fi} %% \def\raisebarno{5mm} %% \raggedbottom %% \parskip 5\Interligne plus 7\Interligne minus 7\Interligne %% \input musixadd %% \input musixlit %% \input musixdbr %% \tenbf %% P %% Abe %% h270m %% It120 %% \\let\interstaffsav\interstaff\def\interstaff#1{}\interstaffsav{14}\ % Bar 1 A: rp L: T: rp L: B: r4 c23 c4 L: Qua-re BC: c03 s % Bar 2 A: rp L: T: rp L: B: r4 c83 c g4+d f8 L: fre-mu-e-runt BC: c03 s s % Bar 3 A: rp L: T: rp L: B: g43 g r r8 c L: gen-tes et BC: c03 s s % Bar 4 A: rp L: T: rp L: B: g83 g g g g g gd f1 L: bel-la me-di-ta-tae sunt ho- BC: c03 s % Bar 5 A: rp L: T: rp L: B: a83d a1 a4 r b8df c1 L: sti-li-a con-tra BC: f02 % Bar 6 A: XS3 r2 r4 ( g45 L: Qui- T: rp L: B: g23 r L: nos? BC: c23 r4 c s % Bar 7 A: g85 ) e1 e e8d d1 e4 e L: a ob-li-ti su-mus T: rp L: B: rp L: BC: c03 s s % Bar 8 A: e85 d dd c1 d4 d L: no-men De-i no-stri T: rp L: B: rp L: BC: c23 s g % Bar 9 A: d85 d dd e1 e8d e1 X1 e4 L: et in-i-que e-gi-mus T: rp L: B: rp L: BC: g03 % Bar 10 A: r8 e85 d e ( f2 L: in te-sta-men- T: rp L: B: rp L: BC: a23 - d- - % Bar 11 A: f45 ) e d2 L: to su- T: rp L: B: rp L: BC: g03 % Bar 12 A: c25 r L: o T: rp L: B: r4 c23 c8 c L: qua-re in- BC: c03 s % Bar 13 A: rp L: T: rp L: B: g43 g8 g g4d f8 L: sur-gunt ad-ver-sum BC: c03 s s % Bar 14 A: rp L: T: rp L: B: g43 r8 c a4 a L: nos et di-cunt BC: c23 s f- s % Bar 15 A: rp L: T: rp L: B: r8 f13 f f8 f1 X1 e g4 g L: de-vo-ra-bi-mus e-os? BC: f22 s c+ % Bar 16 A: rp L: T: r4 c25 c8d b1 L: qui-a pec- B: rp L: BC: r4 c23 d4 % Bar 17 A: rp L: T: c85d c1 X1 c4 r8 bf b b1 X1 a L: ca-vi-mus cum pa-tri-bus B: rp L: BC: e03 % Bar 18 A: rp L: T: a44 a r8 c cd d1 L: no-stris in-iu-ste B: rp L: BC: f03 % Bar 19 A: rp L: T: d85d d1 X1 d8 r1 d d8 d dd e1 L: e-gi-mus in-i-qui-ta-tem B: rp L: BC: d03 7 x146 Hermann --- 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