TransWikia.com

Bad alignment with MusiXTeX

TeX - LaTeX Asked by Blincer on December 28, 2020

I used the following code to typeset a music sheet:

documentclass{standalone}
usepackage{musixtex}

begin{document}
    begin{music}
        startextract
            Notes ibl0{'b}0 qb0{_cbb} tbl0qb0a enotes
        endextract
    end{music}
end{document}

However, the result is misaligned and there is a gap after the first note.
bad

What’s the correct way to do it?

One Answer

You can use a different notation.

documentclass{standalone}
usepackage{musixtex}

begin{document}
begin{music}
  startextract
  Notes Qqbl {_j}iih enotes
  endextract
end{music}

end{document}

This yields

enter image description here

Anyway, removing a space in your input also fixes the issue

documentclass{standalone}
usepackage{musixtex}

begin{document}
begin{music}
  startextract
  Notes ibl0{'b}0 qb0{_cbb}tbl0qb0a enotes
  endextract
end{music}

end{document}

Leave no space between notes.

Correct answer by egreg on December 28, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP