Am 18.07.2014 13:45, schrieb Thomas Morley:
2014-07-18 12:57 GMT+02:00 Urs Liska <u...@openlilylib.org>:
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
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

Reply via email to