AW: Custom Markup Command

2019-09-18 Thread Aron Hanowski
Ursprüngliche Nachricht- > Von: Leo Correia de Verdier > Gesendet: Mittwoch, 18. September 2019 13:22 > An: sir.teddy.the.fi...@gmail.com > Cc: lilypond-user > Betreff: Re: Custom Markup Command > > You know there is a better way of writing chords, right? > >

Re: Custom Markup Command

2019-09-18 Thread Leo Correia de Verdier
de #'(font-name . "Georgia Bold") #text } #})) chord = ^\markup \formatchord \etc \relative c' { c4 \chord "Am" d e f } > 18 sep. 2019 kl. 12:39 skrev > : > > Hi all, > I’m trying to create a custom markup command to display tex

Custom Markup Command

2019-09-18 Thread sir.teddy.the.first
Hi all, I'm trying to create a custom markup command to display text (in my case a chord name, but it could be any text) over a note. This is what I have so far: %% \version "2.19.83" #(define-markup-command (chord layout props te

Re: custom markup help

2015-05-24 Thread Klaus Blum
} } #}) {g\sd "3"} % --- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/custom-markup-help-tp176923p176976.html Sent fro

Re: custom markup help

2015-05-24 Thread Damian leGassick
On 23 May 2015, at 13:11, Klaus Blum wrote: > Hi Damian, > > aah, Nick was faster than me... :-) > > The easiest way I've found would be this: > > % --- > \version "2.18.0" > > #(define-markup-command (sd layout props sdnum) (markup

Re: custom markup help

2015-05-24 Thread Damian leGassick
On 23 May 2015, at 12:51, Nick Payne wrote: > On 23/05/2015 21:24, Damian leGassick wrote: >> \version "2.18.0" >> >> >> #(define-markup-command (sd layout props sdnum) (markup?) >> #:properties ((baseline-skip 0.5)) >> "Put a number with a carat above the note." >> (interpret-markup layo

Re: custom markup help

