#})
{
fis4^\mymk 215
}
```
Note that this is a regular syntax function returning a markup (defined with
define-scheme-function) rather than a markup command, but you can also define a
markup command if you wish:
```
\version "2.24.1"
#(define-markup-command (mymk layout props se
Hi All,
Thanks to Jean Abou Samra I can now create \markup that goes to a place in
a youtube video.
These are of the form:
fis4^\markup \with-url#"https://youtu.be...?t=SEC"; {ref} where "SEC" is
replaced with the number of seconds in from the start.
I would like to create a function to simplif
5. November 2019 11:19, "Thomas Morley" schrieb:
> Am Di., 5. Nov. 2019 um 09:14 Uhr schrieb Karsten Reincke
> :
>
>> On Mon, 2019-11-04 at 23:06 +0100, Thomas Morley wrote:
>> Am Mo., 4. Nov. 2019 um 18:00 Uhr schrieb Karsten Reincke
>> :
>> [...]
>> Let me quote another part of my reply:
>>
Am Di., 5. Nov. 2019 um 09:14 Uhr schrieb Karsten Reincke :
>
> On Mon, 2019-11-04 at 23:06 +0100, Thomas Morley wrote:
> > Am Mo., 4. Nov. 2019 um 18:00 Uhr schrieb Karsten Reincke
> > :
> > [...]
> > Let me quote another part of my reply:
> >
> > Am Fr., 1. Nov. 2019 um 16:01 Uhr schrieb Thomas
alPair (cdr localPair) defaultValue)
)
)
% 2.) we define a markup function using a flexible variable
% parameter list:
% a) At the beginning we define the local parameter variables
% and let them be instantiated by our assign function.
% b) Then we manipulate the given values in any wa
On Mon, 2019-11-04 at 23:06 +0100, Thomas Morley wrote:
> Am Mo., 4. Nov. 2019 um 18:00 Uhr schrieb Karsten Reincke
> :
> [...]
> Let me quote another part of my reply:
>
> Am Fr., 1. Nov. 2019 um 16:01 Uhr schrieb Thomas Morley
> :
>
> > For variable amount of args I'd go for list? (or the like
Hi Karsten,
4. November 2019 17:59, "Karsten Reincke" schrieb:
> Dear friends
>
> A few days ago, I asked whether anyone knows how one can use variable
> parameter
> lists = optional arguments = flexible argumentlists in a markup function. I
> was
> told that such an opportunity does not exis
Am Mo., 4. Nov. 2019 um 18:00 Uhr schrieb Karsten Reincke :
>
> Dear friends
>
> A few days ago, I asked whether anyone knows how one can use variable
> parameter
> lists = optional arguments = flexible argumentlists in a markup function. I
> was
> told that such an opportunity does not exist (Th
gn
function. Then we manipulate the given values in any way. And finally we return
-
as a markup 'object' - a box containing the result of our manipulation:
#(define-markup-command (mybox layout props AL)
(list?)
(let*
( (la (assign ka AL dva))
(lb (assign kb AL dvb
Am 01.11.19 um 16:01 schrieb Thomas Morley:
Am Fr., 1. Nov. 2019 um 15:34 Uhr schrieb Karsten Reincke :
does anyone has / know about an example of a define-markup-command
implementation
using a variable number of arguments / parameters?
Nope, optional arguments are not possible using
Am Fr., 1. Nov. 2019 um 15:34 Uhr schrieb Karsten Reincke :
> does anyone has / know about an example of a define-markup-command
> implementation
> using a variable number of arguments / parameters?
Nope, optional arguments are not possible using define-markup-command.
> Unfortun
Dear friends;
does anyone has / know about an example of a define-markup-command
implementation
using a variable number of arguments / parameters?
Unfortunately, in my system (Linux Ubuntu 19.10 with Lilypond 2.18...) the
normal
GUILE / scheme syntax (define (x y . args) ) (doanythingwith args
urce=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
22/01/19,
22:01:26
Il giorno mar 22 gen 2019 alle ore 20:40 David Kastrup ha
scritto:
> Paolo Cantamessa writes:
>
> > Hello guys,
> > I need to undesrtand
Paolo Cantamessa writes:
> Hello guys,
> I need to undesrtand how work "define" and "define-markup-command".
>
> This work:
> #(define (testA txt mus y-offset)
>#{\markup \vcenter {
>
Hello guys,
I need to undesrtand how work "define" and "define-markup-command".
This work:
#(define (testA txt mus y-offset)
#{\markup \vcenter {
#txt
\column {
\null
\vspace #1
\sco
On Mon, Feb 29, 2016 at 2:07 PM, David Kastrup [via Lilypond] <
ml-node+s1069038n187897...@n5.nabble.com> wrote:
> tisimst <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=187897&i=0>> writes:
>
> > By the way, did the syntax for define-mark
tisimst writes:
> By the way, did the syntax for define-markup-command get simplified
> like define-music-function so the "layout props" args aren't necessary
> anymore? Just curious.
No. Neither does it do all the smart argument detection and default
arguments
suggestions?
> >
> > - Abraham
> >
>
>
> Uhh, markup-mode
>
> #(define-markup-command (ezscore layout props mus) (ly:music?)
> (interpret-markup layout props
> #{
> \markup {
> \score {
> \relative c'' { #mus }
>
2016-02-29 20:57 GMT+01:00 Abraham Lee :
> All,
>
> I'm trying to utilize the \score markup command within a custom
> define-markup-command that accepts a music expression, but I can't figure
> out how. I'm probably missing something obvious,
All,
I'm trying to utilize the \score markup command within a custom
define-markup-command that accepts a music expression, but I can't figure
out how. I'm probably missing something obvious, but here's a minimal
example:
\version "2.19.36"
\m
On 23/03/12 14:23, David Nalesnik wrote:
Hi Nick,
On Thu, Mar 22, 2012 at 9:29 PM, Nick Payne
mailto:nick.pa...@internode.on.net>> wrote:
I'm using define-markup-command to simplify the indication of
barring for a single chord, but what I have at the moment defaults
Hi Nick,
On Thu, Mar 22, 2012 at 9:29 PM, Nick Payne wrote:
> I'm using define-markup-command to simplify the indication of barring for
> a single chord, but what I have at the moment defaults to being centred on
> the note, and the vertical line indicating how many strin
I'm using define-markup-command to simplify the indication of barring
for a single chord, but what I have at the moment defaults to being
centred on the note, and the vertical line indicating how many strings
to cover is overlaid by the notehead unless the markup position is
tweaked.
Hi Nicolas,
many thanks for that hint!
Using make-score was the point. But also very nice you showed me how to
deal with layout settings in such a "scheme score".
Michael
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mail
good idea! But it still doesn't work. Let's look at the following
minimal example:
#(define-markup-command (testmusic layout props a b c) (number?
number? number?)
(interpret-markup layout props (markup #:score
(make-music
'SequentialMusic
'elements
(list (make-music
k at the following
minimal example:
#(define-markup-command (testmusic layout props a b c) (number? number?
number?)
(interpret-markup layout props (markup #:score
(make-music
'SequentialMusic
'elements
(list (make-music
'EventChord
'elements
3 +0100
> Von: "Michael Käppler"
> An: lilypond-user@gnu.org
> Betreff: \\score inside define-markup-command
> Hi all,
> is it possible to use the \score markup function in a new defined markup
> function construct?
>
> For example,
>
> #(define-markup
#(define-markup-command (test layout props testclef) (string?)
(interpret-markup layout props (markup #:score ( << \clef #testclef a4 h
c >>
This is invalid code because it mixes LilyPond and Scheme syntax. How can
I achieve something similar to what's expressed i
Hi all,
is it possible to use the \score markup function in a new defined markup
function construct?
For example,
#(define-markup-command (test layout props testclef) (string?)
(interpret-markup layout props (markup #:score ( << \clef #testclef
a4 h c >>
This is invalid
Orm Finnendahl escreveu:
> Hi,
>
> I try to define a markup for vertical arrows and can't get the
> function to take two numbers as arguments. Using strings as arguments
> or a number and a string works. It seems the last argument to
> define-markup-command has to be a st
Hi,
I try to define a markup for vertical arrows and can't get the
function to take two numbers as arguments. Using strings as arguments
or a number and a string works. It seems the last argument to
define-markup-command has to be a string. Does anybody know why and
how to make it work
31 matches
Mail list logo