Re: Change the text within a volta

2017-12-30 Thread Robin Bannister

nokel81 wrote:
Thank you very much however, my text comes out really weird. 


Consider using manual repeat marks, described in
http://lilypond.org/doc/v2.19/Documentation/notation/long-repeats#manual-repeat-marks

The funny letters you are getting are meant for dynamics, which shares 
its font with volta numbers. To change that you have to get into markup 
mode and apply the command \text.


The last example in this manual repeat section shows how to use a 
variable (in this case voltaAdLib) to benefit from markup mode.



Cheers,
Robin




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


Re: Change the text within a volta

2017-12-30 Thread Wols Lists
On 30/12/17 18:48, nokel81 wrote:
> Thank you very much however, my text comes out really weird. I have set my
> font- name to "sans" but that doesn't seem to help.
>  
> 
I think the problem(s) I had were

1) the default font was only numbers, hence having to set the font to
something with the alphabet, and
2) yes I also had the problem with the weird letters.

Fonts in lilypond give me grief. It could be you haven't actually got
sans, so it's selecting the closest match which is the fonts it uses for
music text like forte, sforzando etc, which is why you have the weird
italic.

I'll have to let someone else talk you through that, but it clearly is a
font problem :-(

If you care to search the list archives, the piece is Radetzky March so
if you search for posts of mine about Radetzky, you'll find the
thread(s) where people helped me.

Cheers,
Wol


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


Re: Change the text within a volta

2017-12-30 Thread nokel81
Thank you very much however, my text comes out really weird. I have set my
font- name to "sans" but that doesn't seem to help.
 



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Change the text within a volta

2017-12-29 Thread Wols Lists
On 29/12/17 22:32, nokel81 wrote:
> Yes, I tried using the raw tag, I guess it didn't work.
> 
> \omit Score.BarLine
> \repeat volta 3 {}
> \alternative {
>   {}
>   {
>   \undo \omit Score.BarLine
>   \bar "|"
>   f2
>   \bar "|"
>   }
>   {
>   f4( ees c) ees ees( f) f2 f
>   }
> }
> 
Not a minimal example, it won't compile on its own, but I think this
does what you're after. I have a couple of voltae, and there's different
text for them.

voiceMarkup =  {
s1*4 \bar "||" \mark \markup { \musicglyph #"scripts.segno" }
s1*15

\override Staff.VoltaBracket #'font-name = #"sans"
\set Score.repeatCommands = #'((volta "No repeat"))
{ s1 \bar "||" }
\set Score.repeatCommands = #'((volta #f) \text (volta "To Trio")
end-repeat)
{ s1 \bar "||" \mark \markup { \musicglyph #"scripts.ufermata" } }
\set Score.repeatCommands = #'((volta #f))

s1*16
{ \mark \markup { \musicglyph #"scripts.segno" } } \noBreak
\stopStaff \cadenzaOn s32 _\markup { \right-align "D.S. al Trio" }
s2 \cadenzaOff \startStaff
{ \mark \markup { "Trio" } }
s1*4 \bar "||"
s1*16
\repeat volta 2 {
s1*15 } \alternative { { s1 } { s1 _\markup { "D.C." } } }
}

Cheers,
Wol


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


Re: Change the text within a volta

2017-12-29 Thread nokel81
Yes, I tried using the raw tag, I guess it didn't work.

\omit Score.BarLine
\repeat volta 3 {}
\alternative {
{}
{
\undo \omit Score.BarLine
\bar "|"
f2
\bar "|"
}
{
f4( ees c) ees ees( f) f2 f
}
}



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Change the text within a volta

2017-12-29 Thread David Nalesnik
Hi,

On Fri, Dec 29, 2017 at 12:16 PM, nokel81  wrote:
> I currently have the following:
>

I see nothing here.  Could you include a short code example?

Thanks,
David

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