Hello everyone,

Thank you for this really useful hint.
Maybe I should also tell about my own ways to reduce typing work, although not 
necessarily only LilyPond code-specific:

First I use (as a longtime Frescobaldi user) many home-made hotkeys for all 
kinds of stupid things like certain markups, slurs, ties, beams, whole 
templates, repeats and much more with the cursor already in the right place..

Secondly I have come to appreciate a text expander - espanso - where you can 
define all kinds of triggers for the same things. Thus with three, four 
keystrokes you can get whatever you want in LilyPond code, and you only have to 
fill in the notes or modify a template for a new project.

Maybe this is of some interest for somebody out there, too...


Am Sat, Sep 27, 2025 at 05:39:35PM +0200 schrieb Simon Albrecht:
Hi everyone,

I figured this could be another entry for what might be a loose series, please let me know if I should knock it off or keep it going.

Entering many chords in succession gets cumbersome quick, especially in relative mode with wide intervals:

\relative { <c g' e'> <c a' f'> <c bes' g'> <c a' f'> | <c g' e'>1 }

But the <> alone add up.

This gets a lot easier knowing that <<>> aren’t just for different Voices or Staffs, they can be for simultaneous music within one Voice (or other Bottom context):

\context Bottom <<
  { c4 4 4 4  1 }
  { g4 a b a  g1 }
  \relative { e'4 f g f  e1 }


has the exact same output and meaning as the first version, but it’s much easier to type and read and understand.

If you explicitly created the Voice (or other Bottom context? IDK what other contexts this might apply to), you don’t need the \context Bottom part.

HTH, Simon


--
Hajo Bäß
Bogengasse 2
51588 Nümbrecht
Deutschland
Tel. und Fax +49 2293 3911
E-Mail: [email protected]

Reply via email to