Am 15.03.2015 um 17:18 schrieb Simon Albrecht:
Hello,

in my stylesheets, I usually include

germanTagline = \markup {
  \italic
The \italic here is my personal preference, of course. But if the appearance of the tagline is generated through a dedicated markup function, it’s most easy to adapt this.
\pad-to-box #'(0 . 0) #'(0 . 3)
  {
    \with-url #"http://lilypond.org/";
    \line {
      #(format #f "Noten gesetzt mit LilyPond ~a ~a www.lilypond.org"
         (lilypond-version)
         (ly:wide-char->utf-8 #x2013) ;;2013 = en dash.
         )
    }
  }
}

and write

\header {
  tagline = \germanTagline
}

in the score.

Wouldn’t it be possible to do this automatically on the grounds of the \language command?

As another approach one might provide a function which, in \header {}, allows to write

\Tagline "deutsch" or
\Tagline "de" or similar

and thus easily choose a preset text for the desired language. I attached a draft of this, which I couldn’t get to work, unfortunately, since \displayScheme can’t handle \header blocks. I think it gives an idea, nevertheless.

What do you think?

Yours, Simon


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to