[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: lilypond-user Digest, Vol 118, Issue 12
From: |
Peter Gentry |
Subject: |
RE: lilypond-user Digest, Vol 118, Issue 12 |
Date: |
Mon, 3 Sep 2012 19:30:12 +0100 |
Hmm I had thought it was clear - but only in my mind. The second example
centerd the text but split what I intended for a single
line into four lines.
The one solution thanks to help from Phil Holmes was
stamp = \markup{\concat { "Engraved " \bold \date " with " \with-url
#"http://lilypond.org/" "LilyPond " \simple
#(lilypond-version) " (http://lilypond.org/)" } }
And to use this variable in a markup which centerd the text on a line
\markup { \vspace#4
\fill-line {
""
{
\column {
\center-column {
\fontsize #1 \stamp
}
}
}
""
}
}
I fully realise that the variable stamp is not necessary in this case but it
was a technique I intend to use for other text that is
used more than once in a book.
>-----Original Message-----
>From:
>address@hidden
>[mailto:address@hidden
>org] On Behalf Of address@hidden
>Sent: Monday, September 03, 2012 5:01 PM
>To: address@hidden
>Subject: lilypond-user Digest, Vol 118, Issue 12
>
>Send lilypond-user mailing list submissions to
> address@hidden
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>or, via email, send a message with subject or body 'help' to
> address@hidden
>
>You can reach the person managing the list at
> address@hidden
>
>When replying, please edit your Subject line so it is more
>specific than "Re: Contents of lilypond-user digest..."
>
>
>Today's Topics:
>
> 1. Re:Text markup query (David Kastrup)
> 2. Re:consecutive downbow-upbow articulations (eluze)
> 3. Re:Markup Query (Phil Holmes)
> 4. Re:Markup Query (Phil Holmes)
> 5. RE:Markup Query (Peter Gentry)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 03 Sep 2012 12:05:24 +0200
>From: David Kastrup <address@hidden>
>To: address@hidden
>Subject: Re: Text markup query
>Message-ID: <address@hidden>
>Content-Type: text/plain
>
>"Peter Gentry" <address@hidden> writes:
>
>> I have a line of text
>>
>> {\fontsize #1 Engraved \bold \date with
>\with-url #"http://lilypond.org/" \line { LilyPond \simple
>#(lilypond-version)
>> (http://lilypond.org/) } }
>>
>> call this TEXT in examples below
>>
>> \markuplines {
>> \justifiedlines{
>> TEXT
>> }
>> }
>> results in
>>
>> Engraved 03-09-2012 with Lilypond 2.14.2 (http://lilypond.org/)
>>
>> But
>>
>> \markuplines {
>> \justifiedlines{
>> \fill-line{
>> ""
>> \column {
>> \center-column {
>> TEXT
>> }
>> }
>> ""
>> }
>> }
>> }
>>
>> results in
>> Engraved
>> 03-09-2012
>> with
>> Lilypond 2.14.2 (http;//lilypond.org/)
>>
>> I have tried all ways I can think of to concatonate the
>sub-strings to
>> no avail and searched the manuals for guidance without success can
>> anyone shed l
>
>It is not clear what your problem is. You post two scraps of
>code presumably not intended to compile on their own. One
>apparently does what you want in some manner, one apparently
>doesn't. You don't explain what you want to be seeing, and in
>what manner either code does not do what you want.
>
>--
>David Kastrup
>
>
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 3 Sep 2012 03:33:08 -0700 (PDT)
>From: eluze <address@hidden>
>To: address@hidden
>Subject: Re: consecutive downbow-upbow articulations
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset=us-ascii
>
>
>Jeffrey Trevino wrote
>>
>> Hi there,
>>
>> I'd like to indicate that string instruments will need to
>re-bow during a
>> very long note, through a common symbol: A downbow followed
>immediately by
>> an upbow, appearing over a single note. (I guess string
>players might find
>> this obvious from the duration of a note, but I'm copying a
>score, so I
>> need this symbol to appear, because it appears in the
>original notation.)
>> From the docs, I can see how to put many articulations in a
>stack on top
>> of
>> one note, but I can't see how they can appear in the same
>line from left
>> to
>> right. Again, I'd like there to be a downbow mark, followed to its
>> immediate right by an upbow mark, and for these to appear
>over a single
>> note. Does anyone know how I can do this?
>>
>>
>do you mean something like
>
>^\markup \concat { \musicglyph #"scripts.downbow" \musicglyph
>#"scripts.upbow" }
>
>or did I misunderstand your question?
>
>Eluze
>
>
>
>--
>View this message in context:
>http://lilypond.1069038.n5.nabble.com/consecutive-downbow-upbow
>-articulations-tp132050p132065.html
>Sent from the User mailing list archive at Nabble.com.
>
>
>
>------------------------------
>
>Message: 3
>Date: Mon, 3 Sep 2012 12:02:30 +0100
>From: "Phil Holmes" <address@hidden>
>To: "Peter Gentry" <address@hidden>, "LilyPond User
> Group" <address@hidden>
>Subject: Re: Markup Query
>Message-ID: <address@hidden>
>Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> reply-type=original
>
>----- Original Message -----
>From: "Peter Gentry" <address@hidden>
>To: <address@hidden>
>Sent: Monday, September 03, 2012 11:52 AM
>Subject: Markup Query
>
>
>
>> In the first method I have used hspace to centre the text
>
>[snip]
>
>> This produces the line below
>>
>> Engraved 03-09-2012 with Lilypond 2.14.2
>> (http://lilypond.org/)
>>
>> The second method
>
>[snip]
>
>> results in
>> Engraved
>> 03-09-2012
>> with
>> Lilypond 2.14.2 (http;//lilypond.org/)
>
>
>I'm sorry, Peter, but I still can't work out what you actually
>_want_. Is
>it the first, but using a simpler syntax? Or the second, ditto? Or
>something different?
>
>--
>Phil Holmes
>
>
>
>
>------------------------------
>
>Message: 4
>Date: Mon, 3 Sep 2012 12:45:55 +0100
>From: "Phil Holmes" <address@hidden>
>To: "Peter Gentry" <address@hidden>, "LilyPond User
> Group" <address@hidden>
>Subject: Re: Markup Query
>Message-ID: <address@hidden>
>Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> reply-type=original
>
>----- Original Message -----
>From: "Peter Gentry" <address@hidden>
>To: "'Phil Holmes'" <address@hidden>
>Sent: Monday, September 03, 2012 12:20 PM
>Subject: RE: Markup Query
>
>
>> Phil
>>
>> I want the result to be as the first, ie one text string
>centred on the
>> page.
>>
>> I realise that the first example achieves this- however in
>general I would
>> like to be able to concatonate
>> data into one string that I could centre on the page without
>having to
>> manually calculate the required hspace. The second syntax
>> does this but splits up the components of the string and
>spaces then on
>> new lines.
>
>This should do what you want.
>
>date = "01-02-2012"
>\markup {
> \fill-line {
> \concat { "Engraved " \bold \date " with " \with-url
>#"http://lilypond.org/" "LilyPond " \simple #(lilypond-version) "
>(http://lilypond.org/)" }
> }
>
>Please remember to "reply-all" so that the mailing list also
>sees updates.
>
>--
>Phil Holmes
>
>
>
>
>------------------------------
>
>Message: 5
>Date: Mon, 3 Sep 2012 13:57:41 +0100
>From: "Peter Gentry" <address@hidden>
>To: "'Phil Holmes'" <address@hidden>, <address@hidden>
>Subject: RE: Markup Query
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset="us-ascii"
>
>The solution I was struggling towards was
>
>stamp = \markup{\concat { Engraved \bold \date with
>\with-url #"http://lilypond.org/" "LilyPond " } }
>
> I just never thought of the combination \markup and \concat
>in the definition of my variable stamp - to busy thinking in c++ string
>assignments.
>
>Doh. Thanks for bearing with me
>
> >-----Original Message-----
>>From: Phil Holmes [mailto:address@hidden
>>Sent: Monday, September 03, 2012 12:46 PM
>>To: Peter Gentry; LilyPond User Group
>>Subject: Re: Markup Query
>>
>>----- Original Message -----
>>From: "Peter Gentry" <address@hidden>
>>To: "'Phil Holmes'" <address@hidden>
>>Sent: Monday, September 03, 2012 12:20 PM
>>Subject: RE: Markup Query
>>
>>
>>> Phil
>>>
>>> I want the result to be as the first, ie one text string
>>centred on the
>>> page.
>>>
>>> I realise that the first example achieves this- however in
>>general I would
>>> like to be able to concatonate
>>> data into one string that I could centre on the page without
>>having to
>>> manually calculate the required hspace. The second syntax
>>> does this but splits up the components of the string and
>>spaces then on
>>> new lines.
>>
>>This should do what you want.
>>
>>date = "01-02-2012"
>>\markup {
>> \fill-line {
>> \concat { "Engraved " \bold \date " with " \with-url
>>#"http://lilypond.org/" "LilyPond " \simple #(lilypond-version) "
>>(http://lilypond.org/)" }
>> }
>>
>>Please remember to "reply-all" so that the mailing list also
>>sees updates.
>>
>>--
>>Phil Holmes
>>
>
>
>
>
>------------------------------
>
>_______________________________________________
>lilypond-user mailing list
>address@hidden
>https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>End of lilypond-user Digest, Vol 118, Issue 12
>**********************************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: lilypond-user Digest, Vol 118, Issue 12,
Peter Gentry <=