Indenting arbitrary lines

2015-02-14 Thread David Bellows
I have an odd request that I'm hoping someone will have some ideas for.

1. I want all lines to be indented (like the first line).
2. Except when I specifically tell Lilypond not to indent. Like the following:

c4 d4 \bar""\break \don'tindentthisnextbit e4 f4 g4 ...

The project I'm working can generate musical acrostics (originally
mesostics but I've expanded a bit) and need to be able to format
staves in this manner in order to differentiate between a line that is
continuing from the previous one (indent) and one where the first note
is part of the acrostic (no indent). In case anyone's curious (and to
help visualize):
http://www.reddit.com/r/musicandpoetry/comments/2vsg6u/musical_mesostics/

And my first pass at doing it myself (without the indentation -- you
can see the problem):
https://drive.google.com/file/d/0B5Jk3Yrq1rrdaWNCVVJYMWtkdnM/view

Thanks!

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Indenting arbitrary lines

2015-02-14 Thread Phil Holmes
- Original Message - 
From: "David Bellows" 

To: "lilypond-user" 
Sent: Saturday, February 14, 2015 4:22 PM
Subject: Indenting arbitrary lines



I have an odd request that I'm hoping someone will have some ideas for.

1. I want all lines to be indented (like the first line).
2. Except when I specifically tell Lilypond not to indent. Like the 
following:


c4 d4 \bar""\break \don'tindentthisnextbit e4 f4 g4 ...

The project I'm working can generate musical acrostics (originally
mesostics but I've expanded a bit) and need to be able to format
staves in this manner in order to differentiate between a line that is
continuing from the previous one (indent) and one where the first note
is part of the acrostic (no indent). In case anyone's curious (and to
help visualize):
http://www.reddit.com/r/musicandpoetry/comments/2vsg6u/musical_mesostics/

And my first pass at doing it myself (without the indentation -- you
can see the problem):
https://drive.google.com/file/d/0B5Jk3Yrq1rrdaWNCVVJYMWtkdnM/view



Could you put all the lines that are "continuations" in a single score 
block, and have multiple score blocks?  You could then try a negative indent 
for the first line to "outdent" it.


--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Indenting arbitrary lines

2015-02-17 Thread David Bellows
> Could you put all the lines that are "continuations" in a single score block, 
> and have multiple score blocks?  You could then try a negative indent for the 
> first line to "outdent" it.

[I just realized I didn't post this to the list. Plus I'm hoping for
some more responses]

I think if I were doing this manually that would probably work.
Unfortunately changing my software to generate multiple score blocks
would require a lot of work that I'm not sure is justified for just
this one thing. I was lucky that I was able to insert the basic
acrostic idea without having to rewrite any of the infrastructure.

On Sat, Feb 14, 2015 at 8:27 AM, Phil Holmes  wrote:
> - Original Message - From: "David Bellows" 
> To: "lilypond-user" 
> Sent: Saturday, February 14, 2015 4:22 PM
> Subject: Indenting arbitrary lines
>
>
>
>> I have an odd request that I'm hoping someone will have some ideas for.
>>
>> 1. I want all lines to be indented (like the first line).
>> 2. Except when I specifically tell Lilypond not to indent. Like the
>> following:
>>
>> c4 d4 \bar""\break \don'tindentthisnextbit e4 f4 g4 ...
>>
>> The project I'm working can generate musical acrostics (originally
>> mesostics but I've expanded a bit) and need to be able to format
>> staves in this manner in order to differentiate between a line that is
>> continuing from the previous one (indent) and one where the first note
>> is part of the acrostic (no indent). In case anyone's curious (and to
>> help visualize):
>> http://www.reddit.com/r/musicandpoetry/comments/2vsg6u/musical_mesostics/
>>
>> And my first pass at doing it myself (without the indentation -- you
>> can see the problem):
>> https://drive.google.com/file/d/0B5Jk3Yrq1rrdaWNCVVJYMWtkdnM/view
>
>
>
> Could you put all the lines that are "continuations" in a single score
> block, and have multiple score blocks?  You could then try a negative indent
> for the first line to "outdent" it.
>
> --
> Phil Holmes

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Indenting arbitrary lines

2015-02-17 Thread Kieren MacMillan
Hi David,

> I think if I were doing this manually that would probably work.
> Unfortunately changing my software to generate multiple score blocks
> would require a lot of work that I'm not sure is justified for just
> this one thing. I was lucky that I was able to insert the basic
> acrostic idea without having to rewrite any of the infrastructure.

Then you probably need to use explicit X-offset adjustments — see 

 for more details.

Hope this helps!
Kieren.
___

Kieren MacMillan, composer
www:  
email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Indenting arbitrary lines

2015-02-18 Thread David Bellows
> Then you probably need to use explicit X-offset adjustments — see 
> 
>  for more details.

Thanks for this. I went through the example and tried my best to
incorporate it into my software and resultant Lilypond files but since
I wasn't really sure what it/I was doing I couldn't get the results I
wanted.

For now I'm just coloring the "spine notes" red. It's not perfect but
I think it gets the job done pretty well.

Thanks,
Dave

On Tue, Feb 17, 2015 at 12:55 PM, Kieren MacMillan
 wrote:
> Hi David,
>
>> I think if I were doing this manually that would probably work.
>> Unfortunately changing my software to generate multiple score blocks
>> would require a lot of work that I'm not sure is justified for just
>> this one thing. I was lucky that I was able to insert the basic
>> acrostic idea without having to rewrite any of the infrastructure.
>
> Then you probably need to use explicit X-offset adjustments — see 
> 
>  for more details.
>
> Hope this helps!
> Kieren.
> ___
>
> Kieren MacMillan, composer
> www:  
> email:  i...@kierenmacmillan.info
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user