Hello Karl,
welcome to the list!
On 24.10.2015 14:35, Karl Husum wrote:
How do you hide bars in Lilypond,
There’s a really nice command for that: ‘\hide BarLine’ :-)
that is make them invisible?
\hide does typeset the grob, but invisibly, and thus still reserves
space; you might also try \omit, which doesn’t typeset the grob at all.
And how do you end a crescendo on a whole note when it is the last
note of a piece?
There are multiple ways, see the following example:
%%%%%%%%%%%%%%%%%
\version "2.18.2"
\language "deutsch"
after =
#(define-music-function
(parser location t e m)
(ly:duration? ly:music? ly:music?)
#{
<<
#m
{ \skip $t <> -\tweak extra-spacing-width #empty-interval $e }
>>
#})
\score {
<<
\new Voice {
c''1\<
\once\hide Score.BarLine
\once\hide Score.SpanBar
h'\!
\bar "|."
}
\new StaffGroup <<
\new Voice {
c''1\<
% simultaneous music within one voice
<< { h' } { s2 s\! } >>
}
\new Voice {
c''1\<
% after a duration of ‘2.’, insert a ‘\!’ while the ‘h'’ is
playing
\after 2. \! h'
}
>>
>>
}
%%%%%%%%%%%%%%%%%%
If you have further questions, don’t hesitate to ask.
In general, it’s very much recommended to read our Learning Manual,
which provides an indispensable basis for working with LilyPond:
<http://lilypond.org/doc/v2.18/Documentation/learning/index.html>.
Happy Ponding and best regards,
Simon