Re: Crosses in tablature

2008-12-14 Thread Marius Andersen
> Fra: Simon Bailey > Emne: Re: Crosses in tablature > Til: "lilypond-user" > Dato: Søndag 14. desember 2008 22.32 > > hmm, is there any way to add 2.11.x compatible snippets to > the LSR? atm, i can't add this snippet, as it > doesn't seem to work wi

Re: Crosses in tablature

2008-12-14 Thread Simon Bailey
hi, On Dec 13, 2008, at 10:19 PM, Marius Andersen wrote: if you're all ok with this updated version, i'll add that to the LSR. Please do -- this is tremendously helpful. Even if LilyPond's support for tablature is, according to the manual, "limited", I'm probably not the only guitar player

Re: Crosses in tablature

2008-12-13 Thread Marius Andersen
Simon, again, thanks for your time. > This is intriguing. In tablature, I use \parenthesize to enclose grace notes in parentheses: <\parenthesize e\1> which produces (0). But this doesn't leave any extra space for the parentheses, the way space is left for the brackets when using \harmo

Re: Crosses in tablature

2008-12-12 Thread David Stocker
My only small complaint is that the crosses in the tablature are slightly smaller than the crosses in the regular staff. To my untrained eye, this looks like a simple matter of setting the font-size -- but how? Ideally, the 'x' would be from the same typeface as the tab numbers. Is there a way

Re: Crosses in tablature

2008-12-12 Thread Graham Percival
On Fri, Dec 12, 2008 at 04:39:17PM +, Marius Andersen wrote: > YOU ARE THE MAN! Seriously. This works like a charm -- ought to be included > in the manual, or uploaded to the LilyPond Snippet Repository, so that other > people can find it easily. Then please upload it to LSR; give it the tag

Re: Crosses in tablature

2008-12-12 Thread Marius Andersen
Simon, YOU ARE THE MAN! Seriously. This works like a charm -- ought to be included in the manual, or uploaded to the LilyPond Snippet Repository, so that other people can find it easily. (How did you go about writing such a complex piece of code, anyway?) My only small complaint is that the cr

Re: Crosses in tablature

2008-12-12 Thread Marius Andersen
Simon, YOU ARE THE MAN! Seriously. This works like a charm -- ought to be included in the manual, or uploaded to the LilyPond Snippet Repository, so that other people can find it easily. (How did you go about writing such a complex piece of code, anyway?) My only small complaint is that the cr

Re: Crosses in tablature

2008-12-12 Thread Simon Bailey
hi, i knew there was something bugging me about my solution, and just realised what it was. it's too verbose... ;) try this one instead: #(define (x-tab-format str context event) (make-whiteout-markup (make-vcenter-markup (markup #:musicglyph "noteheads.s2cross" c

Re: Crosses in tablature

2008-12-12 Thread Simon Bailey
hi marius, On Dec 12, 2008, at 2:13 AM, Marius Andersen wrote: These commands, when used in the Staff context, give me nice cross noteheads -- i.e., stopped/dampened notes as far as guitar is concerned. However, they have NO effect in the TabStaff context: \new TabStaff { % This doe

Crosses in tablature

2008-12-11 Thread Marius Andersen
Hi and thanks to everyone who has helped me so far. I'd like to display a few notes as crosses in the TabStaff context. For REGULAR staffs, the following indeed works: \new Staff { \override NoteHead #'style = #'cross c c c c % To switch back: \override NoteHead #'