Re: String number in a \markup
Thanks to all for your helpful hints and links. Most appreciated. Best, Dave Mats Bengtsson wrote: David Stocker wrote: How can I manipulate the space between lines in a \column? I'd like to reduce the space between the two lines in the below example by about 25%. I didn't see this referenced anywhere in the section on Text in the Notation Reference. Why not look at the documentation of the \column markup command in http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Align#Align, which gives the answer to your question. Well, you also have to figure out how to specify this parameter, see the documentation of \override in http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Other#Other /Mats Thanks, Dave David Stocker wrote: Thanks. To elaborate, and make it a little more elegant looking: \version "2.12" \relative c' { c1_\markup { \column { \line { \general-align #Y #CENTER { \teeny \bold { \circle 5 } "=" "G" } } \line { \general-align #Y #CENTER { \teeny \bold { \circle 6 } "=" "C" } } } } } Jonathan-I think this does what we're looking for. It doesn't call the characters used for the string numbers, but it looks very similar. Now we need to move it left so that it's left aligned the clef, below the first line in the score. Dave M Watts wrote: David Stocker wrote: Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small "5 = G" } \line { \small "6 = C" } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? \markup { \column { \line { \small \circle 5 "= G" } \line { \small \circle 6 "= C" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: String number in a \markup
David Stocker wrote: How can I manipulate the space between lines in a \column? I'd like to reduce the space between the two lines in the below example by about 25%. I didn't see this referenced anywhere in the section on Text in the Notation Reference. Why not look at the documentation of the \column markup command in http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Align#Align, which gives the answer to your question. Well, you also have to figure out how to specify this parameter, see the documentation of \override in http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Other#Other /Mats Thanks, Dave David Stocker wrote: Thanks. To elaborate, and make it a little more elegant looking: \version "2.12" \relative c' { c1_\markup { \column { \line { \general-align #Y #CENTER { \teeny \bold { \circle 5 } "=" "G" } } \line { \general-align #Y #CENTER { \teeny \bold { \circle 6 } "=" "C" } } } } } Jonathan-I think this does what we're looking for. It doesn't call the characters used for the string numbers, but it looks very similar. Now we need to move it left so that it's left aligned the clef, below the first line in the score. Dave M Watts wrote: David Stocker wrote: Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small "5 = G" } \line { \small "6 = C" } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? \markup { \column { \line { \small \circle 5 "= G" } \line { \small \circle 6 "= C" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: String number in a \markup
You can use \lower #value. eg \markup { \column { "line 1" \lower #1 "line 2" } } Play around with the value to get the desired spacing. Nick > -Original Message- > From: lilypond-user-bounces+nick.payne=internode.on@gnu.org > [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On > Behalf Of David Stocker > Sent: Tuesday, 10 February 2009 23:48 > To: M Watts > Cc: lilypond-user@gnu.org > Subject: Re: String number in a \markup > > How can I manipulate the space between lines in a \column? I'd like to > reduce the space between the two lines in the below example by about > 25%. I didn't see this referenced anywhere in the section on Text in > the > Notation Reference. > > Thanks, > > Dave > > David Stocker wrote: > > Thanks. > > > > To elaborate, and make it a little more elegant looking: > > > > \version "2.12" > > > > \relative c' { > > c1_\markup { > >\column { > > \line { \general-align #Y #CENTER { \teeny \bold { \circle 5 } > > "=" "G" } } > > \line { \general-align #Y #CENTER { \teeny \bold { \circle 6 } > > "=" "C" } } > >} > > } > > } > > > > Jonathan-I think this does what we're looking for. It doesn't call > the > > characters used for the string numbers, but it looks very similar. > Now > > we need to move it left so that it's left aligned the clef, below the > > first line in the score. > > > > Dave > > > > M Watts wrote: > >> David Stocker wrote: > >>> Hi folks, > >>> > >>> Is there a way to insert a string number into a \markup? What I > need > >>> is to indicate a scordatura for a guitar piece like this: > >>> > >>> \markup { > >>> \column { > >>>\line { \small "5 = G" } > >>>\line { \small "6 = C" } > >>> } > >>> } > >>> > >>> where the '5' and '6' are identical to their analogous string > >>> numbers (i.e. they are encircled) > >>> > >>> In the Feta Font, these don't seem to by music-glyphs. Is there a > >>> reasonably easy way to call these within a \markup? are they glyphs > >>> from another font? > >>> > >> > >> \markup { > >> \column { > >> \line { \small \circle 5 "= G" } > >> \line { \small \circle 6 "= C" } > >> } > >> } > >> > >> > >> > > > > > > ___ > > lilypond-user mailing list > > lilypond-user@gnu.org > > http://lists.gnu.org/mailman/listinfo/lilypond-user > > > > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.234 / Virus Database: 270.10.20/1943 - Release Date: > 02/10/09 07:20:00 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: String number in a \markup
Hi David, How can I manipulate the space between lines in a \column? I'd like to reduce the space between the two lines in the below example by about 25%. I didn't see this referenced anywhere in the section on Text in the Notation Reference. 1. Go to the TextScript (i.e., markup) reference page. 2. See what interfaces it inherits from. 3. Check the doc page(s) for each of those interfaces — on one of them, you'll find the #'baseline-skip property. That's the one you want to \override. HTH! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: String number in a \markup
How can I manipulate the space between lines in a \column? I'd like to reduce the space between the two lines in the below example by about 25%. I didn't see this referenced anywhere in the section on Text in the Notation Reference. Thanks, Dave David Stocker wrote: Thanks. To elaborate, and make it a little more elegant looking: \version "2.12" \relative c' { c1_\markup { \column { \line { \general-align #Y #CENTER { \teeny \bold { \circle 5 } "=" "G" } } \line { \general-align #Y #CENTER { \teeny \bold { \circle 6 } "=" "C" } } } } } Jonathan-I think this does what we're looking for. It doesn't call the characters used for the string numbers, but it looks very similar. Now we need to move it left so that it's left aligned the clef, below the first line in the score. Dave M Watts wrote: David Stocker wrote: Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small "5 = G" } \line { \small "6 = C" } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? \markup { \column { \line { \small \circle 5 "= G" } \line { \small \circle 6 "= C" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: String number in a \markup
Thanks, Nick! That does exactly what I needed. Nick Payne wrote: Have a look at the message I posted yesterday titled "Colliding rests warning". The code I included in that shows how to move the string number markup to underneath the clef symbol: http://www.mail-archive.com/lilypond-user@gnu.org/msg45134.html. You could also engrave both actual notes and scordatura. As a player I find that easier when the scordatura involves two or three strings - I don't have to keep remembering which strings and by how much. It's obviously more work for the engraver, though. eg: \version "2.12.2" \paper { #(set-paper-size "a4") top-margin = 1.5\cm bottom-margin = 1.5\cm line-width = 18\cm ragged-last-bottom = ##f } \header { tagline = ##f } actual = \markup { \lower #0.5 \score { \new Staff \with { \remove "Time_signature_engraver" } { \set Staff.instrumentName= \markup \huge "(actual) " \clef treble \cadenzaOn \override Stem #'transparent = ##t 4 s \bar "dashed" } \layout { ragged-right = ##t indent = 1\cm } } \hspace #.5 } scordatura = \markup { \lower #1.0 \score { \new Staff \with { \remove "Time_signature_engraver" } { \set Staff.instrumentName= \markup \tiny "(scordatura) " \clef treble \cadenzaOn \override Stem #'transparent = ##t 4 s \bar "dashed" } \layout { ragged-right = ##t indent = 1\cm } } \hspace #.5 } actualnotes = \relative c' { \clef treble d,8( f) bes d 4 \bar "|." } scordaturanotes = \relative c' { \clef treble d,8( f-3) bes-1 d-0 4 \bar "|." } \score { << \new Staff << \tempo "Moderato" \set Staff.instrumentName = \actual \new Voice \actualnotes >> \new Staff << \set Staff.instrumentName = \scordatura \new Voice \scordaturanotes >> >> \layout { ragged-right = ##t indent = 5\cm \context { \Staff \remove "Time_signature_engraver" } } } %= Nick -Original Message- From: lilypond-user-bounces+nick.payne=internode.on@gnu.org [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On Behalf Of David Stocker Sent: Monday, 9 February 2009 23:55 To: M Watts Cc: lilypond-user@gnu.org Subject: Re: String number in a \markup Thanks. To elaborate, and make it a little more elegant looking: \version "2.12" \relative c' { c1_\markup { \column { \line { \general-align #Y #CENTER { \teeny \bold { \circle 5 } "=" "G" } } \line { \general-align #Y #CENTER { \teeny \bold { \circle 6 } "=" "C" } } } } } Jonathan-I think this does what we're looking for. It doesn't call the characters used for the string numbers, but it looks very similar. Now we need to move it left so that it's left aligned the clef, below the first line in the score. Dave M Watts wrote: David Stocker wrote: Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small "5 = G" } \line { \small "6 = C" } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? \markup { \column { \line { \small \circle 5 "= G" } \line { \small \circle 6 "= C" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date: 02/08/09 17:57:00 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: String number in a \markup
Have a look at the message I posted yesterday titled "Colliding rests warning". The code I included in that shows how to move the string number markup to underneath the clef symbol: http://www.mail-archive.com/lilypond-user@gnu.org/msg45134.html. You could also engrave both actual notes and scordatura. As a player I find that easier when the scordatura involves two or three strings - I don't have to keep remembering which strings and by how much. It's obviously more work for the engraver, though. eg: \version "2.12.2" \paper { #(set-paper-size "a4") top-margin = 1.5\cm bottom-margin = 1.5\cm line-width = 18\cm ragged-last-bottom = ##f } \header { tagline = ##f } actual = \markup { \lower #0.5 \score { \new Staff \with { \remove "Time_signature_engraver" } { \set Staff.instrumentName= \markup \huge "(actual) " \clef treble \cadenzaOn \override Stem #'transparent = ##t 4 s \bar "dashed" } \layout { ragged-right = ##t indent = 1\cm } } \hspace #.5 } scordatura = \markup { \lower #1.0 \score { \new Staff \with { \remove "Time_signature_engraver" } { \set Staff.instrumentName= \markup \tiny "(scordatura) " \clef treble \cadenzaOn \override Stem #'transparent = ##t 4 s \bar "dashed" } \layout { ragged-right = ##t indent = 1\cm } } \hspace #.5 } actualnotes = \relative c' { \clef treble d,8( f) bes d 4 \bar "|." } scordaturanotes = \relative c' { \clef treble d,8( f-3) bes-1 d-0 4 \bar "|." } \score { << \new Staff << \tempo "Moderato" \set Staff.instrumentName = \actual \new Voice \actualnotes >> \new Staff << \set Staff.instrumentName = \scordatura \new Voice \scordaturanotes >> >> \layout { ragged-right = ##t indent = 5\cm \context { \Staff \remove "Time_signature_engraver" } } } %= Nick > -Original Message- > From: lilypond-user-bounces+nick.payne=internode.on....@gnu.org > [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On > Behalf Of David Stocker > Sent: Monday, 9 February 2009 23:55 > To: M Watts > Cc: lilypond-user@gnu.org > Subject: Re: String number in a \markup > > Thanks. > > To elaborate, and make it a little more elegant looking: > > \version "2.12" > > \relative c' { > c1_\markup { > \column { > \line { \general-align #Y #CENTER { \teeny \bold { \circle 5 } > "=" > "G" } } > \line { \general-align #Y #CENTER { \teeny \bold { \circle 6 } > "=" > "C" } } > } > } > } > > Jonathan-I think this does what we're looking for. It doesn't call the > characters used for the string numbers, but it looks very similar. Now > we need to move it left so that it's left aligned the clef, below the > first line in the score. > > Dave > > M Watts wrote: > > David Stocker wrote: > >> Hi folks, > >> > >> Is there a way to insert a string number into a \markup? What I need > >> is to indicate a scordatura for a guitar piece like this: > >> > >> \markup { > >> \column { > >>\line { \small "5 = G" } > >>\line { \small "6 = C" } > >> } > >> } > >> > >> where the '5' and '6' are identical to their analogous string > numbers > >> (i.e. they are encircled) > >> > >> In the Feta Font, these don't seem to by music-glyphs. Is there a > >> reasonably easy way to call these within a \markup? are they glyphs > >> from another font? > >> > > > > \markup { > > \column { > > \line { \small \circle 5 "= G" } > > \line { \small \circle 6 "= C" } > > } > > } > > > > > > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date: > 02/08/09 17:57:00 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: String number in a \markup
Thanks. To elaborate, and make it a little more elegant looking: \version "2.12" \relative c' { c1_\markup { \column { \line { \general-align #Y #CENTER { \teeny \bold { \circle 5 } "=" "G" } } \line { \general-align #Y #CENTER { \teeny \bold { \circle 6 } "=" "C" } } } } } Jonathan-I think this does what we're looking for. It doesn't call the characters used for the string numbers, but it looks very similar. Now we need to move it left so that it's left aligned the clef, below the first line in the score. Dave M Watts wrote: David Stocker wrote: Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small "5 = G" } \line { \small "6 = C" } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? \markup { \column { \line { \small \circle 5 "= G" } \line { \small \circle 6 "= C" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: String number in a \markup
David Stocker wrote: Hi folks, Is there a way to insert a string number into a \markup? What I need is to indicate a scordatura for a guitar piece like this: \markup { \column { \line { \small "5 = G" } \line { \small "6 = C" } } } where the '5' and '6' are identical to their analogous string numbers (i.e. they are encircled) In the Feta Font, these don't seem to by music-glyphs. Is there a reasonably easy way to call these within a \markup? are they glyphs from another font? \markup { \column { \line { \small \circle 5 "= G" } \line { \small \circle 6 "= C" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user