On Fri, 28 Apr 2000, Jan Nieuwenhuizen wrote:
>
> Try:
>
> \score{
> \notes\relative c''{
> %\mark "{\\cmbx12 \\raise 2mm \\fbox{A}}";
> \mark "{\\font\\twelverm=cmbx12\\twelverm \\raise 2mm \\hbox{A}}";
> c1
> }
neither this nor Mats' suggestion
\mark "{\\normalfont \\raise 2mm \\fbox{A}};
work in my 1.2.17 setup: LaTeX complains that
! A <box> was supposed to be here.
<to be read again>
\unhbox
On the oher hand the command
\mark "{\\font\\twelverm=cmbx12\\twelverm%
{\\raisebox{2mm}{\\fbox{1}}}}";
works just fine; more complex contructs are also possible, like
\mark "{\\font\\twelverm=cmbx12\\twelverm%
{Fuga \\hspace{-12mm} \\raisebox{6mm}{\\fbox{1}}}}";
I also worked out a not so simple solution for circled reharsal marks:
\mark "{\\font\\twelverm=cmbx12\\twelverm{%
\\raisebox{2mm}{%
\\setlength{\\unitlength}{1mm}%
\\begin{picture}{7,7}%
\\put(3.5,3.5){\\circle{7.0}\\makebox(0,0){A}}%
\\end{picture}%
}%
}}";
Which could be useful to others.
>
> Or, much better:
>
> \score{
> \context Staff \notes\relative c''{
> c1
> \context Score {
> % this will work with .48
> %\outputproperty #(make-type-checker 'Mark)
> \outputproperty #(make-type-checker 'Text_item)
> #'extra-offset = #'(-1 . 4)
> }
> \mark A;
> d1
> \mark ;
> e
> }
> \paper{
> linewidth=-1.0;
> \translator {
> \ScoreContext
> \consists "Mark_engraver";
> }
> }
> }
>
This is for me not so easy to understand but I will try to figure
out what these commands do and to give them a try.
Thank you very much for your help,
Ciao,
Antnio Palama'