|
From: | Urs Liska |
Subject: | Re: Including a score fragment in LaTeX document |
Date: | Wed, 3 Oct 2018 00:14:18 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Am 02.10.2018 um 23:49 schrieb Francesco Napoleoni:
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.Many thanks to you and Orm for the answer. Your suggestion does exactly what I was looking for; I just thought that the clipping could be done by means of some obscure option in \lilypondfile, that’s why I mentioned LaTeX/lilypond- book, so never mind.
It's just that such a misrepresentation makes it much less likely for you to get useful answers because only people interested in the LaTeX part would probably even look into your post. Well, ok, in this case you *did* get two replies immediately...
However, I would suggest you have a look at the lyluatex package (https://ctan.org/pkg/lyluatex). Apart from depending on the use of LuaLaTeX (as opposed to XeLaTeX) it does the same (and by now more) as lilypond-book, with the major improvement that you can directly compile the .tex document without going through the intermediate files.
Best Urs
cheers Francesco Napoleoni _______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |