Re: barré variables and TextSpanner

2012-11-19 Thread Thomas Morley
2012/11/18 Federico Bruni : > Il 18/11/2012 18:10, Thomas Morley ha scritto: > >> So see my own coding below. >> >> \version "2.16.0" >> >> barre = >> #(define-music-function (parser location strg music)(string? ly:music?) >> (let ((arg (string-append "B " strg))) >>#{ >> \ove

Re: barré variables and TextSpanner

2012-11-18 Thread Nick Payne
On 18/11/12 23:11, Federico Bruni wrote: > I'm currently using these simple variables to reduce the clutter in my > files: > > barreI = \override TextSpanner #'(bound-details left text) = #"B I " > barreII = \override TextSpanner #'(bound-details left text) = #"B II " > barreIII = \override TextSpa

Re: barré variables and TextSpanner

2012-11-18 Thread Federico Bruni
Il 18/11/2012 18:10, Thomas Morley ha scritto: So see my own coding below. \version "2.16.0" barre = #(define-music-function (parser location strg music)(string? ly:music?) (let ((arg (string-append "B " strg))) #{ \override TextSpanner #'(bound-details left text) = $arg

Re: barré variables and TextSpanner

2012-11-18 Thread Thomas Morley
2012/11/18 Federico Bruni : > Il 18/11/2012 14:28, Thomas Morley ha scritto: > >> boiled down, you want to use a function to set 'left 'text of TextSpanner. >> >> How about: >> >> \version "2.16.0" >> >> barre = >> #(define-music-function (parser location strg)(string?) >> (let ((arg (string-append

Re: barré variables and TextSpanner

2012-11-18 Thread Federico Bruni
Il 18/11/2012 14:28, Thomas Morley ha scritto: boiled down, you want to use a function to set 'left 'text of TextSpanner. How about: \version "2.16.0" barre = #(define-music-function (parser location strg)(string?) (let ((arg (string-append "B " strg))) #{ \override TextSpanner #'(bou

Re: barré variables and TextSpanner

2012-11-18 Thread Thomas Morley
2012/11/18 Federico Bruni : > I'm currently using these simple variables to reduce the clutter in my > files: > > barreI = \override TextSpanner #'(bound-details left text) = #"B I " > barreII = \override TextSpanner #'(bound-details left text) = #"B II " > barreIII = \override TextSpanner #'(bound