lilypond-user
[Top][All Lists]
Advanced

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

Re: How do I force a bar line?


From: Mats Bengtsson
Subject: Re: How do I force a bar line?
Date: Thu, 27 May 2004 10:26:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

One trick is to start the piece with
\partial 16 s16 \bar "||"

  /Mats

Jim Sabatke wrote:
I'm writing a converter for BMW (a windows bagpipe music program) to Lilypond conversion program. There are thousands of BMW files on the web, so it will be useful.

Pipers are very picky about how their music is printed, hence this and other questions I will be asking.

QUESTION: How do I force a bar immediately after the time signature at the beginning of a piece? I've tried the following, and many other things, with no success:

\notes {
    \time 2/2
    \tieUp
    \stemDown
    \slurUp
    \key d \major
    \relative c'
    \transpose c c' {
        #(add-grace-property 'Voice 'Stem 'length 6)
        #(add-grace-property 'Voice 'Stem 'thickness 1.0)

===>>>  \bar "||" \noBreak
        \partial 64*12
        e'8 a'16
        \noBreak %% Line: 1 Bar: 1
        \dbhg g'4 a'8[ e'8] \dbhg g'4 \tg d'8[ e'8]  |
        \noBreak %% Line: 1 Bar: 2

TIA,


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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