Musixtex 为 Cajon 鼓谱设置第八休止符

Musixtex 为 Cajon 鼓谱设置第八休止符

需要调整Cajon鼓谱中八分休止符的垂直对齐,基本代码如下:

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

\usepackage{tikz}
\usetikzlibrary{arrows.meta, calc}
\tikzstyle{every picture}+=[remember picture]

\usepackage{pifont} % Para usar simbolos ding
\usepackage{musicography}
\usepackage{musixtex} 
\input{musixlyr}
\input {musixcho}
\input {musixdat}%fecha
\input {musixfll}
\input {musixgre}%gregoriano
\input {musixper}%percusión
\input {musixppff}
\input {musixstr}
\input {musixvbm}  % experimental vectorized beams
\input {musixdbr} % lineas de barras punteadas, discontinuas y arbitrariamente discontinuas
\input {musixbm} % compatibilidad garrapateas con ganchos o con barras
\input {musixbbm} % compatibilidad semi garrapateas con ganchos o con barras

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

\begin{document}
    
\begin{music}
    \resetlyrics
    \font\A=phvb8t at 10pt% added for letter type.
    \setlyrics{PuenteFestejo}{a qui va-mos va-mos va-mos}%hand indication
    \setsongraise1{-3mm}
    \instrumentnumber{1}
    \setclefsymbol{1}{\drumclef}%
    \nostartrule
    \generalmeter{\meterfrac{12}8} %Compás en 12/8
    \setlines{1}{2}
    \hsize=\musicwidth
    \nobarnumbers
    \sepbarrules%
    \startpiece% g k
    \A\assignlyrics1{PuenteFestejo}% added to place handindication
    \Notes\zcharnote{-10}{\A \hspace*{-0.15cm} un}\ds\ibl0g0\qb0{g}\tbl0\qb0{g}\cu k\qu k\hsk\cl g\ql g\hsk\cu k\qu k\en%
    \Endpiece
 \end{music}
        
\end{document}

当前输出如下: 当前的

预期输出应如下: 预期的

答案1

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

\usepackage{tikz}
\usetikzlibrary{arrows.meta, calc}
\tikzstyle{every picture}+=[remember picture]

\usepackage{pifont} % Para usar simbolos ding
\usepackage{musicography}
\usepackage{musixtex} 
\input{musixlyr}
\input {musixcho}
\input {musixdat}%fecha
\input {musixfll}
\input {musixgre}%gregoriano
\input {musixper}%percusión
\input {musixppff}
\input {musixstr}
\input {musixvbm}  % experimental vectorized beams
\input {musixdbr} % lineas de barras punteadas, discontinuas y arbitrariamente discontinuas
\input {musixbm} % compatibilidad garrapateas con ganchos o con barras
\input {musixbbm} % compatibilidad semi garrapateas con ganchos o con barras

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

\begin{document}
    
\begin{music}
    \resetlyrics
    \font\A=phvb8t at 10pt% added for letter type.
    \setlyrics{PuenteFestejo}{a qui va-mos va-mos va-mos}%hand indication
    \setsongraise1{-3mm}
    \instrumentnumber{1}
    \setclefsymbol{1}{\drumclef}%
    \nostartrule
    \generalmeter{\meterfrac{12}8} %Compás en 12/8
    \setlines{1}{2}
    \hsize=\musicwidth
    \nobarnumbers
    \sepbarrules%
    \startpiece% g k
    \A\assignlyrics1{PuenteFestejo}% added to place handindication
    \Notes\zsong{\A \hspace*{-0.15cm} un}\raise-2\Interligne\ds\ibl0g0\qb0{g}\tbl0\qb0{g}\cu k\qu k\hsk\cl g\ql g\hsk\cu k\qu k\en%
    \Endpiece
 \end{music}
        
\end{document}

求解后的输出结果如下: 解决了

相关内容