generating a few isolated notes

2016-03-04 Thread Xavier Noria
I would like to generate this swing equality

 https://musescore.org/sites/musescore.org/files/swing_0.jpg

to have it printed in a t-shirt.

I am trying something like this (cargo culting online code) but
can't get spacing around  the equal sign right. I have read the
documentation about horizontal spacing but all seems to
assume the markup shouldn't affect distance between notes.

Can anybody help?


\version "2.18.2"

\layout {
  pagenumber = no
  #(layout-set-staff-size 26)

  \context {
\Staff
\remove "Time_signature_engraver"
\remove "Clef_engraver"
\remove "Bar_engraver"
  }
}

\header {
  tagline = ""
}

melody = \relative c''' {
  \override TextScript.extra-offset = #'(2 . 2)
  \stopStaff a,8 a8-\markup { \whiteout \pad-markup #0.5 "=" } \times 2/3 { a4 
a8 }
}

\score {
  { \melody }
}



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: generating a few isolated notes

2016-03-04 Thread Andrew Bernard
Hi Xavier,

Looks fine to me. How do you want it to look exactly?

Andrew


On 4/03/2016, 22:59, "Xavier Noria" 
 wrote:

can't get spacing around  the equal sign right

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: generating a few isolated notes

2016-03-04 Thread Xavier Noria
Right now the horizontal spacing is not right, it looks like this

https://www.dropbox.com/s/539b8y69rivb9cu/Screenshot%202016-03-
04%2013.12.52.png?dl=0


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: generating a few isolated notes

2016-03-04 Thread Andrew Bernard
Hi Xavier,

Would this do the trick? [Sorry, previously I was looking at the desired 
output, not the compiled output. My mistake.]

— snip

\version "2.19.37"

\layout {
  pagenumber = no
  #(layout-set-staff-size 26)

  \context {
\Staff
\remove "Time_signature_engraver"
\remove "Clef_engraver"
\remove "Bar_engraver"
  }
}

\header {
  tagline = ""
}

melody = \relative c''' {
  \time 1/4
  \override TextScript.extra-offset = #'(2.5 . 2.5)
  \stopStaff
  a,8 a8-\markup { \whiteout \pad-markup #0.5 "=" } s8
  \times 2/3 { a4 a8 }
}

\score {
  { \melody }
}

— snip


On 4/03/2016, 23:15, "Xavier Noria" 
 wrote:

Right now the horizontal spacing is not right, it looks like this

https://www.dropbox.com/s/539b8y69rivb9cu/Screenshot%202016-03-
04%2013.12.52.png?dl=0


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: generating a few isolated notes

2016-03-10 Thread tisimst
Xavier,

On Fri, Mar 4, 2016 at 5:58 AM, Andrew Bernard [via Lilypond] <
ml-node+s1069038n188070...@n5.nabble.com> wrote:

> Hi Xavier,
>
> Would this do the trick? [Sorry, previously I was looking at the desired
> output, not the compiled output. My mistake.]
>
> — snip
>

You've probably moved on by now, but if you're still interested, this
should certainly do the job: http://lsr.di.unimi.it/LSR/Item?id=1029

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/generating-a-few-isolated-notes-tp188065p188402.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: generating a few isolated notes

2016-03-10 Thread tisimst
Xavier,

On Thu, Mar 10, 2016 at 12:24 PM, Abraham Lee 
wrote:

> Xavier,
>
> On Fri, Mar 4, 2016 at 5:58 AM, Andrew Bernard [via Lilypond] <
> ml-node+s1069038n188070...@n5.nabble.com> wrote:
>
>> Hi Xavier,
>>
>> Would this do the trick? [Sorry, previously I was looking at the desired
>> output, not the compiled output. My mistake.]
>>
>> — snip
>>
>
> You've probably moved on by now, but if you're still interested, this
> should certainly do the job: http://lsr.di.unimi.it/LSR/Item?id=1029
>

Sorry, I should have showed how to use this snippet (once you've included
the command somehow):

%%%

\markup {
  \ezscore ##{ { c8[ c] } #}
  =
  \ezscore ##{ { \tuplet 3/2 { c4 c8 } } #}
}

%%%

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/generating-a-few-isolated-notes-tp188065p188403.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user