Get Width and Height of markup

2024-06-04 Thread William Rehwinkel via LilyPond user discussion
Dear list, In the following example, I am wondering how I can find the measurements of the dimensions, specifically the width, of a markup object. This is so I can automatically indent the first line by the length of the instrumentName. Thanks, -William % \version

Re: how to draw lines independent from the notes

2024-06-04 Thread Aaron Hill
On 2024-06-04 9:40 am, Paolo Prete wrote: That's impressive, thanks!! I encourage the maintainers of the code to replace the triangle shape in native LilyPond with your code, given that the actual shape is pretty weird and the gap with the segment is not nice to look at... I had hoped to

manual vertical alternative marks

2024-06-04 Thread Paul Scott
I have tried several variations of (volta #f) and end-repeat with the following code: \version "2.25.16" xDS = \markup{\fontsize #4 \line{D.S. al Fine }} xFine = \markup{\fontsize #4 Fine} music = \fixed c' {   g1   \segnoMark 1   f 4 g a b   \set Score.repeatCommands = #`((volta ,xDS) )   g4

Re: how to draw lines independent from the notes

2024-06-04 Thread Paolo Prete
That's impressive, thanks!! I encourage the maintainers of the code to replace the triangle shape in native LilyPond with your code, given that the actual shape is pretty weird and the gap with the segment is not nice to look at... On Tue, Jun 4, 2024 at 2:07 PM Aaron Hill wrote: > On

Re: how to draw lines independent from the notes

2024-06-04 Thread Silvain Dupertuis
To create a drawing in PostScript format, one option would be to create the drawing with Inkscape and save as PostScript (*.ps). Something to test... Inkscape can open and save Postscript format. Then one can open the file with a text editor to copy and paste the relevant shape into a Lilypond

Re: gvim point and click

2024-06-04 Thread Stefan Thomas
Dear Timothy, for all, who are interested in, I finally got it to work (with Your help and also with chatgpt). I wrote in okular/settings/configure okular/edior: > custom editor gvim --servername GVIM --remote-send ":e %f:call > SetCursorAdjusted(%l,%c)" And I wrote in .vimrc function!