Re: fill-line on Y axis

2025-08-01 Thread Thomas Morley
Am Mi., 30. Juli 2025 um 17:11 Uhr schrieb Rip _Mus : > > Hello, > about markup, is there a solution similar \fill-line but for the Y axis? I'm > trying to perfectly center a markup on a page. > > Thank you, > RipMus \fill-line does not know what is to left (or right) o

Re: fill-line on Y axis

2025-08-01 Thread Carl Sorensen
On Fri, Aug 1, 2025 at 9:55 AM Rip _Mus wrote: > Good evening, > is there a solution for this? > > It's hard for me (or anyone) to say there is not a solution for this. But perhaps the lack of anyone (including our experts) to provide a solution means that none exists. Carl

Fwd: fill-line on Y axis

2025-08-01 Thread Rip _Mus
Good evening, is there a solution for this? Thank you, RM -- Forwarded message - Da: Rip _Mus Date: mer 30 lug 2025 alle ore 15:40 Subject: fill-line on Y axis To: Lilypond-User Mailing List Hello, about markup, is there a solution similar \fill-line but for the Y axis? I&#

fill-line on Y axis

2025-07-30 Thread Rip _Mus
Hello, about markup, is there a solution similar \fill-line but for the Y axis? I'm trying to perfectly center a markup on a page. Thank you, RipMus

definitions with fill-line in include

2021-02-23 Thread Paul Scott
{  "flsub.ly"   lineA = "Title"   lineB = "Subtitle"   headerA =   \markup{     \fill-line{ \lineA }     \fill-line{ \lineB }   } } \version "2.23.0" \include "flsub.ly" \book{   \markup{ \headerA } } What is the syntax for creating a defini

Re: fill-line for specified width?

2020-01-09 Thread David Stephen Grant
I'm happy to make an attempt this weekend, unless anyone beats me to it. On Thu, 9 Jan 2020 at 10:30, Werner LEMBERG wrote: > > > \fill-line references the line-width property. By default it is set > > to #f which indicates the entire line. > > > > >

Re: fill-line for specified width?

2020-01-09 Thread Werner LEMBERG
> \fill-line references the line-width property. By default it is set > to #f which indicates the entire line. > > > \version "2.18" > \markup \fill-line { left center right } > \markup \override #'(line-width . 100) > \fill-line { left cen

Re: fill-line for specified width?

2020-01-08 Thread David Stephen Grant
Many thanks, Aaron! That certainly makes things easier. Best, David On Thu, 9 Jan 2020, 00:01 Aaron Hill, wrote: > On 2020-01-08 2:39 pm, David Stephen Grant wrote: > > Hi all, > > > > Is there a markup command that works like fill-line, but for any > > specifie

Re: fill-line for specified width?

2020-01-08 Thread Aaron Hill
On 2020-01-08 2:39 pm, David Stephen Grant wrote: Hi all, Is there a markup command that works like fill-line, but for any specified width? \fill-line references the line-width property. By default it is set to #f which indicates the entire line. \version "2.18" \markup

fill-line for specified width?

2020-01-08 Thread David Stephen Grant
Hi all, Is there a markup command that works like fill-line, but for any specified width? If not: I've copied and modified fill-line to take a width argument, but it calls justify-line-helper in define-markup-commands.scm (which in turn calls get-fill-space), and these functions aren'

Re: fill-line

2017-06-14 Thread Gianmaria Lari
> > How about using \justify-line? > fantastic! This work perfectly! Thank you! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: fill-line

2017-06-14 Thread Kieren MacMillan
Hi Gianmaria, > Is there any way I can avoid overlapping but use all the line? How about using \justify-line? Hope this helps, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___

fill-line

2017-06-14 Thread Gianmaria Lari
I'm playing with the \fill-line command: Please have a look to the following example: \version "2.19.60" \markup \fill-line {Word Super_super_super_long_word Another_super_super_super_long_word} As you can see there are three words in the markup: (1)Word (2)Super_super_sup