2015-05-23 Thread Klaus Blum
-\markup { \override #'(baseline-skip . 0.5) \column { \small {^ #sdnum }} } #}) {g^\sd "3"} % --- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/cust

Re: custom markup help

2015-05-23 Thread Nick Payne
On 23/05/2015 21:24, Damian leGassick wrote: \version "2.18.0" #(define-markup-command (sd layout props sdnum) (markup?) #:properties ((baseline-skip 0.5)) "Put a number with a carat above the note." (interpret-markup layout props #{\markup \override #`(baseline-skip . ,baseline-s

custom markup help

2015-05-23 Thread Damian leGassick
Hello list I'm trying to get a markup to help with repetitive addition of scale-degrees with carats I've got this far, but it's not picking up the new default baseline-skip value \version "2.18.0" #(define-markup-command (sd layout props sdnum) (markup?) #:properties ((baseline-skip 0.5))

Re: custom markup for \tempo

2014-04-04 Thread Simon Bailey
hi, On Fri, Apr 4, 2014 at 11:13 AM, Wilbert Berendsen wrote: > > Make nbTempo a music function that accepts the arguments and calls the > markup command (which I renamed to nbTempomkup). Like this: > d'oh. well that was sufficiently simple that i'm ashamed i asked. i will never try programmin

Re: custom markup for \tempo

2014-04-04 Thread Wilbert Berendsen
Op Fri, 4 Apr 2014 10:19:40 +0200 Simon Bailey schreef: > hello, the list! > > i have constructed the following: > > %%% SNIP %%% > #(define-markup-command > (nbTempo layout props expression beat tempo) > (markup? string? markup?) > (interpret-markup layout props > #{ > \markup

custom markup for \tempo

2014-04-04 Thread Simon Bailey
hello, the list! i have constructed the following: %%% SNIP %%% #(define-markup-command (nbTempo layout props expression beat tempo) (markup? string? markup?) (interpret-markup layout props #{ \markup { \override #'(baseline-skip . 2) \column { \concat {

is it possible to scale the horizontal width of a custom markup according to the graphic position of notes?

2013-02-13 Thread Jeffrey Trevino
Hi there, I'm having trouble grasping how a horizontally spanning custom markup can reliably correspond to the graphic space occupied by several notes, aside from lots of trial-and-error coordinate tweaking. I'd like to do something like, my_horizontal_markup = #'(eleventy_

Re: distance between lines in custom markup

2007-09-11 Thread Neil Puttock
Hi Adam, On 9/12/07, Adam Good <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > in the markup below, two lines of text will be printed in a column > so, one on top of the other. > > How can I decrease/increase the vspace between them? Have a look at "text-interface" in the Graphical Object Interf

distance between lines in custom markup

2007-09-11 Thread Adam Good
Hi everyone, in the markup below, two lines of text will be printed in a column so, one on top of the other. How can I decrease/increase the vspace between them? Thanks all Adam Good % custommark = #(define-music-function (parser location marktext) (string?) (make-music 'TextScriptEve

Re: Trying to create a custom markup command

2007-07-13 Thread Tao Cumplido
Anthony S. Bismonte" <[EMAIL PROTECTED]> An: "LilyPond User Mailing List" Betreff: Trying to create a custom markup command > I liked the idea of a segue so much, that I decided that I should write a > custom markup command for it: > > #(define-mar

Re: Trying to create a custom markup command

2007-07-12 Thread Valentin Villenave
2007/7/13, Romel Anthony S. Bismonte <[EMAIL PROTECTED]>: I'll bother some other list about how to make it work in IE. ^_^ Yep; I bet MS guys will be thankful if you send them a patch :) Greetings, Valentin ___ lilypond-user mailing list lilypond-

Re: Trying to create a custom markup command

2007-07-12 Thread Romel Anthony S. Bismonte
Ah, all right! Now I'm pointed in the right direction. Thanks, again, guys. Maybe I shouldn't code or read the manual when my mind is telling me that I should sleep. It sure is clear what I did wrong now that I see my code in the light of day! But hey, a bug, right? That's pretty exciting; I've

RE: Trying to create a custom markup command

2007-07-12 Thread Carl D. Sorensen
Valentin wrote: > What has to be done? How do you define the (string?) start? Oops -- my bad. I misread the error messages. All that needs to happen is to enclose the multiple notes in braces, to make a single music expression. Multiple notes outside of braces make multiple music expressions

RE: Trying to create a custom markup command

2007-07-12 Thread Carl D. Sorensen
Valentin wrote: > -Original Message- > From: Valentin Villenave [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 12, 2007 12:51 PM > > I was about to add it to the LSR when I realized it only > works when your score contains only *one* note... Try adding > a few more notes before the

Re: Trying to create a custom markup command

2007-07-12 Thread Graham Percival
Romel Anthony S. Bismonte wrote: By the way, I am interested in contributing to the documentation. The main instructions are here: http://lilypond.org/web/devel/participating/documentation-adding If you don't have any ideas for specific improvements, I have a list of improvements waiting for

Re: Trying to create a custom markup command

2007-07-12 Thread Valentin Villenave
2007/7/12, Carl D. Sorensen <[EMAIL PROTECTED]>: I hope this has been helpful. I was about to add it to the LSR when I realized it only works when your score contains only *one* note... Try adding a few more notes before the c'1, and you'll see it doesn't work any longer. What has to be done?

RE: Trying to create a custom markup command

2007-07-12 Thread Carl D. Sorensen
Romel wrote: > I liked the idea of a segue so much, that I decided that I > should write a custom markup command for it: > > #(define-markup-command (segue layout props tosong) > (string?) > (interpret-markup layout props > (markup #:small #:column "

Re: Trying to create a custom markup command

2007-07-12 Thread Romel Anthony S. Bismonte
c1_\segue #"Something Else" Only `c1-\segue' works, IIRC. Writing something which works with `_' and `^' is a bit more difficult; however, I've added an example some time ago to the docs. Werner I tried `c1-\segue #"Something Else"'. This didn't work, either. The log file says th

Re: Trying to create a custom markup command

2007-07-12 Thread Werner LEMBERG
> c1_\segue #"Something Else" Only `c1-\segue' works, IIRC. Writing something which works with `_' and `^' is a bit more difficult; however, I've added an example some time ago to the docs. Werner ___ lilypond-user mailing list lilypond-use

Trying to create a custom markup command

2007-07-12 Thread Romel Anthony S. Bismonte
I liked the idea of a segue so much, that I decided that I should write a custom markup command for it: #(define-markup-command (segue layout props tosong) (string?) (interpret-markup layout props (markup #:small #:column "segue to" #:italic tosong) ) ) The u

Re: help with custom markup command?

2006-07-24 Thread Nicolas Sceaux
"Monk Panteleimon" <[EMAIL PROTECTED]> writes: > \markup \pad-markup #3 \large{ \with-color #(x11-color 'firebrick) \italic { > \hspace #9 Deacon:} \override #'(line-width . 60) \justify{ What the deacon > says. } } > > I want to condense this into a command so that {what the deacon says} > consti

Re: help with custom markup command?

2006-07-21 Thread Graham Percival
Please keep lilypond questions on the mailist. Monk Panteleimon wrote: Yes, I've been looking at the 2.9 docs, and I see that they are quite clearly written, but it's still pretty hard for me, being a non-programmer. Maybe I can submit some more specific questions. I think that everything ca

FW: help with custom markup command?

2006-07-20 Thread Monk Panteleimon
Yes, I've been looking at the 2.9 docs, and I see that they are quite clearly written, but it's still pretty hard for me, being a non-programmer. Maybe I can submit some more specific questions. Let's say in the "smallcaps" example in section 12.4.3 we wanted to employ the functions represented

Re: help with custom markup command?

2006-07-20 Thread Graham Percival
Monk Panteleimon wrote: I have been ambitiously reading the section on "programmer interfaces" and the scheme tutorial in an attempt to make a special markup command. I'm not getting very far, and I thought someone more clever and experienced might do better. I also thought someone clever and exp

help with custom markup command?

2006-07-20 Thread Monk Panteleimon
Hello. I have been ambitiously reading the section on "programmer interfaces" and the scheme tutorial in an attempt to make a special markup command. I'm not getting very far, and I thought someone more clever and experienced might do better. I also thought someone clever and experienced might qui

Re: Custom markup

2005-07-19 Thread Nicolas Sceaux
"Sven Axelsson" <[EMAIL PROTECTED]> writes: > OK, thanks. That gives the correct output. > > But how would I wrap this into a self-contained command? > > If I try > > tc = \once \override TextScript #'staff-padding = #2 \markup { \column { "T" > "C" } } > > then Lily fails (understandably) when I

RE: Custom markup

2005-07-18 Thread Sven Axelsson
a\tc } instead of { a_\tc } -- Sven Axelsson > -Original Message- > From: Mats Bengtsson [mailto:[EMAIL PROTECTED] > Sent: den 18 juli 2005 21:27 > To: Sven Axelsson > Cc: lilypond-user@gnu.org > Subject: Re: Custom markup > > One useful trick here is to increase

Re: Custom markup

2005-07-18 Thread Mats Bengtsson
See http://lists.gnu.org/archive/html/lilypond-user/2005-07/msg00138.html for some hints on how to implement a function in Scheme which you can use with the syntax \tc a /Mats Sven Axelsson wrote: OK, thanks. That gives the correct output. But how would I wrap this into a self-contained com

Re: Custom markup

2005-07-18 Thread Mats Bengtsson
One useful trick here is to increase the value of the staff-padding property of the TextScript object. This property determines the minimum distance from the script to the staff lines, so as long as you set this value large enough so that no note gets too close to the text scripts, they will all b

Custom markup

2005-07-17 Thread Sven Axelsson
I want to create a simple text markup that should be placed *at a fixed height* below the notes. I haven't figured out how yet - so many properties. I have this now tc = \markup { \column { "T" "C" } } and using it like this \relative c' { c4_\tc g'_\tc b_\tc } which is OK, except for the mar