Re: Markup variables how-to

2025-08-01 Thread Timothy Lanfear
Perhaps you are looking for the \verbatim-file markup command. On 01/08/2025 04:26, Lucas Cavalcanti wrote: If possible, I'd like to add upon James's question: is it possible to markup include a text file? Such as to import an file before the \score environment. Em sex., 1 de ag

Re: Markup variables how-to

2025-07-31 Thread James Harkins
On Fri, 01 Aug 2025 11:20:10 +0800 James Harkins wrote --- > I realize this is a stupid question, but I've searched the manual and I don't > see a quick example of how to use variables for markup. So I'm stabbing in > the dark and nothing is working. Sorry for

Re: Markup variables how-to

2025-07-31 Thread Lucas Cavalcanti
If possible, I'd like to add upon James's question: is it possible to markup include a text file? Such as to import an file before the \score environment. Em sex., 1 de ago. de 2025, 00:21, James Harkins escreveu: > I realize this is a stupid question, but I've searched the ma

Markup variables how-to

2025-07-31 Thread James Harkins
I realize this is a stupid question, but I've searched the manual and I don't see a quick example of how to use variables for markup. So I'm stabbing in the dark and nothing is working. text-vars.ily: \version "2.24.4" \language "english" titlepage = {

Re: Gap between line and arrow-head in \markup

2025-07-24 Thread Thomas Morley
Am Mi., 23. Juli 2025 um 19:33 Uhr schrieb Todd Hesla : > > I'm using LilyPond 2.25.26. > > I'm trying to draw an arrow in \markup by first drawing a line for the arrow > shaft--using either \draw-line or \path--and then drawing the arrowhead using > \arrow-head.

Re: Gap between line and arrow-head in \markup

2025-07-23 Thread Magnus Svenson
I found it: \markup { \fontsize #5   \override #'(thickness . 2)   \overlay {     \draw-line #'(4 . 0)     \translate #'(5 . 0)\arrow-head #X #RIGHT ##t   }    }

Re: Gap between line and arrow-head in \markup

2025-07-23 Thread Magnus Svenson
If you're just needing a simple arrow, I'd just draw the whole thing including the arrowhead: %start simpleArrow =   #'((lineto 3 0)      (lineto 2 0.75)      (lineto 3 0)      (lineto 2 -0.75)) \markup {   \path #0.25 #simpleArrow } %end Or if you need something fancier, may

Gap between line and arrow-head in \markup

2025-07-23 Thread Todd Hesla
I'm using LilyPond 2.25.26. I'm trying to draw an arrow in \markup by first drawing a line for the arrow shaft--using either \draw-line or \path--and then drawing the arrowhead using \arrow-head. Unfortunately, both attempts result in a gap between the arrow shaft and the arrow head

Re: Expressive marks and markup in chordmode

2025-06-25 Thread Kieren MacMillan
Hi Stefan, > Turns out I left out > \consists "Script_engraver" > in my previous attempts, which probably explains why the markup was not shown. For sure. :) > I do not need the "global" part, not sure why it is needed, also seems to > work without that

Re: Expressive marks and markup in chordmode

2025-06-25 Thread Stefan E. Mueller
OK, thanks a lot! Turns out I left out \consists "Script_engraver" in my previous attempts, which probably explains why the markup was not shown. For me this worked (I do not need the "global" part, not sure why it is needed, also seems to work without that) %%% SNI

Re: Expressive marks and markup in chordmode

2025-06-23 Thread Kieren MacMillan
Hi Stefan, > 1. How can I add the text "4x" over the repeat sign in bar 4? > 2. How would I attach a \fermata to the last chord? > 3. How can I add markup-text to the chords? Here are some ideas that might point you in the right direction? %%% SNIPPET BEGINS \versio

Re: Expressive marks and markup in chordmode

2025-06-23 Thread Knute Snortum
t;> > \version "2.25.1" > ### > > 1. How can I add the text "4x" over the repeat sign in bar 4? > 2. How would I attach a \fermata to the last chord? > 3. How can I add markup-text to the chords? > > T

