"Antonio PALAMA'" <[EMAIL PROTECTED]> writes:

> Here is a problem I've got and wasn't able to solve.

> With 1.2.17 I could produce beautiful circled rehearsal marks with the
> following
> code
>
> \mark "{\\font\\twelverm=cmbx12\\twelverm{%
> \\hspace{-3mm}%
> \\raisebox{-1mm}{%
> \\setlength{\\unitlength}{1mm}%
> \\begin{picture}(7,7)%
> \\put(3.5,3.5){\\circle{7.0}\\makebox(0,0){A}}%
> \\end{picture}%
> }%
> }}";
>
> With 1.4.12 the circled rehearsal marks were still produced but a large amount
> of whitespace was inseted in the score between the mark and the first note
> following. With 1.6.2 the rehearsal mark is not printed at all but the extra
> whitespace is still there.

Yes.  Well, the bad news is that the kind of inline LaTeX hacking you
did (for 1.2), is not and has never been a recommended or supported
feature.  LilyPond cannot calculate the dimensions of such a hack.
(La)TeX hacking should only be used if there's really no other option
(chinese lyrics come to mind).

You can use boxed molecules, like so:

    \score{
        \notes \relative c''{

            \property Score.RehearsalMark \override #'molecule-callback =
            #(make-molecule-boxer 0.15 0.3 0.3 Text_item::brew_molecule)

            a \mark "A"  b c \mark\default d
        }
        \paper{
             indent = 0.0\mm
             linewidth = 50.0\mm
         }
    }

Circled molecules have not been implemented yet.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to