Re: weird fill-line behavior

2015-11-25 Thread Mike Solomon
On Nov 25, 2015, at 9:49 PM, Noeck wrote: > > Hi Mike, > > I replaced \fill-line with \justify-line and it looks much better. > > This is mentioned in the change log: > http://lilypond.org/doc/v2.19/Documentation/changes/index.html > It looks like it causes the spa

Re: weird fill-line behavior

2015-11-25 Thread Noeck
Hi Mike, I replaced \fill-line with \justify-line and it looks much better. This is mentioned in the change log: http://lilypond.org/doc/v2.19/Documentation/changes/index.html It looks like it causes the space between columns to be equal instead of the centres. This is only available since some

Re: weird fill-line behavior

2015-11-25 Thread David Nalesnik
Hi Mike, On Wed, Nov 25, 2015 at 2:40 PM, Mike Solomon wrote: > Hey all, > > Any suggestions how to get even spacing in the example below? > It is bunching up in all sorts of unpredictable ways... Sure, use \justify-line, which equalizes the space between markups. \fill-line

weird fill-line behavior

2015-11-25 Thread Mike Solomon
eA \themeB \themeC \themeD } lyr = \lyricmode { Fol -- low the yel -- low brick road. Fol -- low the yel -- low brick road. Fol -- low fol -- low fol -- low fol -- low fol -- low the yel -- low brick road. Fol -- low the yel -- low brick, fol -- low the yel -- low brick, fol -- low the ye

Re: \fill-line while respecting natural widths

2014-02-13 Thread David Nalesnik
Hi all, I've posted an update to this on the issue tracker. I think the discussion should move there. https://code.google.com/p/lilypond/issues/detail?id=3860 Best, David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailm

Re: \fill-line while respecting natural widths

2014-02-09 Thread Janek Warchoł
2014-02-08 23:22 GMT+01:00 Kieren MacMillan : > Hi David, > >> Hmm--do you think it should be added as an option to \fill-line? > > DEFINITELY! +1000 - this is awesome! As for now, i have added it to the snippets repo(https://github.com/openlilyl

Re: \fill-line while respecting natural widths

2014-02-09 Thread Alexander Kobel
On 02/08/2014 11:22 PM, Kieren MacMillan wrote: Hi David, Hmm--do you think it should be added as an option to \fill-line? DEFINITELY! As just one example: I’m going to use it in the musical theatre scores I’m engraving right now, to [evenly] space two columns of dialogue above a system of

Re: \fill-line while respecting natural widths

2014-02-08 Thread Kieren MacMillan
Hi David, > Hmm--do you think it should be added as an option to \fill-line? DEFINITELY! As just one example: I’m going to use it in the musical theatre scores I’m engraving right now, to [evenly] space two columns of dialogue above a system of underscore music. But maybe it should be its

Re: \fill-line while respecting natural widths

2014-02-08 Thread David Nalesnik
Hi Kieren, On Sat, Feb 8, 2014 at 7:16 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > David (et al.), > > OOO! > This is wonderful. I can already see several places where I will use this. > > Thanks, > Kieren. > > Hmm--do you think it shou

Re: \fill-line while respecting natural widths

2014-02-08 Thread David Nalesnik
Hi Mike, On Sat, Feb 8, 2014 at 1:20 AM, Mike Solomon wrote: > > On Feb 8, 2014, at 1:18 AM, David Nalesnik > wrote: > > Hi Mike, > > See the attached. (I just changed a line or two of the definition of > \fill-line from scm/define-markup-commands.scm.) Hopefully t

Re: \fill-line while respecting natural widths

2014-02-08 Thread Kieren MacMillan
st changed a line or two of the definition of >> \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you >> what you want! >> >> --David >> > > Great work! > > Thanks for taking the time to do this. > > I’ve posted on-line

Re: \fill-line while respecting natural widths

2014-02-08 Thread Ed Gordijn
Hi Mike, > It's a feature - \fill-line evenly distributes the centers of objects > along a line irrespective of their widths. > > I see,so there wasn't enough room in the last column for the long word "different?" I creat

Re: \fill-line while respecting natural widths

2014-02-08 Thread Mike Solomon
On Feb 8, 2014, at 10:24 AM, Ed Gordijn wrote: > Hi David, > >> See the attached. (I just changed a line or two of the definition of >> \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you >> what you want! >> >> --David >>

Re: \fill-line while respecting natural widths

2014-02-08 Thread Ed Gordijn
Hi David, See the attached. (I just changed a line or two of the definition of \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you what you want! --David That's interesting, see the result of the two markups: \version "2.18.0" \markup \fill-line {

Re: \fill-line while respecting natural widths

2014-02-07 Thread Mike Solomon
On Feb 8, 2014, at 1:18 AM, David Nalesnik wrote: > Hi Mike, > > See the attached. (I just changed a line or two of the definition of > \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you > what you want! > > --David > Great work! Thanks f

Re: \fill-line while respecting natural widths

2014-02-07 Thread David Nalesnik
Hi Mike, See the attached. (I just changed a line or two of the definition of \fill-line from scm/define-markup-commands.scm.) Hopefully this gives you what you want! --David \version "2.18.0" #(define-markup-command (fill-line-two layout props args) (markup-list?) #:cate

Re: \fill-line while respecting natural widths

2014-02-07 Thread David Nalesnik
On Fri, Feb 7, 2014 at 2:25 PM, David Nalesnik wrote: > Hi Mike, > > > On Fri, Feb 7, 2014 at 1:36 PM, Mike Solomon wrote: > > > It looks like you could alter get-fill-space in > scm/define-markup-commands.scm to reflect your formula. Unfortunately, I'm > not at a machine I can try this out at

Re: \fill-line while respecting natural widths

2014-02-07 Thread David Nalesnik
Hi Mike, On Fri, Feb 7, 2014 at 1:36 PM, Mike Solomon wrote: > Hey all > > If I have > > \markup \fill-line { > foo br hi > } > > The line will be filled irrespective of the widths of the elements, meaning > that the middle element will alway

\fill-line while respecting natural widths

2014-02-07 Thread Mike Solomon
Hey all If I have \markup \fill-line { foo br hi } The line will be filled irrespective of the widths of the elements, meaning that the middle element will always be on the center of the page. Is there a way to do this such that the space between elements is (line_length

Re: insert whitespace to fill line

2014-01-12 Thread Janek Warchoł
2014/1/12 Dave : > > Janek: how do I turn off "automatic image cropping?" I thought you were using the 'preview' option, which crops output. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: insert whitespace to fill line

2014-01-12 Thread Phil Holmes
- Original Message - From: "Dave" To: Sent: Sunday, January 12, 2014 5:50 PM Subject: Re: insert whitespace to fill line Thanks for the suggestions, but still no luck. I've tried both settings for ragged-right; neither work. setting ragged-right=##f makes the sys

Re: insert whitespace to fill line

2014-01-12 Thread Noeck
Hi David, do you mean without streching? You can set the width of the StaffSymbol to a fixed one. Is that what you want? \version "2.18.0" \layout { \override Staff.StaffSymbol #'width = 70 } { a } { a b a b a b a b } But please be aware, that if the content is longer than 'width', the staffsymb

Re: insert whitespace to fill line

2014-01-12 Thread Dave
Thanks for the suggestions, but still no luck. I've tried both settings for ragged-right; neither work. setting ragged-right=##f makes the systems stretch to fill the whole line; I do not like the way that this looks for, for example, a two-bar item. (setting it to true gives the behaviour indicat

Re: insert whitespace to fill line

2014-01-12 Thread Urs Liska
"Janek Warchoł" schrieb: >2014/1/12 Dave : >> >> Is there a way to "pad" the line with whitespace to that the produced >files >> have the same width? > > >I'm not sure if i understood correctly, but maybe you should change >paper size instead of line-width, and don't use automatic image >croppin

Re: insert whitespace to fill line

2014-01-12 Thread Janek Warchoł
2014/1/12 Dave : > > Is there a way to "pad" the line with whitespace to that the produced files > have the same width? I'm not sure if i understood correctly, but maybe you should change paper size instead of line-width, and don't use automatic image cropping? j ___

Re: insert whitespace to fill line

2014-01-12 Thread Phil Holmes
- Original Message - From: "Dave" To: Sent: Sunday, January 12, 2014 4:01 AM Subject: insert whitespace to fill line I'm trying to make music-snippet images using lilypond, but I'd like each snippet to always have trailing "whitespace" so that each of

insert whitespace to fill line

2014-01-11 Thread Dave
following the suggestions from the documentation, so I have a .ly file something like: \paper{ indent=0\mm line-width=120\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f scoreTitleMarkup = ##f } \relative c' { c4 d e f | g a b c } % I'

Re: \fill-line with markuplist?

2012-10-08 Thread Thomas Morley
2012/10/8 David Kastrup : > Thomas Morley writes: [...] >> But it turns out that following your suggestion >> >> \markup %!! >> \fill-line { >> \center-column { >> \override-lines #'(line-width .

Re: \fill-line with markuplist?

2012-10-08 Thread David Kastrup
Thomas Morley writes: >> I honestly have no clue whether this is what you need, but it would seem >> like >> >> \version "2.16.0" >> >> \markup \fill-line { \center-column >> \override-lines #'(line-width . 50) >> \justi

Re: \fill-line with markuplist?

2012-10-08 Thread Thomas Morley
tified-lines { >> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed >> do eiusmod tempor incididunt ut labore et dolore magna aliqua. >> Ut enim ad minim veniam, quis nostrud exercitation ullamco >> laboris nisi ut aliquip ex ea commodo conseq

Re: \fill-line with markuplist?

2012-10-08 Thread David Kastrup
mod tempor incididunt ut labore et dolore magna aliqua. > Ut enim ad minim veniam, quis nostrud exercitation ullamco > laboris nisi ut aliquip ex ea commodo consequat. > } > > Seems I can't use \fill-line as in a simple markup: > > \markup > \fill-

Re: \fill-line with markuplist?

2012-10-08 Thread Thomas Morley
idth . 50) > \justified-lines { > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed > do eiusmod tempor incididunt ut labore et dolore magna aliqua. > Ut enim ad minim veniam, quis nostrud exercitation ullamco > laboris nisi ut aliqui

\fill-line with markuplist?

2012-10-08 Thread Thomas Morley
laboris nisi ut aliquip ex ea commodo consequat. } Seems I can't use \fill-line as in a simple markup: \markup \fill-line { \override #'(line-width . 50) \justify { Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt

center-column interacts with fill-line

2010-03-17 Thread Francisco Vila
Hello, I'd like to know why is this markup centered on the left edge, rather than on the center of the string. \markup{ \fill-line { \center-column { ww } } } By modifying it in any of this ways A) or B) it becomes centered again, % A) \markup{ \fill-line {

Re: What's up with fill-line?

2009-09-24 Thread Alexander Kobel
Carl Sorensen wrote: If fill-line has one argument, it's centered. If fill-line has two arguments, the first is left-aligned, the second is right-aligned. If fill-line has three or more arguments, the following rules apply: The first argument to fill-line is left aligned. The last argume

Re: What's up with fill-line?

2009-09-24 Thread Carl Sorensen
On 9/24/09 7:40 AM, "Alexander Kobel" wrote: > Hi all, > > > I think I have to bother you a bit more about fill-line; I don't > understand docs and/or code of it. > > > First of all, nested fill-lines don't seem to be a good thing, which may &g

Re: horizontally aligning columns in \fill-line

2008-05-21 Thread Joe Neeman
On Mon, May 19, 2008 at 1:30 AM, Reinhold Kainhofer <[EMAIL PROTECTED]> wrote: > PS: I had to insert \noPageBreak at every possible point, because without > them, lilypond would always decide it wants to start the real score on an > even-numbered page and stretch the lyrics to three pages, even if

Re: horizontally aligning columns in \fill-line

2008-05-19 Thread Reinhold Kainhofer
Am Montag, 19. Mai 2008 schrieb Nicolas Sceaux: > Le 19 mai 08 à 18:05, Reinhold Kainhofer a écrit : > > The problem with that approach is that it will really leave no space > > between > > subsequent markups, so there will not be any pixel space between the > > headline / title and between each of

Re: horizontally aligning columns in \fill-line

2008-05-19 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 19. Mai 2008 schrieben Sie: > 2008/5/19 Reinhold Kainhofer <[EMAIL PROTECTED]>: > > Cool, I just submitted your solution to the LSR. > > Looks cool indeed, though it doesn't seem to work with 2.10 :( Huh? It works just fine in 2.10 (with th

Re: horizontally aligning columns in \fill-line

2008-05-19 Thread Nicolas Sceaux
Le 19 mai 08 à 18:05, Reinhold Kainhofer a écrit : PS2: Is there any way to set something like ragged-bottom=##t only for the current page? It would suffice to have some \vfill construct, which simply takes up all the remaining space on the page. This would do away with the need to insert lots

Re: horizontally aligning columns in \fill-line

2008-05-19 Thread Valentin Villenave
2008/5/19 Reinhold Kainhofer <[EMAIL PROTECTED]>: > Cool, I just submitted your solution to the LSR. Looks cool indeed, though it doesn't seem to work with 2.10 :( Approved and tagged as version-specific anyway. > The problem with that approach is that it will really leave no space between > su

Re: horizontally aligning columns in \fill-line

2008-05-19 Thread Reinhold Kainhofer
Am Sonntag, 18. Mai 2008 schrieben Sie: > Le 18 mai 08 à 17:30, Reinhold Kainhofer a écrit : > > I want > > the columns of all six text blocks to line up nicely. Currently, each > > \fill-line is layed out by itself, so the German and English > > translations are

Re: horizontally aligning columns in \fill-line

2008-05-18 Thread Karl Hammar
Reinhold: > In one of my scores, I'm writing two pages with the lyrics of a mass, > together > with the corresponding German/English translations. I'm using > \fill-line { > \column{"Latin text"...} > \column{"German text"...} > \co

Re: horizontally aligning columns in \fill-line

2008-05-18 Thread Nicolas Sceaux
Le 18 mai 08 à 17:30, Reinhold Kainhofer a écrit : In one of my scores, I'm writing two pages with the lyrics of a mass, together with the corresponding German/English translations. I'm using \fill-line { \column{"Latin text"...} \column{"German text"...} \

horizontally aligning columns in \fill-line

2008-05-18 Thread Reinhold Kainhofer
In one of my scores, I'm writing two pages with the lyrics of a mass, together with the corresponding German/English translations. I'm using \fill-line { \column{"Latin text"...} \column{"German text"...} \column{"English text"...} } to generate th

Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty
SIMPLER IS BETTER !!! :)) Challenge overcome. I don't remember why I started to play with \fill-line. By the way, I learned much more Lily syntax. ciao, Germain ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/ma

Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty
Again, thank you for responsiveness, and sharing knowledge. Part of typesetting music is typesetting the text that describes it. Indeed. And I have (surprised ?) a couple of questions on this topic. Starting with my past post/request : "[layout tweaks] 2. \justify, hyphenation, shift" but no

Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Rune Zedeler
Sorry I missed the simple solution. This one REALLY should work :-) \version "2.10.1" \header { myIndex = "No 210" myGap = #8.0 myTitle = "|AZERTYUIOP|" mySubtitle = "|AZERTYUIOP|" title = \markup { \override #`(word-space . ,myGap) \line \large { \with-d

Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Rune Zedeler
Germain G. Ivanoff-Trinadtzaty wrote: So \hspace disappeared. But \struts appeared ! Yeah, a strut is just something that is invisible. I don't understand why the with-dimension-thing in front of the strut is neccesary - it should be infinitely thin already. Indeed, 'myTitle' and 'mySubtit

Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty
ot; title = \markup \large { \override #`(word-space . ,myGap)% what is it for a comma ? \fill-line { \line { \with-dimensions #'(0 . 0) #'(0 . 0) \right-align \fromproperty #'header:myIndex \fromproperty #'header:myTitle % \with-dimensi

Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Rune Zedeler
pt staff, each unit is 5 pts. I am not sure, how the "right way" is to convert this to centimetres from within the header-block. title = \markup { \override #`(word-space . ,myGap) \fill-line { \line { \with-dimensions #'(0 . 0) #'(0 . 0) \r

Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty
"2.11.26" %(windows) %%% Illustration to the thread "Re:[layout tweaks] 1. fill-line" %%% Germain G.I.T. (19.06.2007) %%% (better read with a fixed point font !) \header { % First version : myIndex = "№ 210" myGap = #8.0 myTitle = "|AZERTYUIOP|" my

Re: [layout tweaks] 1. fill-line

2007-06-18 Thread Rune Zedeler
" index = "3.14159" subtitle = "Subtitle" title = \markup \fill-line { \line { \with-dimensions #'(0 . 0) #'(0 . 0) \right-align \normal-text \normalsize \fromproperty #'header:index \hspace #4.0 \fromproperty #'header:theti

Re: [layout tweaks] 1. fill-line

2007-06-18 Thread Tao Cumplido
I see. This could complicate things a little. First of all you will need the following in your code: %% \paper { bookTitleMarkup = \markup { \column { \fill-line { \fromproperty #'header:index %index in the left

Re: [layout tweaks] 1. fill-line

2007-06-18 Thread Germain G. Ivanoff-Trinadtzaty
Hi Tao, Thank you for your interest. Actually, I want this: fixed| center <--->v | | | Index Title | | Sub-title | |

Re: [layout tweaks] 1. fill-line

2007-06-18 Thread Tao Cumplido
work a little better. > > > > Hope that helped. > > > > regards, > > > > Tao > > Thank you very much, > These links will soon be helpfull for me. But not for my current issue. > I've already read 'titling-inits.ly' and 'pap

Re: [layout tweaks] 1. fill-line

2007-06-18 Thread Germain G. Ivanoff-Trinadtzaty
27;s not exactly what you want, but maybe they help to understand how the variables work a little better. Hope that helped. regards, Tao Thank you very much, These links will soon be helpfull for me. But not for my current issue. I've already read 'titling-inits.ly' and '

Re: [layout tweaks] 1. fill-line

2007-06-18 Thread Tao Cumplido
ot exactly what you want, but maybe they help to understand how the variables work a little better. Hope that helped. regards, Tao Original-Nachricht Datum: Mon, 18 Jun 2007 16:09:56 +0200 Von: "Germain G. Ivanoff-Trinadtzaty" <[EMAIL PROTECTED]> An: &quo

[layout tweaks] 1. fill-line

2007-06-18 Thread Germain G. Ivanoff-Trinadtzaty
horizontal shifts \version "2.11.26" %(windows) \header { title = \markup \normalsize \fill-line { "azerty" } subtitle = \markup \normalsize { "azerty" } } \score {c''} \layout{} %%% end %%% Now, the job : . , , : variable length s