要在文本文档中显示渐强发夹符号,需要使用 Musixtex 包,如下所示:
\documentclass{article}
\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}
\instrumentnumber{1}
\setclefsymbol{1}{\empty}%
\nostartrule
\setlines{1}{0}
\hsize=\musicwidth
\nobarnumbers
\startpiece%
\Notes\icresc\en%
\allbarrules\hidebarrule
\Notes\loff\tcresc\en%
\endpiece
\end{music}
\end{document}
答案1
需要命令 \sepbarrules,现在它可以起作用了:
\documentclass{article}
\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}
\instrumentnumber{1}
\setclefsymbol{1}{\empty}%
\nostartrule
\setlines{1}{0}
\hsize=\musicwidth
\nobarnumbers
\sepbarrules%---New added
\startpiece%
\Notes\icresc\en%
\allbarrules\hidebarrule
\Notes\loff\tcresc\en%
\endpiece
\end{music}
\end{document}