lilypond-user
[Top][All Lists]
Advanced

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

Re: Bar Line Thickness


From: Kieren MacMillan
Subject: Re: Bar Line Thickness
Date: Sat, 25 Jan 2014 13:54:27 -0500

Hi David,

> Is there a way to adjust the bar lines to be as thick or thin as one wants?

See snippet below.
In particular note that, within \layout { \context { \Staff…, you don’t need to 
\override Staff.Grob, but just \override Grob

Hope this helps!
Kieren.
_________________

\version "2.18.0"
\include "english.ly"

#(set-global-staff-size 14)
#(ly:set-option (quote no-point-and-click))

#(set! paper-alist (cons '("ustrade" . (cons (* 6 in) (* 9 in))) paper-alist))

\paper {
        #(set-paper-size "ustrade") 
}

\paper{
  indent=0\mm
  line-width=5\in
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}

global = {
        \key d \major
        \time 4/4
        \autoBeamOff
}

melody = \relative c' {
        \global
        \partial 2
        d2 |
        fs4 g a b |
        a2 a |
        b4 cs d b |
        cs2 \bar "" \break
                a2 |
        d4 cs b a |
        gs2 a |
        b4 a a gs |
        a2 \bar ""
                fs2 |
        b4 a g fs |
        e2 a |
        g4 fs e e |
        d2 \bar "|."
}


verseOne = \lyricmode {
        \set stanza = "1."
        Hail to the Lord who comes,
        Comes to his tem -- ple gate!
        Not with his An -- gel host,
        Not in his king -- ly state;
        No shouts pro -- claim him nigh,
        No crowds his com -- ing wait;
}


\score {
  <<
    \new Voice = "tune" {
      \melody
    }
    \new Lyrics \lyricsto "tune" { \verseOne }
  >>
\layout {
    \context {
      \Score
      % **** Turns off bar numbering
      \remove "Bar_number_engraver"
    }
        \context {
                \Staff
                \override StaffSymbol #'staff-space = #1.11   
                \override StaffSymbol #'thickness = #0.6
                \override BarLine #'hair-thickness = #20
        %\override Staff.BarLine #'hair-thickness = #0.5

        }
        \context {
                \Staff
                \remove "Time_signature_engraver"
                 }
  }
}


reply via email to

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