> Date: Mon, 18 Sep 2000 14:21:25 +0200
> From: Christian Mondrup <[EMAIL PROTECTED]>
> Werner Icking wrote:
[...]
> > % Now redefine C@TO to meet chord barre notation for guitar
> > \makeatletter
> > \def\C@TO{%
> > \ifnum \@ne=\the\o@sw
> > \n@v\@xxiii \n@ii\@xxiv \else \n@v\@xxv \n@ii\@xxvi \fi
> > \ifx\T@ii\n@ii \y@v\lin@pos \else \getcurpos \fi
> > \advance\y@v-\o@x \kernm\y@v \raise\o@y\hbox{\raise\Internote\hbox\@to\y@v{%
> > \lower\Internote\hbox{\octnumber}\hrulefill}\vrule height\Internote}}%
> > \makeatother
[...]
> As far as I can see with my limited guitar knowledge this solution
> suffers, in the case of hold lines extending over line breaks, from a)
> the ending vertical line being applied before the line break and b) the
> string number/number of strings indications being repeated after the
> line break.
Erwischt :-)
Here's the next try - but I do not understand why it doesn't matter
whether the first two lines of the definition are commented out
or not although \n@ii is involved and lateron is compared against
\T@ii :-(
This solves a).
% Now redefine C@TO to meet chord barre notation for guitar
\makeatletter
\def\C@TO{%
% \ifnum \@ne=\the\o@sw
% \n@v\@xxiii \n@ii\@xxiv \else \n@v\@xxv \n@ii\@xxvi \fi
\ifx\T@ii\n@ii \y@v\lin@pos \else \getcurpos \fi
\advance\y@v-\o@x \kernm\y@v \raise\o@y\hbox{%
\raise\h@lf\Interligne\hbox\@to\y@v{%
\lower\Internote\hbox{\octnumber}\hrulefill}%
\ifx\T@ii\n@ii \else\vrule height\h@lf\Interligne\fi}}%
\makeatother
b) can be solved similar; but maybe the repetition of the
meaning could be useful.
Werner
--
Einstein has not only invented Relativit�tstheorie,
he was quite a good musician, too: E = Fb