On 11/1/13 4:35 PM, "Renato" <renn...@gmail.com> wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On Fri, 1 Nov 2013 02:56:17 +0000 >Carl Sorensen <c_soren...@byu.edu> wrote: > >> >> >> On 10/31/13 8:47 AM, "Renato" <renn...@gmail.com> wrote: >> >>For \markup fret diagrams, you override the fret-diagram-details >> property of a TextScript object (see >> http://lilypond.org/doc/v2.16/Documentation/snippets/fretted-strings >> Customizing markup fret diagrams): >> >> \override TextScript #'(fret-diagram-details . ( >> (finger-code . below-string) >> (number-type . arabic) >> (label-dir . -1) >> (mute-string . "M") >> (orientation . landscape) >> (barre-type . none) >> (xo-font-magnification . 0.4) >> (xo-padding . 0.3))) > >how/where should I put that in my example?
The \override should be placed before you enter a \markup \fret-diagram. These settings will apply to all \markup \fret diagrams. If you have troubles with placing it somewhere, please look at http://lilypond.org/doc/v2.16/Documentation/notation/input-structure >The code in >the link produces a staff, which I don't want (and I didn't find >a way to remove it)... I might be missing something obvious, sorry for >that, as I stated I don't have a good grasp of lilypond's fundamentals >(yeah I know that's a fault on my part, but time is what it is) Have you read through the Learning Manual? If you're trying to work your way through the Notation Reference without having read through the Learning Manual, it will be *very* difficult. > >> >2) Display names on top of chords >> >> For this, you probably don't want to use \markup fret diagrams. >> >> You probably just want to create a score with a ChordNames > >Mmh, I've looked into this and made some tests, but I'd like to enter >my chords with the \fret-diagram strings, not with <c e g> (or worse >\chordmode{c}) - that is because I'm rather picky about fingerings and I >want to input jazz "non-standard" chords, so I don't want lilypond to >try to outsmart me, I want to enter exact strings and frets. You can enter exact strings and frets as predefined fret diagrams, and then use them with \chordmode{c}, or \chordmode{c''} (for a different chord), etc. Then the predefined fret diagrams will show up in the fretboards context. > > >so, basically I'd want to: >1) use \fret-diagram to input chords >2) not have a staff >3) display the chord names I want on top of the diagrams (I want >control over that, not lilypond deciding my chord needs to be called a >Csus13... possibly I'd like to put something like "CM7 or Am9") You can have complete control over what LilyPond will call your chord in a ChordNames context. It's completely customizable. >4) set the properties of fret-diagram-details (like if roman numbers >for the fret number should be upper or lower and so on) The \override will do this. > >I realise that listed like this it seems like asking much, but >I thought that what I wante was actually pretty simple: just a sheet >with some chords and a way to tune some aesthetics >(fret-diagram-details). just to give an idea of what I'm after I made a >picture of two books I own which have something similar: If you totally separate your work from LilyPond's music layout by using \markup for both the fret diagram and the chord name, then you are responsible for all of the placement of the markups on the page. I haven't studied the text layout functions enough to give you good advice on how to do that. If I were trying to do this, I'd follow the methods shown in the NR section on predefined fret diagrams: http://lilypond.org/doc/v2.16/Documentation/notation/common-notation-for-fr etted-strings#predefined-fret-diagrams To customize the Chord Names, I'd use chordNameExceptions. See the selected snippets in http://lilypond.org/doc/v2.16/Documentation/notation/displaying-chords#cust omizing-chord-names If you can't figure out to apply these snippets, please first read through the Learning Manual from start to finish. Thanks, Carl _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user