lilypond-devel
[Top][All Lists]
Advanced

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

Re: Aligning single systems?


From: Karl Hammar
Subject: Re: Aligning single systems?
Date: Sat, 8 May 2010 12:33:17 +0200 (CEST)

James Bailey:
> On 07.05.2010, at 21:53, David Kastrup wrote:
> > "Boris Shingarov" <address@hidden> writes:
> >>> for theoretical work it often is necessary to write several short
> >>> systems in one line, interspersed with text.
...
> > \markuplines {
> >   \justified-lines {
> >     some text
> >     \score { e''' \layout {} }
> >     more text
> >     \score { c \layout {} }
> >   }
> > }
> > Nothing lines up.  Text is in the sky, music systems are skewed.
> While not completely ideal, frequently, markup has to be aligned. So  
> the original snippet:
[Bailey: attachment, above with \vcenter added]

One can add "placeholders" to define vertical extent (how do one make 
it zero length?):

\version "2.13.0"
\paper {
  indent = 0\mm
}
range = {
 \hideNotes
 <c e''''>4
 \unHideNotes
}

\markuplines {
    \justified-lines {
       "some text"
       \vcenter
       \score { { \range e''' } \layout { } }
       "more text"
       \vcenter
       \score { { \range c } \layout { } }
    }
}

Regards,
/Karl Hammar






reply via email to

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