Custom AccidentalStyle

2018-12-07 Thread mansouraoun
Hello everyone, I'm trying to have a custom accidental style but I don't know exactly how am i supposed to achieve this. The one I'm looking for is fairly simple, it's between 'dodecaphonic' and 'forget': Knowing that there's no key signature: write all accidentals for all notes, but write

Re: Music-function "arguments" - help

2018-12-07 Thread mansouraoun
Well I was earlier trying the \etc method only to realise that it wasn't available for 2.18. Yes indeed it is simpler but the function method gives me more control over what I want to achieve, and even if the \etc had worked on 2.18 I would still want to know how to write a correct music function.

Re: Music-function "arguments" - help

2018-12-07 Thread mansouraoun
Just switched to 2.19.82 and it works like a charm. Thanks Mansour -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Music-function "arguments" - help

2018-12-07 Thread mansouraoun
i wrote the code in raw and it's somehow not displayed in my message Here it is dynx = #(define-music-function (parser location X-offset) (number?) #{ \once\override DynamicText.X-offset = #X-offset #}) Mansour -- Sent from:

Re: Music-function "arguments" - help

2018-12-07 Thread mansouraoun
David exactly. Just the small information of "arguments' names are user-defined", (which might be a self-evidence for people with programming background/experience) would have saved me 3 hours yesterday. But it's fine, the important is that I understand now. Andrew thanks for replying. I ended

Re: Music-function "arguments" - help

2018-12-06 Thread mansouraoun
Ah ok I see ! The problem is that I thought that the "nth" argument should come from a list of built-in, pre-defined arguments that should be appropriate for the task I'm trying to do. I just realised that I made a fool of myself when I just named it "blabla" and it worked. Thanks a lot David!

Music-function "arguments" - help

2018-12-06 Thread mansouraoun
Hello, I'm still quite a beginner in Lilypond and as much as I'm liking how much customisable is its notation capabilities, understanding it is driving me crazy because sometimes I can pass more than 4 or 5 hours reading manuals and blogposts without reaching a simple answer to a simple

Re: Sample files

2018-11-21 Thread mansouraoun
Thanks for your quick replies! The references you sent will help me a lot. What I would love to see is a finished complex score code with score blocks, just to observe how it was done so I can fit all the separate lessons that I learned into place, like those:

Sample files

2018-11-21 Thread mansouraoun
Hello Lilypond community, I'm an absolute beginner, I watched the full playlist on youtube and read a fair amount of the manual yet it is all fragmented in my head now. I just would like to see how the structure of a finished file would look like, specifically a multi-staves score. I've searched