[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/etc shortcut
From: |
Stephan Schöll |
Subject: |
/etc shortcut |
Date: |
Sat, 30 Apr 2022 22:44:39 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
Hi everybody
A few days ago Lukas-Fabian has pointed me to the existence of the /etc
shortcut. It seems to me that this would easy a lot of everday work
without any further Scheme skills (music-function-... ). Unfortunately
the /etc shortcut is not mentionned in the official docs. The only
information I could find is at
https://extending-lilypond.readthedocs.io/en/latest/music.html#the-etc-shortcut
I tried to create an mve for myself but failed:
boxedMark = \mark \markup { \box \etc }
{
c1 d \boxedMark "Part II" e f
}
My current (but appearently failing) mental model is that /etc is a kind
of function parameter - here called with value "Part II". (I know how
procedural and oo languages work.) boxedMark is my function, and with
the \etc parameter I am able to pass my value o the functions body.
Any help is appreciated.
Best regards
Stephan
- /etc shortcut,
Stephan Schöll <=