Re: [TeX-music] key-signature layout
On Mon, Apr 24, 2006 at 10:20:56AM +0200, Bernhard Lang wrote: > When setting a piece with soprano clef (C on first line) with one flat, > the flat is put to the > space below the lowest line. To my feeling (and according to the type > setting conventions of the 17th) the flat should be put on the 4th > line (i.e. one octave higher). Is there a way to convince PMX/MusiXTeX > to do this? This question has not yet been answered, or am I missing something? So here's my attempt: The positions of the signature accidentals are defined in certain MusiXTeX macros; these have to be changed in order to manipulate the accidental placement. For me, the following hack works: 8<(beware of unwanted line breaks)--- \input musixtex \makeatletter \chardef\thirt@@n=13 % musixtex.tex defines lots of names for % char numbers, but just this one is missing ... % this macro determines which signature accidentals % are placed on which "scale step": [EMAIL PROTECTED]@s=\z@ \else [EMAIL PROTECTED]@lii [EMAIL PROTECTED]>\z@ [EMAIL PROTECTED]@n [EMAIL PROTECTED]@[EMAIL PROTECTED]@n [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED]@@[EMAIL PROTECTED] [EMAIL PROTECTED]@ur\fiv@ [EMAIL PROTECTED]@\nin@ [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED]@l [EMAIL PROTECTED]<\z@ % > change of original starts here [EMAIL PROTECTED]@ % normal placement of first flat (step six) [EMAIL PROTECTED]@@n % changed placement of first flat (step thirteen) % < change of original ends here [EMAIL PROTECTED]@ne\nin@ [EMAIL PROTECTED]@\fiv@ [EMAIL PROTECTED]@@[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED]@n [EMAIL PROTECTED]@\thr@@\fi \fi} \makeatother % a sample score \setclef11 \generalsignature{-1} \startextract \endextract \bye 8<(beware of unwanted line breaks)--- Best regards, Rainer ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] key-signature layout
If you use pmx, you can without problems use 'Ct Ct' the pmx takes car of the needed space Andre - Original Message - From: "Bernhard Lang" <[EMAIL PROTECTED]> To: "Typesetting music with TeX" Sent: Tuesday, April 25, 2006 11:16 AM Subject: Re: [TeX-music] key-signature layout Thanks Andre and Don, merci Jean-Pierre for your suggestions. \zcharnote g{\musixchar71} (between \notes and \en) (but you must care about the spacing yourself) that's the reason why I asked the question :-). The empty clefs are a clever solution. Concernig the size of the symbols and concerning the shifted sharps and flats I guess I'll have to dig in the musixtex code. There's also a little bug in the placing of sharps: when having three sharps in a tenor clef, the grouping of the sharps is not according to common typesetting rules. Bernhard ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] key-signature layout
Thanks Andre and Don, merci Jean-Pierre for your suggestions. \zcharnote g{\musixchar71} (between \notes and \en) (but you must care about the spacing yourself) that's the reason why I asked the question :-). The empty clefs are a clever solution. Concernig the size of the symbols and concerning the shifted sharps and flats I guess I'll have to dig in the musixtex code. There's also a little bug in the placing of sharps: when having three sharps in a tenor clef, the grouping of the sharps is not according to common typesetting rules. Bernhard ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] key-signature layout: \musixchar
You can also obtain a full-size clef by saying: \zcharnote g{\musixchar71} (between \notes and \en) (but you must care about the spacing yourself) This \musixchar misses some documentation, but one can learn from our thread: http://www.mail-archive.com/tex-music@icking-music-archive.org/msg01122.html so you can find the other clef symbols. Regards, Jean-Pierre Coulon [EMAIL PROTECTED] ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] key-signature layout
Still, Jean-Pierre has it right, i think: In MusixTeX it is not possible to get twice the same clef. The clef must change or you don't see it. You can perhaps try something as (if the clef was already \treble) \setclef18\zchangeclefs\setclef1\treble\changeclefs clef 8 is a blanco clef, but it is not documented in the old manual Andre - Original Message - From: "Don Simons" <[EMAIL PROTECTED]> To: "Typesetting music with TeX" Sent: Monday, April 24, 2006 5:08 PM Subject: RE: [TeX-music] key-signature layout I've extracted and posted the section about clefs from the revised musixdoc that Andre and I have been working on: http://icking-music-archive.org/software/musixtex/mxdocclefs.pdf The very first example seems to answer your question (text at bottom of p.52, printed example at top of p.53). I'm curious why you didn't come across \setclef...\changeclefs from the current manual, and also why Jean-Pierre didn't recommend this approach. Maybe I'm missing something here. --Don Simons -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bernhard Lang Sent: Monday, April 24, 2006 1:21 AM To: Typesetting music with TeX Subject: [TeX-music] key-signature layout Hi all I've got two questions concerning clefs and keys: Is it possible to force a clef symbol being printed (with all automatic spacing) whithout the key is being changed? (\changecontext does not put a clef symbol when the \setclef is called with the actual clef as parameter). When setting a piece with soprano clef (C on first line) with one flat, the flat is put to the space below the lowest line. To my feeling (and according to the type setting conventions of the 17th) the flat should be put on the 4th line (i.e. one octave higher). Is there a way to convince PMX/MusiXTeX to do this? regards Bernhard ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
RE: [TeX-music] key-signature layout
I've extracted and posted the section about clefs from the revised musixdoc that Andre and I have been working on: http://icking-music-archive.org/software/musixtex/mxdocclefs.pdf The very first example seems to answer your question (text at bottom of p.52, printed example at top of p.53). I'm curious why you didn't come across \setclef...\changeclefs from the current manual, and also why Jean-Pierre didn't recommend this approach. Maybe I'm missing something here. --Don Simons > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Bernhard > Lang > Sent: Monday, April 24, 2006 1:21 AM > To: Typesetting music with TeX > Subject: [TeX-music] key-signature layout > > > Hi all > > I've got two questions concerning clefs and keys: > > Is it possible to force a clef symbol being printed (with all automatic > spacing) whithout the key > is being changed? (\changecontext does not put a clef symbol when the > \setclef is called with the actual clef as parameter). > > When setting a piece with soprano clef (C on first line) with one flat, > the flat is put to the > space below the lowest line. To my feeling (and according to the type > setting conventions of the 17th) the flat should be put on the 4th > line (i.e. one octave higher). Is there a way to convince PMX/MusiXTeX > to do this? > > regards > Bernhard > > ___ > TeX-music mailing list > TeX-music@icking-music-archive.org > http://icking-music-archive.org/mailman/listinfo/tex-music > ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] key-signature layout
On Mon, 24 Apr 2006, Bernhard Lang wrote: Hi all I've got two questions concerning clefs and keys: Is it possible to force a clef symbol being printed (with all automatic spacing) whithout the key is being changed? (\changecontext does not put a clef symbol when the \setclef is called with the actual clef as parameter). Question 1: this works (but the artificial symbol is a bit smaller) \input musixtex \nostartrule \instrumentnumber1 \setclef1\treble % forcing a treble clef (but we already knew:-) \startextract \NOTes\nq{abcd}\en \setclefsymbol1\empty% \setclef1{\bass}\changeclefs% \resetclefsymbols% \setclef1{\treble}\changeclefs% \NOTes\nq{abcd}\en \endextract \end Hope this helps, Jean-Pierre Coulon [EMAIL PROTECTED] ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music