lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: justified paragraphs in bookTitleMarkup


From: Urs Liska
Subject: Re: justified paragraphs in bookTitleMarkup
Date: Fri, 18 Jul 2014 13:58:57 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Am 18.07.2014 13:45, schrieb Thomas Morley:
2014-07-18 12:57 GMT+02:00 Urs Liska <address@hidden>:
Hi,

I still don't seem to understand this markup stuff sufficiently :-(

...

Best
Urs


Does justify-string what you want?

Unfortunately not. It's the same as with justify-field. The result is basically right, but I can only supply a string to it and not a markup (i.e. no further formatting).

Best
Urs


\header {
   desc = \markup \justify-string
     #"When working on a score it is often necessary to mark the state of
     development on a given intermediate state (printout or shared PDF).
     Instead of simply adding a date it can be very useful to add information
     about the Git revision if the document is in a version control repository.

     This module provides markup commands that retrieve information about the
     current Git repository. It is not only possible to get information about
     the current commit but also whether the repository is in a clean state
     (i.e. whether the score represents the state of a commit or contains
     modifications in the working tree).

     A generic command can be used to issue arbitrary Git commands.
     For a list of defined commands see the usage example."
}

\paper {
   bookTitleMarkup = \markup {
      \fromproperty #'header:desc
   }
}

{ c' }


Cheers,
   Harm

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



--




reply via email to

[Prev in Thread] Current Thread [Next in Thread]