Re: Aligning testMarks

2023-10-11 Thread Torsten Krueger
Dimitrios Sykias wrote on 10.10.2023:

> Is there a way to align textMarks?

Maybe something like

\override Score.TextMark.self-alignment-X = #CENTER

would help?


Have fun!
Torsten




Re: Emacs Mode Problem with includes

2023-11-15 Thread Torsten Krueger
Laurie Savage wrote on 13.11.2023:

> Still I get errors like this:
> /home/laurie/Documents/Charts/Transpositions/Dear Old
> Stockholm/Dear-Old-Stockhom_Traditional.ly:3:10: error: cannot find file:
> `/home/Laurie/Lilypond/includes/jazzchords.ily'

>
> ...
>
> Any ideas?

I am not calling lilypond directly from emacs, but a short script which
itself runs:

/usr/local/lilypond/current/bin/lilypond 
--include=/home/torsten/.lilypond/include "${@}"


Have fuun!
Torsten




Re: how to draw lines independent from the notes

2024-06-03 Thread Torsten Krueger
Paolo Prete wrote on 02.06.2024:

> How can I draw a vertical (or even diagonal) line independently positioned
> from the notes in the score, that can span across staves, as shown in the
> figure?

For drawing lines independently from notes I do not use Lilypond
directly but postscript. For this purpose I have added a few lines of
code right at the beginning in the definition of bookTitleMarkup like
this (drawing two small horizontal lines in the page margins):

--8<---cut here---start->8---

  bookTitleMarkup = \markup {
\column {
   \postscript #"
gsave
initmatrix
1 setlinewidth 0 306 moveto 6 0 rlineto stroke
1 setlinewidth 377 306 moveto 6 0 rlineto stroke
grestore"
   \fill-line {
\fromproperty #'header:instrument
...

--8<---cut here---end--->8---

Don't know if it helps in your case, but maybe gives you an idea of how
to proceed.

Have fun
Torsten