lilypond-user
[Top][All Lists]
Advanced

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

Bar Line Thickness


From: David O'Donnell
Subject: Bar Line Thickness
Date: Sat, 25 Jan 2014 13:42:41 -0500

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

I am trying to match a third-party score which has very thin staff and bar lines. I managed to learn how to adjust the staff lines, but I cannot seem to affect the bar line thickness.

Sample code is below.

Thanks,
David

\version "2.18.0-1"
\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 Staff.StaffSymbol #'thickness = #0.6
\override Staff.BarLine #'thickness = #2
%\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]