GeneralMusiXTeX: all in one line: why?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
siarczan6miedzi2
Posts: 1
Joined: Sat Oct 29, 2016 8:42 pm

MusiXTeX: all in one line: why?

Post by siarczan6miedzi2 »

Hi
I started to learn how to use MusiXTeX and I have a problem: the whole score I write is displayed in .pdf in one line and not divided into multiple ones. What should I do?
Here's how does my .tex file look like:

Code: Select all

\documentclass{ltxdoc}
\usepackage{musixtex}
\EnableCrossrefs
\PageIndex
\CodelineIndex
\setlength\hfuzz{15pt}

\begin{document}
\begin{music}
\hsize=190mm	
\vsize=270mm
\overfullrule 3pt
\instrumentnumber{1} % a single instrument
\setstaffs1{2} % with two staffs
\setclef{1}{60}
\generalmeter{\meterfrac68}
\startextract % starting real score

% all notes here

\zendextract
\end{music}
\end{document}
Thanks in advance for your help

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

MusiXTeX: all in one line: why?

Post by rais »

siarczan6miedzi2 wrote:the whole score I write is displayed in .pdf in one line and not divided into multiple ones. What should I do?
Using \startextract/\zendextract is like telling the system: "don't worry about line breaks, I don't expect any", AFAIK.
Try \startpiece/\endpiece instead.

KR
Rainer
Post Reply