lilypond-user
[Top][All Lists]
Advanced

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

Re: Default indentation of the first staffline


From: Thomas Morley
Subject: Re: Default indentation of the first staffline
Date: Sat, 8 Aug 2015 23:38:11 +0200

2015-08-08 22:55 GMT+02:00 Karl <address@hidden>:
> Hi
>
> I'm new to lilypond. I have two questions.
>
> 1. How do you overide the default indentation of the first staffline.
>
> 2. How do you overide the keysignature change at the end of each staff?
>
> Best,
>
> Karl

Hi Karl,

welcome to LilyPond and the list.


\version "2.18.2"

notes = {
  c4 d e f |
  %% here
  \set Staff.explicitKeySignatureVisibility = ##(#f #t #t)
  \key d \major
  \break
  c4 d e fis |
}


\score {
  \notes
  \layout {
    indent = #0
    \context {
      \Staff
      %% or here, note other syntax
      %explicitKeySignatureVisibility = ##(#f #t #t)
    }
  }
}


HTH,
  Harm



reply via email to

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