Expressive marks and markup in chordmode

2025-06-23 Thread Stefan E. Mueller
Bar_engraver" } { \chordmode { \repeat volta 4 {\bar".|:" d2 g2 | b2:m a2 | d2 g2 | b2:m a2 |} d1 \bar "|." } } \version "2.25.1" ### 1. How can I add the text "4x" over the repeat sign in bar 4? 2

Re: Markup alignment question

2025-06-17 Thread Mats Bengtsson
On 2025-06-16 11:00, Valentin Petzel wrote: >> ... which has the advantage that long texts can have page breaks, This made me curious, is there any way to force a page break within a markup (or markup list)? I know

Re: Markup alignment question

2025-06-16 Thread Werner LEMBERG
>> > Should we change this to a public function? >> >> I think this might prove very useful. [...] > > Very nice! Indeed. Tina, do you have time and energy to submit a Merge Request, i.e., adding the necessary documentation strings, updating the `changes.tely` file, and probably adding exampl

Re: Markup alignment question

2025-06-16 Thread Thomas Morley
Am Mo., 16. Juni 2025 um 11:01 Uhr schrieb Valentin Petzel : > > Hello Werner, > > > Should we change this to a public function? > > > > > > Werner > > I think this might prove very useful. Essentially if we define > > %%% > #(define-markup-list-

Re: Markup alignment question

2025-06-16 Thread Thomas Morley
Am Mo., 16. Juni 2025 um 07:05 Uhr schrieb Werner LEMBERG : > > > > `wordwrap-string-internal` is one of only three > > markup-(list)-commands flagged "internal" and thus not documented, > > but it _is_ a full blown, ready-to-use command. > > Sh

Re: Markup alignment question

2025-06-16 Thread Valentin Petzel
Hello Werner, > Should we change this to a public function? > > > Werner I think this might prove very useful. Essentially if we define %%% #(define-markup-list-command (space-lines layout props mlist) (markup-list?) #:properties ((baseline-skip 4.5)) (space-lines b

Re: Markup alignment question

2025-06-15 Thread Werner LEMBERG
> `wordwrap-string-internal` is one of only three > markup-(list)-commands flagged "internal" and thus not documented, > but it _is_ a full blown, ready-to-use command. Should we change this to a public function? Werner

Re: Markup alignment question

2025-06-15 Thread Thomas Morley
by modifying the `\justify-string` command to allow for justification: > > %%% > %%% > \version "2.24.4" > > #(define-markup-command (justify-string-aligned layout props align arg) > (ly:dir? string?) > #:category align > #:properties ((baseline-skip) >

Re: Markup alignment question

2025-06-15 Thread Valentin Petzel
4.4" #(define-markup-command (justify-string-aligned layout props align arg) (ly:dir? string?) #:category align #:properties ((baseline-skip) wordwrap-string-internal-markup-list) (stack-lines DOWN 0.0 baseline-skip (map (lambda (stc)

Markup alignment question

2025-06-15 Thread Rip _Mus
a problem to be solved.") #(define cyear "2025") \markup \column { \fill-line { \abs-fontsize #24 #composer " " } \vspace #1 \fill-line { \general-align #Y #-1 \abs-fontsize #36 #title \general-align #Y #-1 \abs-fontsize #8 \override #'(line-wi

Re: \tempo \markup \rhythm

2025-05-14 Thread David Kastrup
Mark Knoop writes: > At 20:20 on 14 May 2025, James Harkins wrote: >> \tempo \markup { \rhythm { 8 } = \rhythm { 8 } } > >> Lilypond does not like it one bit: > >> ./common/globals.ily:139:28: error: wrong type for argument 1. Expecting >> music, found

Re: \tempo \markup \rhythm

2025-05-14 Thread Mark Knoop
At 20:20 on 14 May 2025, James Harkins wrote: > \tempo \markup { \rhythm { 8 } = \rhythm { 8 } } > Lilypond does not like it one bit: > ./common/globals.ily:139:28: error: wrong type for argument 1. Expecting > music, found (ly:make-duration 3) > \tempo \m

