[icon]

GNU LilyPond

Welcome to the home of the GNU Music Typesetter

What is LilyPond
General information
Simple examples
Complex examples
Download
GNU/Linux binaries
Windows
Source code
Documentation
Tutorial
Manual
Glossary
other ...

Support
Mailing lists
Search
WikiWiki
FAQs

External sites
lilypond.org/development
lilypond.org/stable
ftp.lilypond.org
Mutopia
Other music online

Node:Bar lines, Previous:Unmetered music, Up:Staff notation



Bar lines


  \bar bartype

This is a shortcut for doing

  \property Score.whichBar = bartype
The following bar types are available
c4
\bar "|" c
\bar "" c
\bar "|:" c
\bar "||" c
\bar ":|" c
\bar ".|" c
\bar ".|." c
\bar "|."

[picture of music]

You are encouraged to use \repeat for repetitions. See Repeats.

Whenever whichBar is set to a string, a bar line of that type is created. whichBar is usually set automatically: at the start of a measure it is set to defaultBarType. The contents of repeatCommands is used to override default measure bars.

whichBar can also be set directly, using \property or \bar . These settings take precedence over the automatic whichBar settings. BarLine grobs are created by the Bar_engraver .

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to lilypond@packages.debian.org

Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.4.12 (stable-branch) by

Anthony Fok <lilypond@packages.debian.org>, Tue Mar 12 01:35:39 2002 HKT.