Re: SVG in \markup Block?

2020-01-19 Thread Aaron Hill
On 2020-01-19 7:08 pm, Arle Lommel wrote: Thanks, Aaron. This is *tremendously* helpful. It gives me a good start to go on. I noticed that your version rotated the symbol 180 degrees, so if I prefixed all of the numbers with a negative, it made it appear right (although very large, which was the

Re: SVG in \markup Block?

2020-01-19 Thread Arle Lommel
>

Re: SVG in \markup Block?

2020-01-19 Thread Aaron Hill
On 2020-01-19 5:41 pm, Arle Lommel wrote: In a nutshell, I’d like to do one of the following: 1. Use an SVG description of a shape directly in a \markup block. (I want something entirely portable within a single Lilypond file, rather than referencing external files, hence the desire to have it

Syntax-highlighter

2020-01-19 Thread Craig Dabelstein
Hi LilyPonders, To help with the documentation of future LilyPond projects I have tried to write a syntax highlighter to be used by Pygments (which can then be used by many other programs for presenting code examples). I'm inexperienced at this sort of thing so I would really appreciate any

SVG in \markup Block?

2020-01-19 Thread Arle Lommel
I’ve got some SVG images I would like to embed in \markup blocks. I’ve been searching the documentation and the archives for information on how to do this, but without success. If it’s been discussed before, the results are getting lost in all of the discussion about SVG output, so I’m not

Re: Draw a line on the X reference point of a grob

2020-01-19 Thread Aaron Hill
On 2020-01-19 1:50 pm, Paolo Prete wrote: THANKS again. It's very useful and should be added to LSR (otherwise it's not clear where exactly is the ref X point of the grob). Note, in fact, that X-offset must be reset in order to be used (otherwise high risk of random results): \once \override

Re: Draw a line on the X reference point of a grob

2020-01-19 Thread Paolo Prete
> > > In 2.18, the NoteHead is considered the X parent of the DynamicText. > However, in 2.19, the NoteColumn is the parent. NoteColumn does not > have an existing stencil to overlay, so the \stencil markup command > fails. Here's a version that supplies a dummy stencil: > > > \version

Re: Draw a line on the X reference point of a grob

2020-01-19 Thread Thomas Morley
Am So., 19. Jan. 2020 um 22:21 Uhr schrieb Paolo Prete : > > > On Sun, Jan 19, 2020 at 9:52 PM Aaron Hill wrote: >> >> >> >> \version "2.18.2" >> { >>\once \override DynamicText.after-line-breaking = #(lambda (grob) >> (let* ((x-parent (ly:grob-parent grob X)) >>

Re: Draw a line on the X reference point of a grob

2020-01-19 Thread Aaron Hill
On 2020-01-19 1:20 pm, Paolo Prete wrote: On Sun, Jan 19, 2020 at 9:52 PM Aaron Hill wrote: \version "2.18.2" { \once \override DynamicText.after-line-breaking = #(lambda (grob) (let* ((x-parent (ly:grob-parent grob X)) (orig-sten (ly:grob-property x-parent

Re: Draw a line on the X reference point of a grob

2020-01-19 Thread Paolo Prete
On Sun, Jan 19, 2020 at 9:52 PM Aaron Hill wrote: > > > \version "2.18.2" > { >\once \override DynamicText.after-line-breaking = #(lambda (grob) > (let* ((x-parent (ly:grob-parent grob X)) > (orig-sten (ly:grob-property x-parent 'stencil))) >

Re: Draw a line on the X reference point of a grob

2020-01-19 Thread Aaron Hill
On 2020-01-19 8:17 am, Paolo Prete wrote: Hello. IIUC, the reference point for the X-offset property (or any other x-shifting property that preserves the avoid-collisions algo) is on the X- parent grob of the grob I want to modify. Is there a way to draw a line on this grob, so that I can

Draw a line on the X reference point of a grob

2020-01-19 Thread Paolo Prete
Hello. IIUC, the reference point for the X-offset property (or any other x-shifting property that preserves the avoid-collisions algo) is on the X- parent grob of the grob I want to modify. Is there a way to draw a line on this grob, so that I can visually well see the distance that I'm going to

\offset Y-offset (was: Distance of a grob from its reference point)

2020-01-19 Thread Paolo Prete
Hello Aaron, sorry for the (a bit) late reply. I'm looking at your code and I don't understand what is it intended to do. You write: "% Test with bracket that is positioned by Y-offset." but from what I see, the bracket is positioned by both outside-staff-padding and y-offset inside

Re: I put Frescoboldi on a stick

2020-01-19 Thread Freeman Gilmore
Fix: To run just from the stick: Go to each computer, open Frescoboldi from the stick, go to: Edit > Preferences > LilyPond Preferences > Add > find LilyPond on the stick > 0k > 0k. (if you have LilyPond on you computer: highlight that entry > Remove > 0k > 0k) > On Sat, Jan 18, 2020 at 7:59 PM

Re: Word alignment

2020-01-19 Thread Peter Flynn
On 19/01/2020 01:37, David Wright wrote: On Sat 18 Jan 2020 at 23:57:56 (+), Peter Flynn wrote: On 18/01/2020 21:37, Aaron Hill wrote: On 2020-01-18 1:27 pm, Peter Flynn wrote: Is it possible in lilypond to have the words of the lyrics aligned so the start of the word is under the note