Re: \tempo \markup \rhythm

2025-05-14 Thread James Harkins
On Wed, 14 May 2025 20:20:41 +0800 James Harkins wrote --- > I said (in a "globalxxx" variable): > > globalChorale = { > \numericTimeSignature > \key ef \major > \time 7/4 s4*14 > \time 5/4 s4*5 > \time 7/4 s4*21 > \time 5/4 s4*5

\tempo \markup \rhythm

2025-05-14 Thread James Harkins
Documentation says: \relative { \tempo \markup { Swing \hspace #0.4 \rhythm { 8[ 8] } = \rhythm { \tuplet 3/2 { 4 8 } } } b8 g' c, d ees d16 ees d c r8 } I said (in a "globalxxx" variable): globalChorale = { \numericTimeSignature \key ef \major \time 7/4

Re: Rendering a chord name in markup

2025-03-31 Thread Samuel Tardieu
"Timothy Lanfear - timothy at lanfear.me" writes: > Jānis Rūcis wrote an extension to LilyPond to solve this problem. > https://github.com/parasti/lilypond-chord-markup. > > One modification is needed to make the code compatible with recent versions > of LilyPond. Tha

Re: Rendering a chord name in markup

2025-03-31 Thread Timothy Lanfear
On 29/03/2025 22:40, Samuel Tardieu wrote: Hi. I'd like to include chord names, as they would be rendered on the score, in markup text. For example, I'd like to be able to write something like \markup { "Here you can also play:" \chordTexta:7 } and have it rendered as &qu

Re: Rendering a chord name in markup

2025-03-30 Thread Knute Snortum
On Sat, Mar 29, 2025 at 5:53 PM Samuel Tardieu wrote: > Hi. > > I'd like to include chord names, as they would be rendered on the score, > in markup text. For example, I'd like to be able to write something like > > \markup { "Here you can also play:" \chord

Rendering a chord name in markup

2025-03-29 Thread Samuel Tardieu
Hi. I'd like to include chord names, as they would be rendered on the score, in markup text. For example, I'd like to be able to write something like \markup { "Here you can also play:" \chordText a:7 } and have it rendered as "Here you can also play: A⁷". But I

Re: Avoiding errors in custom title markup

2025-01-31 Thread Fr. Samuel Springuel
I have the following code for use with headers which might not be defined for some pieces: #(define-markup-command (when-property layout props symbol markp) (symbol? markup?) (if (chain-assoc-get symbol props) (interpret-markup layout props markp) empty-stencil)) Then in

Avoiding errors in custom title markup

2025-01-31 Thread YTG 1234
Hi all, In order to emulate the appearance of some editions, I want to set the instrument name at the top left of the first page, instead of below the titles. I have code that works; I just override bookTitleMarkup and add: %%% \fill-line {   { \large \underline \fromproperty #'header:instr

Re: Programmatically sized markup?

2024-11-10 Thread Alex Harker
Thanks Werner Alex > On 10 Nov 2024, at 05:55, Werner LEMBERG wrote: > > >> Ah - it would appear that there is a typo on the doc page, which >> refers to make-center-markup (which doesn’t exist) but >> make-center-column-markup does. > > https://gitlab.com/l

Re: Programmatically sized markup?

2024-11-09 Thread Werner LEMBERG
> Ah - it would appear that there is a typo on the doc page, which > refers to make-center-markup (which doesn’t exist) but > make-center-column-markup does. https://gitlab.com/lilypond/lilypond/-/merge_requests/2488 Werner

Re: Programmatically sized markup?

2024-11-09 Thread Alex Harker
Thanks Robin, I think it should probably be centre-column (as in make-centre-column-markup) and it’s just a doc mistake. Good to know this can also be used for custom markup. Thanks Alex > On 9 Nov 2024, at 22:46, Robin Bannister wrote: > > Alex Harker wrote: > >> I’m r

Re: Programmatically sized markup?

2024-11-09 Thread Robin Bannister
Alex Harker wrote: I’m read the below from here: https://lilypond.org/doc/v2.24/Documentation/extending/markup-construction-in-scheme “The markup-list argument of commands such as #:line, #:center, and #:column cannot be a variable or the result of a function call. (markup #:line (function

Re: Programmatically sized markup?

2024-11-09 Thread Alex Harker
Ah - it would appear that there is a typo on the doc page, which refers to make-center-markup (which doesn’t exist) but make-center-column-markup does. Once I figured that I out I was able to fix this myself. Sorry for the noise. A. > On 9 Nov 2024, at 17:25, Alex Harker wrote: > &

Programmatically sized markup?

2024-11-09 Thread Alex Harker
Hi All, I’m trying to generate some text markup programmatically that ends of as a markup-list (or a centre-column). I don’t really have a very good grasp on either markup in scheme or the relevant macros, but I have something that compiles and generates something. However, it generates a

Re: v-position of \note in \markup

2024-10-19 Thread Mats Bengtsson
Hi I am using a tempo markup like this  \bold \smaller "Animato (" \tiny \note {4} #1 \smaller"= 132)" } The "note"

Re: v-position of \note in \markup

2024-10-19 Thread Knute Snortum
On Sat, Oct 19, 2024 at 3:03 AM Sebastian Menge wrote: > Hi > > I am using a tempo markup like this > > \bold \smaller "Animato (" \tiny \note {4} #1 \smaller"= 132)" } > > The "note" seems to me too low - it seems to be below the baseline of th

v-position of \note in \markup

2024-10-19 Thread Sebastian Menge
Hi I am using a tempo markup like this \bold \smaller "Animato (" \tiny \note {4} #1 \smaller"= 132)" } The "note" seems to me too low - it seems to be below the baseline of the text. I'd expect it roughly to be at the height of the lower half of an "e

Re: Vertical re-order of text markup

2024-10-14 Thread Helge Kruse
Original Message From: Cameron Hall [mailto:camerongh...@cox.net] Sent: Sunday, October 13, 2024 at 7:49 PM To: Helge Kruse Cc: lilypond-user@gnu.org Subject: Vertical re-order of text markup That is controlled by the "outside-staff-priority" property. The default

Re: Vertical re-order of text markup

2024-10-13 Thread Cameron Hall
shown in the PNG. I found a Lilypond code that does it halfway. But > the annotation of the note C should be below the other text snippets. > How can the vertical order be changed? > > \version "2.20.0" > > \score { >   \relative c' { >     \melisma &

Vertical re-order of text markup

2024-10-13 Thread Helge Kruse
ion of the note C should be below the other text snippets. How can the vertical order be changed? \version "2.20.0" \score {   \relative c' {     \melisma     \omit Score.BarLine     c4 - \markup{C\super{1} (Mein Freund Molli)}     a' - \markup{A\super{1} (ich)}     s1

Re: chordnames chordmode and markup

2024-09-30 Thread Xavier Scheuer
On Mon, 30 Sept 2024 at 01:13, Walt North wrote: > > Is it possible in someway to get some sort of markup behavior in chordmode? They are cases where I want to add a remark for the rhythm guitar player for one reason or another for some chords. > > Simple minded example below. For

chordnames chordmode and markup

2024-09-29 Thread Walt North
Is it possible in someway to get some sort of markup behavior in chordmode?  They are cases where I want to add a remark for the rhythm guitar player for one reason or another for some chords. Simple minded example below.  For a staff note I can add text. But lilypond throws an error when I

Text markup length and bar spacing

2024-09-17 Thread Lib Lists
Hi everybody, I'm trying to find the right option to make sure that the bar spacing follows the length of a text markup. See this example: if it's one bar long it works, if 2 or more it doesn't. \version "2.25.19" \score { << \new StaffGroup <<

Re: Mensural notation in a \markup command

2024-09-14 Thread Dimitri Sykias
Thank you very much! > On 15 Sep 2024, at 12:56 AM, Kieren MacMillan > wrote: > > Hi Dimitri, > >> How can I achieve this in LilyPond? > > Here’s one option: > > \version "2.25.11" > > \markup \concat { > \general-align #Y #0 \musi

Re: Mensural notation in a \markup command

2024-09-14 Thread Kieren MacMillan
Hi Dimitri, > How can I achieve this in LilyPond? Here’s one option: \version "2.25.11" \markup \concat { \general-align #Y #0 \musicglyph #"timesig.mensural94" \general-align #Y #0 " = " \general-align #Y #0 \fontsize #-2 \override #'(baseline-skip

Re: Mensural notation in a \markup command

2024-09-14 Thread Graham King
On Sat, 2024-09-14 at 03:50 +0300, Dimitri Sykias wrote: > I would like to insert the following mensural symbols using the > \markup command in LilyPond. > > > > In LaTeX, this can be done easily with a command like: > \lilyGlyph[raise=0.6, scale=2]{timesig.mensural94} = &

Mensural notation in a \markup command

2024-09-13 Thread Dimitri Sykias
I would like to insert the following mensural symbols using the \markup command in LilyPond. In LaTeX, this can be done easily with a command like: \lilyGlyph[raise=0.6, scale=2]{timesig.mensural94} = \lilyTimeSignature{9}{2}. How can I achieve this in LilyPond? Thanks!

Re: Change size of note object in markup

2024-08-29 Thread Lukas-Fabian Moser
Hi Fennel, Am 30.08.24 um 01:53 schrieb Fennel: I have a note object in markup, like so: |\version "2.24.4" \markup { "blah blah" \note {2} #1 "blah blah" } | I’d like the note to be a bit smaller relative to the text. How do I do this? Believe it or not:

Change size of note object in markup

2024-08-29 Thread Fennel
I have a note object in markup, like so: \version "2.24.4" \markup { "blah blah" \note {2} #1 "blah blah" } I’d like the note to be a bit smaller relative to the text. How do I do this? Fennel ​

Re: Graphical markup between objects?

2024-07-29 Thread Fennel
Hi all, Fixed the fork objects such that they correctly render the apex of the fork halfway on the part of the two fingerings. Check it out! -Fennel On Tuesday, June 25th, 2024 at 12:34 PM, Fennel wrote: > Thanks. As far as the "fork" style is concerned, Aaron, your example is > great! Learn

Re: Graphical markup between objects?

2024-06-25 Thread Fennel
Thanks. As far as the "fork" style is concerned, Aaron, your example is great! Learning a lot :) It seems like it would be great if the stencil that you've made could be wrapped into the style property, as that's what Lilypond seems to want the user-settable property. The [documentation page](

Re: Graphical markup between objects?

2024-06-23 Thread Thomas Morley
Am So., 23. Juni 2024 um 19:48 Uhr schrieb Fennel : > > > Wondering if it's possible to override the behavior of the glide line such > that the glide will draw to the next fingering regardless of what the second > number is. > > - Fennel It's not possible. Think of chords with multiple fingering

Re: Graphical markup between objects?

2024-06-23 Thread Fennel
Wondering if it's possible to override the behavior of the glide line such that the glide will draw to the next fingering regardless of what the second number is. - Fennel On Thursday, May 30th, 2024 at 12:28 AM, Werner LEMBERG wrote: > > > > I was looking for something like "shift line"

Re: markup function accepting either markup or markup list as argument

2024-06-22 Thread Werner LEMBERG
>> I want to write a user-friendly markup command that can accept either >> a markup or a markup list as arguments. Example: >> >> ``` >> % \ornament >> \markup \ornament \number ♭ >> \musicglyph "scripts.turn" >>

Re: markup function accepting either markup or markup list as argument

2024-06-22 Thread David Kastrup
Werner LEMBERG writes: >> The real question is what you actually are trying to achieve here. > > I want to write a user-friendly markup command that can accept either > a markup or a markup list as arguments. Example: > > ``` > % \ornament >

Re: markup function accepting either markup or markup list as argument

2024-06-22 Thread Werner LEMBERG
> The documentation clearly states: > > <http://lilypond.org/doc/v2.25/Documentation/extending/markup-command-definition-syntax> > >Arguments are distinguished according to their type: >• a markup, corresponding to type predicate ‘markup?’; >• a list o

Re: markup function accepting either markup or markup list as argument

2024-06-21 Thread David Kastrup
Werner LEMBERG writes: > Folks, > > > I would like to write a markup function that can either accept a > markup or a markup list as an argument. You mean, a markup command. > The code below works fine, reporting > > ``` > bar: (#) > baz: 1 > bar: ((#) &

markup function accepting either markup or markup list as argument

2024-06-21 Thread Werner LEMBERG
Folks, I would like to write a markup function that can either accept a markup or a markup list as an argument. The code below works fine, reporting ``` bar: (#) baz: 1 bar: ((#) (#)) baz: 1 ``` as expected. (The `baz` argument is inserted in the demo code to avoid interference with

Re: Adjust line spacing in markup column for fingerings

2024-06-21 Thread Vaughan McAlley
On Fri, 21 Jun 2024 at 11:09, Curt McDowell wrote: > baseline-skip seems to do the job: > > > > Found here: LilyPond snippets: Tweaks and overrides > > > Regards, > Curt > > On 6/20/2024 5:00 PM, Fennel wrote: > > Hi al

Re: Adjust line spacing in markup column for fingerings

2024-06-20 Thread Curt McDowell
baseline-skip seems to do the job: || Found here: LilyPond snippets: Tweaks and overrides Regards, Curt On 6/20/2024 5:00 PM, Fennel wrote: Hi all, Getting this behavior when trying to put fingerings in column form

Adjust line spacing in markup column for fingerings

2024-06-20 Thread Fennel
Hi all, Getting this behavior when trying to put fingerings in column format on chords: \version "2.24.3" \relative c'' { \set fingeringOrientations = #'(left) } I’d like the 1 to be much closer to the 2. Does anyone know the correct property to adjust to make this happen / where in the docs

Re: accessing markup properties via \tweak?

2024-06-20 Thread Werner LEMBERG
>> Ah, yes, I forgot that it is possible to extend the `props` alist. >> Thanks a lot! > > This is not exactly extending the probs, but passing additional > parameters in details. Yep, I answered too quickly and was too lazy to correct myself :-) > It would be great to generally have a grob pr

Re: accessing markup properties via \tweak?

2024-06-20 Thread Valentin Petzel
> > Ah, yes, I forgot that it is possible to extend the `props` alist. > Thanks a lot! > > > Werner This is not exactly extending the probs, but passing additional parameters in details. It would be great to generally have a grob property like grob.default-properties or something, and add

Re: accessing markup properties via \tweak?

2024-06-20 Thread David Kastrup
Werner LEMBERG writes: > Hello David, > > >>> is it possible to access markup properties like `baseline-skip` via >>> \tweak? >> >> Have you tried? > > Well, yes, but ... > >> Check out the following example where I just add a few lines in

Re: accessing markup properties via \tweak?

2024-06-20 Thread Werner LEMBERG
>> In the example below, I want to set the markup property `bar` as a >> tweak to influence `\foo`. > > you could of course do something like > > %%% > #(define-markup-command (foo-markup layout props) () >#:properties ((bar #f) (details '())) >

Re: accessing markup properties via \tweak?

2024-06-20 Thread Werner LEMBERG
Hello David, >> is it possible to access markup properties like `baseline-skip` via >> \tweak? > > Have you tried? Well, yes, but ... > Check out the following example where I just add a few lines in > front of what you wrote: ... it didn't occur to me to

Re: accessing markup properties via \tweak?

2024-06-20 Thread Valentin Petzel
Am Donnerstag, 20. Juni 2024, 07:02:48 MESZ schrieb Werner LEMBERG: > Folks, > > > is it possible to access markup properties like `baseline-skip` via > \tweak? It is often necessary to define a markup command that gets in > turn wrapped into a music function, and for such si

Re: accessing markup properties via \tweak?

2024-06-19 Thread David Kastrup
Werner LEMBERG writes: > Folks, > > > is it possible to access markup properties like `baseline-skip` via > \tweak? Have you tried? If it is a grob property... > In the example below, I want to set the markup property `bar` as a > tweak to influence `\foo`. Check out

accessing markup properties via \tweak?

2024-06-19 Thread Werner LEMBERG
Folks, is it possible to access markup properties like `baseline-skip` via \tweak? It is often necessary to define a markup command that gets in turn wrapped into a music function, and for such situations a tweak-like command would be quite handy. In the example below, I want to set the

Re: color text in markup

2024-06-10 Thread Виноградов Юрий
d that you teach me how to do this. As the specificity of my set will often meet with such phenomenon as, "red first letter of a syllable". Please!That's a fairly big ask to the members on the mailing list. Technically, you have been shown all the basic techniques of \markup commands t

Re: color text in markup

2024-06-10 Thread Виноградов Юрий
Okey.Юрий Виноградов21:13, 10 июня 2024 г., Aaron Hill :On 2024-06-10 11:11 am, Aaron Hill wrote:Oops. I attached the wrong image. Sorry about that.-- Aaron Hill

Re: color text in markup

2024-06-10 Thread Aaron Hill
On 2024-06-10 11:11 am, Aaron Hill wrote: Oops. I attached the wrong image. Sorry about that. -- Aaron Hill

Re: color text in markup

2024-06-10 Thread Aaron Hill
big ask to the members on the mailing list. Technically, you have been shown all the basic techniques of \markup commands to be able to do this. To make a reference to school, we are not going to do your homework. Now, if you have a specific question along with code you have written as reference, w

Re: color text in markup

2024-06-10 Thread Werner LEMBERG
> I really need to be able to make the first syllable of a word, the > beginning of a sentence of a song or a romance or a psalm in red or > any other color for my next sets of notes. It is very much requested > that you teach me how to do this. As the specificity of my set will > often meet with

Re: color text in markup

2024-06-10 Thread David Wright
ur help. But you could not suggest the same solution but for the text > in \lyricmode section.\markup … can perfectly > well be used for lyrics. class="f55bbb4eeef208e8wmi-sign">-- David Kastrup /> Open the Notation Reference, turn to the index, and look up "markup,

Re: color text in markup

2024-06-10 Thread Виноградов Юрий
...@yandex.ru> writes: I'm grateful for your help. But you could not suggest the same solution but for the text in \lyricmode section.\markup … can perfectly well be used for lyrics.-- David Kastrup

Re: color text in markup

2024-06-10 Thread David Kastrup
Виноградов Юрий writes: > I'm grateful for your help. But you could not suggest the same > solution but for the text in \lyricmode section. \markup … can perfectly well be used for lyrics. -- David Kastrup

Re: color text in markup

2024-06-10 Thread Виноградов Юрий
I'm grateful for your help. But you could not suggest the same solution but for the text in \lyricmode section.Юрий Виноградов07:16, 10 июня 2024 г., Werner LEMBERG : Tell me how to make the first letter in the \markup department red.   d4^\markup { "Tell me how to make" } d4Try``

Re: color text in markup

2024-06-09 Thread Werner LEMBERG
> Tell me how to make the first letter in the \markup department red. > > d4^\markup { "Tell me how to make" } d4 Try ``` { d'4^\markup \concat { \with-color #red T ell " me how to make" } d'4 } ``` Werner

Fwd: color text in markup

2024-06-09 Thread Виноградов Юрий
Hi. Tell me how to make the first letter in the \markup department red.  d4^\markup {  "Tell me how to make" } d4  С уважением,Виноградов Юрий.

Re: markup

2024-06-06 Thread ming tsang
ght try to put a rounded-box on the two markups. > > On Thu, Jun 6, 2024 at 4:26 PM Valentin Petzel wrote: > >> Hello, >> >> Do you mean something like this: >> >> \version "2.24.3" >> \markup\line { >> \circle" 1. "

Re: markup

2024-06-06 Thread ming tsang
o, > > Do you mean something like this: > > \version "2.24.3" > \markup\line { > \circle" 1. " > \box \override #'(line-width . 40) \fill-line { "\t\musicglyh \tlsr?" } % > \rounded-box > } > \markup \vspace #0.75 > > Cheers, &g

Re: markup

2024-06-06 Thread Valentin Petzel
Hello, Do you mean something like this: \version "2.24.3" \markup\line { \circle" 1. " \box \override #'(line-width . 40) \fill-line { "\t\musicglyh \tlsr?" } % \rounded-box } \markup \vspace #0.75 Cheers, Valentin Am Donnerstag, 6. Juni 2024, 23:16

markup

2024-06-06 Thread ming tsang
Dear Lilyponders, I have two markups printed in two lines. questions: 1.. How to print the two markups side-by-side on one line 2.. How to shorten the fill-line or have an arg to determine the width. Here is the lily markup code: \version "2.24.3" \markup\circle" 1. " \markup \

Re: Get Width and Height of markup

2024-06-05 Thread Valentin Petzel
Hello William, the problem here is that a markup may depend on the context it is rendered in. For example if you change font size or even font for Staff.InstrumentName then the dimensions of the stencil will change. You can of course render the markup using some "default" settings,

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: wordwrap on argument of markup function

2024-06-03 Thread Simon Albrecht
Thanks for elaborating! I forgot to hit Reply All when I replied to Jean, excuse me. On 02.06.24 10:10, Ya Gloops wrote: #(define-markup-command (freely layout props width-param text) (number? markup-list?)    "Format text for one bar of 'width-param' quarter notes’ length

Re: wordwrap on argument of markup function

2024-06-02 Thread Ya Gloops
#(define-markup-command (freely layout props width-param text) (number? markup-list?)   "Format text for one bar of 'width-param' quarter notes’ length"   (interpret-markup layout props                     #{\markup\box \line { \override #`(line-width . ,width-para

Re: wordwrap on argument of markup function

2024-06-01 Thread Jean Abou Samra
> (define-markup-command (freely layout props width-param text) (number? > markup?) ^^^ Make that `markup-list?`. Otherwise, your command is accepting only a single markup. In your example, \line inside the c

wordwrap on argument of markup function

2024-06-01 Thread Simon Albrecht
Hello kind community folk, how do I make \wordwrap act correctly on the argument to this markup function? And why does \line not make \box act on the markup as a whole, as it is said to do? Best, Simon \version "2.25.14" #(define-markup-command (freely layout props width-

Re: Graphical markup between objects?

2024-05-29 Thread Werner LEMBERG
> I was looking for something like "shift line" or "line between > fingerings", the latter of which seems to point to the correct page. https://gitlab.com/lilypond/lilypond/-/merge_requests/2357 Werner

Re: Graphical markup between objects?

2024-05-29 Thread Aaron Hill
ar "." \set fingeringOrientations = #'(down) \makeGlide f' f' 4 \makeGlide f' e' 4 \makeGlide f' d' 4 \makeGlide f' c' 4 \makeGlide f' b 4 \bar "|." } \paper { #(set-paper-size "ledger") indent = 0

Re: Graphical markup between objects?

2024-05-29 Thread Fennel
I was looking for something like "shift line" or "line between fingerings", the latter of which seems to point to the correct page. -fennel

Re: Graphical markup between objects?

2024-05-28 Thread Werner LEMBERG
> > Before you go create something yourself, have you looked at what > > LilyPond supports [1]? There are built-in options to change the > > style of the FingerGlideSpanner. Your "V"-bend shape probably > > could be added as a new style. > > This is exactly what I was looking for! I was unaware

Re: Graphical markup between objects?

2024-05-28 Thread Fennel
Ooh ooh ooh! This is exactly what I was looking for! I was unaware that this existed; I would have never thought to look for glide. Thank you -fennel

Re: Graphical markup between objects?

2024-05-28 Thread Aaron Hill
On 2024-05-28 10:43 am, Fennel wrote: I would like to draw lines between fingerings to indicate shifts, pivots, etc. on an unfretted string instrument. Say I have something like the following: \version "2.24.3" \relative c' { c4-1 d-2 } Before you go create something yourself, have you l

  1   2   3   4   5   6   7   8   9   10   >