escaped string

View: New views
6 Messages — Rating Filter:   Alert me  

escaped string

by Erik Appeldoorn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Why do I get ëscaped string” error here. The compiled result looks ok to me

 

\layout {

 \context {

  \Staff

   \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)

   \fontSize = #-2

  }

 }

 

Hou je goed / Keep well,

 

Erik

 


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: escaped string

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If I remember correctly, \fontSize is not a known LilyPond string.

On 01.11.2009, at 00:20, Erik Appeldoorn wrote:

Why do I get ëscaped string” error here. The compiled result looks ok to me

 

\layout {

 \context {

  \Staff

   \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)

   \fontSize = #-2

  }

 }

 

Hou je goed / Keep well,

 

Erik

 

_______________________________________________
lilypond-user mailing list

James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

RE: escaped string

by Erik Appeldoorn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

According to the manual:

3.3.4 Modifying context properties

fontSize Real Increase or decrease the font size

 

and further:

 

% make note heads smaller

\set fontSize = #-4

 

I did forget to type the \set but the result is still the same…

 

Erik

 

 


From: James E. Bailey [mailto:derhindemith@...]
Sent: zondag 1 november 2009 0:28
To: Erik Appeldoorn
Cc: lilypond-user@...
Subject: Re: escaped string

 

If I remember correctly, \fontSize is not a known LilyPond string.

 

On 01.11.2009, at 00:20, Erik Appeldoorn wrote:



Why do I get ëscaped string” error here. The compiled result looks ok to me

 

\layout {

 \context {

  \Staff

   \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)

   \fontSize = #-2

  }

 }

 

Hou je goed / Keep well,

 

Erik

 

_______________________________________________

lilypond-user mailing list

 

James E. Bailey

 

 

 


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: escaped string

by Kieren MacMillan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Erik,
> I did forget to type the \set but the result is still the same…
>
When you are changing the font size within a music expression, you  
use the command \set fontSize.
When you are changing the font size within a \context definition  
block, you simply use fontSize (i.e., no \set, and not \fontSize).

Hope this helps!
Kieren.

_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: escaped string

by Trevor Daniels :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Erik Appeldoorn wrote Saturday, October 31, 2009 11:48 PM
>
> % make note heads smaller
>
> \set fontSize = #-4
      ^^
>
> I did forget to type the \set but the result is still the same.

Did you remember to remove the \?
 
Trevor



_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: escaped string

by Wilbert Berendsen-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Op zondag 01 november 2009 schreef Erik:

> \layout {
>  \context {
>   \Staff
>   \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
>   \fontSize = #-2
>  }
> }

You should remove the \ before fontSize. fontSize is not a command but a
variable that can be set to a value. This should work:

\layout {
  \context {
    \Staff
    \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
    fontSize = #-2
  }
}

If you want to change a variable in the middle of music, put
\set before it, like:

{
  c d e f g
  \set fontSize = #-2
  a b c d e
}

best regards,
Wilbert Berendsen

--
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user