On Tue, Oct 02, 2001 at 12:34:40PM +0300, zakharenkov wrote:
> Has any body of the experts had an experience in making "an elegant"
> solution of interval designation in the piano pieces like that
> attached to my message? Or, perhaps, someone wrote a macro to make it
> easier?
> 
> That example was made in ugly way --- placing an EPS file made from
> DVI through \special command.

Hmm - I can't exactly guess what actually is your challenge. For me,
there are two ones:

(1) Having the extract left-justified instead of its default centered
    position. This can be accomplished by redefining MusiXTeX's
    \extractline like this:
          \def\extractline#1{\line{#1\hfil}}

(2) The sloped line between the two interval notes. I can't see any
    more straightforward approach than using the \line feature of
    LaTeX's picture environment. The necessary LaTeX code can be
    isolated from LaTeX and inserted into your score source (or an
    include file).

See the attached .tex file for a working example for both
issues. Pouring the used commands into a macro, including automatic
calculation of the line length, slope, and space consumption, is of
course an additional challenge.

Regards,

Rainer

intdesign.tex

Reply via email to