Graphics, Figures & TablesMusixTex multiple notes at the same time

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
dorien
Posts: 7
Joined: Thu Jan 28, 2010 12:52 pm

MusixTex multiple notes at the same time

Post by dorien »

Hi,

I want to display an entire scale in 1 note position. I've tried with:

Code: Select all

\NOTes \rh{dfhjln}\rw {cegikmo} \wh p\enotes
but the notes are still to far from eachother. I also tried with \lw instead of \rh, but then the space is to big...

Any ideas?

Thanks so much!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

MusixTex multiple notes at the same time

Post by cgnieder »

I am not sure, that I did understand correctly: you want the whole scale displayed as a chord with whole note heads, right?
This should work:

Code: Select all

\documentclass{scrartcl}
\usepackage{musixtex}
\begin{document}
% all on the _same_ place, probalbly _not_ what you want
\startextract
\NOTes\zw{defghij}\wh{c}\enotes
\endextract
% as real chord:
\startextract
\NOTes\zw{egi}\rh{dfhj}\wh{c}\enotes
\endextract
% possible but not really good:
\startextract
\NOTes\zw{egi}\lh{dfhj}\wh{c}\enotes
\endextract
\end{document}
\rw creates non-spacing whole note heads shifted to the right (approx 6pt)
\rh same with half note heads, \lw shifts them to the left.

For a chord you always need the not shifted non-spacing note heads, for example:
\zw non-spacing whole note heads
\zhl, \zql ... same with half, quarter note heads ...

(MusiXTeX Manual version T.113, section 2.5: writing notes (p. 23ff))

I hope that helps?
Best regards,
Clemens
site moderator & package author
dorien
Posts: 7
Joined: Thu Jan 28, 2010 12:52 pm

MusixTex multiple notes at the same time

Post by dorien »

Excellent, thanks!

Yes, I read that in the manual, that's how I put together the original code, but the spacing was still off.

I used

Code: Select all

\NOTes \rh{dfhjln}\rw {cegikmo} \wh p\enotes
and it displays great now.

Thanks!
Post Reply