Hello,
I'm not an TeX-expert and I'm using songs using the procedure form
MTX-files to TeX-files to produce my songs and include those
MusixTeX-files into a (pdf)latex file. The problem is, that the
vertical space of the staffs is stretched about the whole page and I
can't figure out how to avoid this or how to manipulate this to get
rid of these stretched music lines. I tried \raggedbottom but no
effect. When I produce a DVI from the MuxixTeX source alone it looks
fine, no stretched music lines. It only happens when I include it into
a LaTeX file via \begin{music} ... \end{music}. Maybe I'm doing
something wrong but I can't find a solution?
Below you find a minimum example. I'm using MusixTeX T.115 from the
TeX-live 2011 distribution.
Any hint or solution is appreciated.
Regards
Andreas Plank
Procedure I do:
*.mtx -> *.pmx -> *.tex -> musixflx *.mx1 -> *.tex
inclusion into mysongbook-latex-file.tex
--------8<---------------
% -*- coding: utf-8 -*-
\documentclass[9pt,
a5paper,
twoside,
DIV=20
% draft
]{scrartcl}
\usepackage{etex} % erweitert die newdims für TeX
\usepackage{mtxlatex} % für MTX -> MusiXTeX
\mtxlatex
\usepackage[russian, english, german]{babel} % Mehrsprachigkeit
\usepackage[utf8]{inputenc} % unicode
\usepackage{musixtex}
\usepackage{hyperref}
\begin{document}
\let\nopagenumbers\relax
\let\startmuflex\relax
\let\endmuflexsav\relax
\let\endmuflex\relax
\let\bye\relax
\let\eject\relax
\begin{music}
\resetlyrics
%%%%%%%%%%%%%%%%%
%
% katjusch.tex
%
%%%%%%%%%%%%%%%%
\def\mtxversion{0.60}
\def\mtxdate{<16 March 2005>}
\input mtx
\mtxSetLyrics{S}{%
Leuch-tend prang-ten rings-um Ap-fel-bl\"u-ten, %
still vom Flu\ss{} zog Ne-bel noch ins Land}
\mtxSetLyrics{R}{%
durch die Wie-sen kam hur--tig Ka-tju-scha_ %
zu_ des Flus-ses stei-ler U-fer-wand.}
\input musixtex
\input pmx
\setmaxslurs{24}\setmaxinstruments{24}%
\smallmusicsize%
\nopagenumbers
\tracingstats=2\relax
% \hsize=524pt
% \vsize740pt
\def\nbinstruments{1}
\setstaffs11
\setclef10
\setname1{ }
\generalsignature{-3}%
\generalmeter{\meterfrac{2}{4}}%
\parindent 0pt
\elemskip1pt\afterruleskip1.000pt\beforeruleskip0pt\relax
\stafftopmarg0pt\staffbotmarg5\Interligne\interstaff{10}\relax
\nostartrule
\readmod{katjusch}
\mtxStaffBottom{4}%
\mtxSetSize{1}{\mtxSmallSize}%
\startrule%
\nobarnumbers%
\startmuflex\startpiece
\addspace
\afterruleskip%
\mtxAssignLyrics{1}{S}%
\mtxLyricsAdjust{1}{2}%
\znotes\zcharnote{16}{\titles{2.0}{}{0}{}{0}{}{0}}\en%
% Bar count 1
\pnotes{3.46}\mtxZchar{10}{c/a$^{III}$}\qup c\en%
\pnotes{2.00}\cu d\en%
% Bar count 2
\xbar
\pnotes{3.46}\mtxZchar{10}{c/a}\qup e\en%
\pnotes{2.00}\cu c\en%
% Bar count 3
\xbar
\pnotes{2.00}\mtxZchar{10}{f/d}\cu e\cu e\cu d\cu c\en%
% Bar count 4
\xbar
\pnotes{2.83}\mtxZchar{10}{G$^7$/E$^7$}\qu d\qu{`g}\en%
% Bar count 5
\alaligne
\pnotes{3.46}\mtxZchar{10}{G$^7$/E$^7$}\qup d\en%
\pnotes{2.00}\cu e\en%
% Bar count 6
\xbar
\pnotes{3.46}\mtxZchar{10}{G$^7$/E$^7$}\qup f\en%
\pnotes{2.00}\cu d\en%
% Bar count 7
\xbar
\pnotes{2.00}\mtxZchar{10}{f/d}\cu f\cu f\mtxZchar{10}{G$^7$/E$^7$}\cu e%
\cu d\en%
% Bar count 8
\xbar
\pnotes{3.46}\mtxZchar{10}{c/a}\qup c\en%
\setrightrepeat\endpiece
\eject\endmuflex
\bye
\end{music}
Text Text Text Text Text Text Text Text Text Text Text Text Text Text
Text Text Text Text Text Text
\end{document}
--------8<---------------
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
http://tug.org/mailman/listinfo/tex-music