lilypond-user
[Top][All Lists]
Advanced

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

Re: Including a score fragment in LaTeX document


From: Urs Liska
Subject: Re: Including a score fragment in LaTeX document
Date: Tue, 2 Oct 2018 14:45:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1



Am 02.10.2018 um 11:42 schrieb Francesco Napoleoni:
Hi list,

I’m fiddling with lilypond-book and XeLaTeX for the first time and have a
little problem with a fragment that I want to include. I have a little
Lilypond file like this

\version "2.19.80"

\score {
   \new Staff {
     \clef treble
     \key c \major
     \time 12/8

% excerpt from Grieg Piano sonata op. 7
     \relative c'' {
% 16
       <c c'>4.->\ff <b b'>-> <ais ais'>-> <b b'>->\> | % note the decrescendo
here

% 17
       s1.\! | % I had to add this measure to get the hairpin printed
     }
   }
}

Now the (newbie) question: how can I include this code in a LaTeX document
(using \lilypondfile) without the last empty measure? I have tried clip-
regions in the \layout block with no success.

You can do that by making the last spacer rest use no time by writing
   s1*0\!

But please note that this isn't at all related to the question of including the score in the LaTeX document.

Urs


Thanks in advance
Francesco Napoleoni




_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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