Re: "Squished" tie between 2 notes

2024-02-12 Thread Curt McDowell

I often resolve squished ties like that by flipping the tie; e.g., using
*fis^~* to force the tie on top, or *fis_~* to force it to the bottom.
(In this case, it looks good on top, but this doesn't help if you really
want it on the bottom.)

Regards,
Curt

On 2/11/24 09:30, George wrote:

bar 78 lily.png


Double dashed bar lines

2024-02-12 Thread Evan Driscoll
Disclaimer: I realize I'm on an older version of Lilypond. If that makes
things substantially more difficult it's not out of the question I could
upgrade, but I'd rather not at this time.

I'm trying the following:
\version "2.20.0"
\relative c'' {
  c4
  c
  \bar "!"
  c
  c
}

and this works, it gives me a dashed barline between the second and third
notes.

However, I can't figure out how to get a double dashed barline. \bar "!!",
"!|", and "|!", as well as `\bar "!" \bar "!"` are my four guesses, but
none work -- I get no barline with any of the first three, and just one
with the doubled-up `\bar`s.

Is this possible? What's the right markup for this?

Evan


Re: Double dashed bar lines

2024-02-12 Thread Leo Correia de Verdier
Hi! 

There is no predefined double dashed bar line in lilypond, (You can see a list 
of those at 
https://lilypond.org/doc/v2.25/Documentation/notation/list-of-bar-lines ) so 
you’ll have to define it using \defineBarLine , as described here 
https://lilypond.org/doc/v2.25/Documentation/notation/bar-lines

HTH
/Leo






> 12 feb. 2024 kl. 20:17 skrev Evan Driscoll :
> 
> 
> Disclaimer: I realize I'm on an older version of Lilypond. If that makes 
> things substantially more difficult it's not out of the question I could 
> upgrade, but I'd rather not at this time.
> 
> I'm trying the following:
> \version "2.20.0"
> \relative c'' {
>   c4
>   c
>   \bar "!"
>   c
>   c
> }
> 
> and this works, it gives me a dashed barline between the second and third 
> notes.
> 
> However, I can't figure out how to get a double dashed barline. \bar "!!", 
> "!|", and "|!", as well as `\bar "!" \bar "!"` are my four guesses, but none 
> work -- I get no barline with any of the first three, and just one with the 
> doubled-up `\bar`s.
> 
> Is this possible? What's the right markup for this?
> 
> Evan
> 
> 


Re: Double dashed bar lines

2024-02-12 Thread Knute Snortum
On Mon, Feb 12, 2024 at 11:17 AM Evan Driscoll  wrote:

> Disclaimer: I realize I'm on an older version of Lilypond. If that makes
> things substantially more difficult it's not out of the question I could
> upgrade, but I'd rather not at this time.
>
> I'm trying the following:
> \version "2.20.0"
> \relative c'' {
>   c4
>   c
>   \bar "!"
>   c
>   c
> }
>
> and this works, it gives me a dashed barline between the second and third
> notes.
>
> However, I can't figure out how to get a double dashed barline. \bar "!!",
> "!|", and "|!", as well as `\bar "!" \bar "!"` are my four guesses, but
> none work -- I get no barline with any of the first three, and just one
> with the doubled-up `\bar`s.
>
> Is this possible? What's the right markup for this?
>

It looks like \defineBarLine works in version 2.20, so:

\version "2.20"

\defineBarLine "!!" #'("!" "!" "")

{
  s1 \bar"!!"
  s1
}

The version-specific manual for that is:

https://lilypond.org/doc/v2.20/Documentation/notation/bars#bar-lines


--
Knute Snortum


Frescobaldi: Keyboard shortcut for toggling between editor and music view?

2024-02-12 Thread Hajo Baess
Hello all,

Maybe I am missing it alltogether or it does not exist or it is to hard
to find for me:
I am looking for a keyboard shortcut in Frescobaldi enabling me to
toggle between editor and music view, so I do not have to click with
the mouse.

I just can't find it. I have tried all kinds of possible candidates to
no avail. Is someone here who happens to know?

Thank you for pointing this out to me...



Assembling individual scores into a book

2024-02-12 Thread Eric Benson
I have a growing collection of one- or two-page scores that I want to
assemble into books, each with a table of contents. I've been using LaTeX's
pdfpages package for this purpose, just pulling together all the LilyPond
pdf output with page numbers added and a ToC on the front. This method
works pretty well and is in fact completely independent of LilyPond itself,
but I was thinking that the resulting assembled PDF files would be much
smaller if they shared font info and wondered if anyone has advice on
making a LilyPond book using \markuplist \table-of-contents with \tocItem
and \include for each separate score, while also maintaining the ability to
build each score as a separate PDF file.


Re: Double dashed bar lines

2024-02-12 Thread Evan Driscoll
Perfect; thanks to both of you!
Evan


On Mon, Feb 12, 2024 at 2:20 PM Knute Snortum  wrote:

> On Mon, Feb 12, 2024 at 11:17 AM Evan Driscoll  wrote:
>
>> Disclaimer: I realize I'm on an older version of Lilypond. If that makes
>> things substantially more difficult it's not out of the question I could
>> upgrade, but I'd rather not at this time.
>>
>> I'm trying the following:
>> \version "2.20.0"
>> \relative c'' {
>>   c4
>>   c
>>   \bar "!"
>>   c
>>   c
>> }
>>
>> and this works, it gives me a dashed barline between the second and third
>> notes.
>>
>> However, I can't figure out how to get a double dashed barline. \bar
>> "!!", "!|", and "|!", as well as `\bar "!" \bar "!"` are my four guesses,
>> but none work -- I get no barline with any of the first three, and just one
>> with the doubled-up `\bar`s.
>>
>> Is this possible? What's the right markup for this?
>>
>
> It looks like \defineBarLine works in version 2.20, so:
>
> \version "2.20"
>
> \defineBarLine "!!" #'("!" "!" "")
>
> {
>   s1 \bar"!!"
>   s1
> }
>
> The version-specific manual for that is:
>
> https://lilypond.org/doc/v2.20/Documentation/notation/bars#bar-lines
>
>
> --
> Knute Snortum
>
>


Re: Assembling individual scores into a book

2024-02-12 Thread Charlie Ma
I had the same challenge recently. See the attached. The individual parts
are in a "/parts" directory.
The "book.ly" file assembles the parts into a book with TOC.

I've also attached a simple script (assemble_book) to generate the book.ly
file (unix bash).

I am a newb with lilypond, so I'm sure there's a better and more natively
lilypond-ish way to accomplish this. I hope someone else will chime in.

-charlie


01. part1.ly
Description: Binary data


02. part2.ly
Description: Binary data


book.ly
Description: Binary data
#!/bin/bash

echo '\version "2.24.3"'
echo 'bookTitle = "book of parts"'
echo '\markuplist \table-of-contents'
ls ./parts/*.ly | while read partFile; do
	echo
	echo '\include "'${partFile}'"'
	echo '\bookpart {'
	echo '  \header { title = \pieceTitle}'
	echo '  \tocItem \markup \pieceTitle'
	echo '  \score { \scorePart }'
	echo '}'
done




Re: Assembling individual scores into a book

2024-02-12 Thread Charlie Ma
I should add that one issue with this method is with optimizing page turns.
E.g., if you were relying on a piece to start on an odd page but the prior
piece in the book ended on an odd page, you'd end up having to insert a
blank page in order to preserve your intended page turn. For large books
this can become onerous to manage.
I'm hoping someone can enlighten me with a better way.

thanks.


Re: Assembling individual scores into a book

2024-02-12 Thread Eric Benson
I should say that aside from wasting space on repeated font data, my
technique of using pdfpages in LaTeX is very effective and not
difficult, including a mechanism for starting two-page scores on even
pages. Here's my template:

On Mon, Feb 12, 2024 at 2:27 PM Charlie Ma  wrote:

> I should add that one issue with this method is with optimizing page turns.
> E.g., if you were relying on a piece to start on an odd page but the prior
> piece in the book ended on an odd page, you'd end up having to insert a
> blank page in order to preserve your intended page turn. For large books
> this can become onerous to manage.
> I'm hoping someone can enlighten me with a better way.
>
> thanks.
>


Template.tex
Description: Binary data


Re: Assembling individual scores into a book

2024-02-12 Thread Eric Benson
One limitation to keep in mind is that you must not put lilypond page
numbers in the scores, because pdfpages needs to write its own page numbers
that correspond to the ToC.

On Mon, Feb 12, 2024 at 2:42 PM Eric Benson  wrote:

> I should say that aside from wasting space on repeated font data, my
> technique of using pdfpages in LaTeX is very effective and not
> difficult, including a mechanism for starting two-page scores on even
> pages. Here's my template:
>
> On Mon, Feb 12, 2024 at 2:27 PM Charlie Ma  wrote:
>
>> I should add that one issue with this method is with optimizing page
>> turns.
>> E.g., if you were relying on a piece to start on an odd page but the
>> prior piece in the book ended on an odd page, you'd end up having to insert
>> a blank page in order to preserve your intended page turn. For large books
>> this can become onerous to manage.
>> I'm hoping someone can enlighten me with a better way.
>>
>> thanks.
>>
>