Musixtex 中的谱表间距

Musixtex 中的谱表间距

需要调整人员间距,基本代码如下:

\documentclass[tikz,border=3mm]{standalone}
\usepackage[T1]{fontenc}
\usepackage{polyglossia}
\setmainlanguage{spanish}

\usepackage{musixtex} 

\usepackage{adjustbox}
\newlength{\musicwidth}%new
\setlength{\musicwidth}{0.75\textwidth}%new, can be set for each instance of a figure environment 
\usepackage{tikz}

\begin{document}

\centering
%\resizebox{0.46\textwidth}{!}{%
\begin{adjustbox}{width=.6\textwidth,center}
\begin{music}
    \parindent3mm
    \instrumentnumber{2}
    \setstaffs1{1}
    \setstaffs2{1}
    \hsize=\musicwidth
    \setclef1\treble % Clave de Sol para el Instrumento 1
    \setclef2\treble % Clave de Sol para el Instrumento 2
    \nobarnumbers % Omite la numeración en los compases
    \generalmeter{\meterfrac{2}4} %Compás en 4/4
    \startextract % Se inicia el fragmento musical
    \Notes \sk\hl j & \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*}\en\setdoublebar
    \generalmeter{\meterfrac{3}{4}}\changecontext
    \notes \sk\hlp j & \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*}\en\setdoublebar
    \generalmeter{\meterfrac{4}{4}}\changecontext
    \notes \sk\wh j & \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*}\en
    \setdoubleBAR
    \endextract % Se finaliza el fragmento musical
\end{music}
\end{adjustbox}
%}

\end{document}

当前输出: 当前的

预期产出(注意,员工之间需要更多的空间): 预期的

答案1

解决了:

\documentclass[tikz,border=3mm]{standalone}
\usepackage[T1]{fontenc}
\usepackage{polyglossia}
\setmainlanguage{spanish}

\usepackage{musixtex} 

\usepackage{adjustbox}
\newlength{\musicwidth}%new
\setlength{\musicwidth}{0.75\textwidth}%new, can be set for each instance of a figure environment 
\usepackage{tikz}

\begin{document}

\centering
%\resizebox{0.46\textwidth}{!}{%
\begin{adjustbox}{width=.6\textwidth,center}
\begin{music}
    \parindent3mm
    \instrumentnumber{2}
    \setstaffs1{1}
    \setstaffs2{1}
    \hsize=\musicwidth
    \setclef1\treble % Clave de Sol para el Instrumento 1
    \setclef2\treble % Clave de Sol para el Instrumento 2
    \nobarnumbers % Omite la numeración en los compases
    \generalmeter{\meterfrac{2}4} %Compás en 4/4
    \setinterstaff{1}{20}%Distancia entre sistemas del pentagrama
    \startextract % Se inicia el fragmento musical
    \Notes \sk\hl j & \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*}\en\setdoublebar
    \generalmeter{\meterfrac{3}{4}}\changecontext
    \notes \sk\hlp j & \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*}\en\setdoublebar
    \generalmeter{\meterfrac{4}{4}}\changecontext
    \notes \sk\wh j & \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*} \ibl0f0 \zqb0{f}\qu j\tbl0\zqb0{f} \qu {*}\en
    \setdoubleBAR
    \endextract % Se finaliza el fragmento musical
\end{music}
\end{adjustbox}
%}

\end{document}

输出如下: 解决了

相关内容