Musixtex alaligne 指令不適用於 Changepage 套件

Musixtex alaligne 指令不適用於 Changepage 套件

需要使用Musixtex alaligne 指令與changepage 套件搭配使用整個寬度頁面。基本程式碼如下:

\documentclass[11pt,a4paper]{scrartcl}
\usepackage[spanish]{babel}
\usepackage{musicography}
%\usepackage{undar-digitacion}

\usepackage{musixtex}
\input musixlyr
\usepackage{geometry}
\geometry{margin=1.3cm}


\usepackage{changepage}% Para setear el ancho de uso de la página
\newlength{\musicwidthtable}%new
\setlength{\musicwidthtable}{1.1\textwidth}%new, can be set for each 


\begin{document}


\section{Diagrama de Digitación de la Quena en G, }
\vspace*{1.2cm}
\begin{adjustwidth}{-1.2cm}{-1.3cm}%Paquete changepage
\begin{music}
    \hsize=\musicwidthtable
    %\resetlyrics
    \nolyr
    \lyricsoff
    \font\A=phvb8t at 6pt% added for letter type.
    \parindent0mm
    %\largemusicsize
    \nobarnumbers
    %\generalmeter{\meterfrac44}%
    \startpiece 
    %\startextract
    %\nolyr
    %\lyricsoff
    \notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G$_3$}%
    \wh{N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_3$}%
    \wh{^N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_3$}%
    \wh{a}\en%\bar%
    \Notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_3$}%
    \wh{^a}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A B$_3$}%
    \wh{b}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C$_4$}%
    \wh{c}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C\musSharp{}$_4$}%
    \wh{^c}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D$_4$}%
    \wh{d}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D\musSharp{}$_4$}%
    \wh{^d}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A E$_4$}%
    \wh{e}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A F$_4$}%
    \wh{f}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A F\musSharp{}$_4$}%
    \wh{^f}\en\bar%
    \notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A G$_4$}%
    \wh{g}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_4$}%
    \wh{^g}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_4$}%
    \wh{h}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_4$}%
    \wh{^h}\en%\bar%
    \notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A B$_4$}%
    \wh{i}\en%\bar%
    \notes%\zcharnote w{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_5$}%
    \wh{j}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_5$}%
    \wh{^j}\en%\bar%
    \Notes%\zcharnote w{\addCero{EbG}{blue}}%
    \zcharnote a{\A D$_5$}%
    \wh{k}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_5$}%
    \wh{^k}\en%\bar%
    \notes%\zcharnote w{\addTres{CbG}{blue}}%
    \zcharnote a{\A E$_5$}%
    \wh{l}\en%\bar%
    \notes%\zcharnote w{\addDos{DbG}{blue}}%
    \zcharnote a{\A F$_5$}%
    \wh{m}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A F\musSharp{}$_5$}%
    \wh{^m}\en\bar%
    \Notes%\zcharnote w{\addUno{CbG}{blue}}%
    \zcharnote a{\A G$_5$}%
    \wh{n}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A G\musSharp{}$_5$}%
    \wh{^n}\en%\bar%
    \Notes%\zcharnote w{\addTres{BbG}{blue}}%
    \zcharnote a{\A A$_5$}%
    \wh{o}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A A\musSharp{}$_5$}%
    \wh{^o}\en%\bar%
    \notes%\zcharnote w{\addDos{CbG}{blue}}%
    \zcharnote a{\A B$_5$}%
    \wh{p}\en%\bar%
    \Notes%\zcharnote z{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_6$}%
    \wh{q}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_6$}%
    \wh{^q}\en%\bar%
    \Notes%\zcharnote z{\addUnoA{EbG}{blue}}%
    \zcharnote a{\A D$_6$}%
    \wh{r}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_6$}%
    \wh{^r}\en%\bar%
    \Notes%\zcharnote z{\addDosA{EbG}{blue}}%
    \zcharnote a{\A E$_6$}%
    \wh{s}\en%\bar%
    \Notes%\zcharnote z{\addCero{EbG}{blue}}%
    \zcharnote a{\A F$_6$}%
    \wh{t}\en%\bar%
    \alaligne%\bar
    \notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G$_3$}%
    \wh{N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_3$}%
    \wh{^N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_3$}%
    \wh{a}\en%\bar%
    \Notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_3$}%
    \wh{^a}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A B$_3$}%
    \wh{b}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C$_4$}%
    \wh{c}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C\musSharp{}$_4$}%
    \wh{^c}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D$_4$}%
    \wh{d}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D\musSharp{}$_4$}%
    \wh{^d}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A E$_4$}%
    \wh{e}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A F$_4$}%
    \wh{f}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A F\musSharp{}$_4$}%
    \wh{^f}\en\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A G$_4$}%
    \wh{g}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_4$}%
    \wh{^g}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_4$}%
    \wh{h}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_4$}%
    \wh{^h}\en%\bar%
    \Notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A B$_4$}%
    \wh{i}\en%\bar%
    \Notes%\zcharnote w{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_5$}%
    \wh{j}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_5$}%
    \wh{^j}\en%\bar%
    \Notes%\zcharnote w{\addCero{EbG}{blue}}%
    \zcharnote a{\A D$_5$}%
    \wh{k}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_5$}%
    \wh{^k}\en%\bar%
    \notes%\zcharnote w{\addTres{CbG}{blue}}%
    \zcharnote a{\A E$_5$}%
    \wh{l}\en%\bar%
    \notes%\zcharnote w{\addDos{DbG}{blue}}%
    \zcharnote a{\A F$_5$}%
    \wh{m}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A F\musSharp{}$_5$}%
    \wh{^m}\en\bar%
    \Notes%\zcharnote w{\addUno{CbG}{blue}}%
    \zcharnote a{\A G$_5$}%
    \wh{n}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A G\musSharp{}$_5$}%
    \wh{^n}\en%\bar%
    \Notes%\zcharnote w{\addTres{BbG}{blue}}%
    \zcharnote a{\A A$_5$}%
    \wh{o}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A A\musSharp{}$_5$}%
    \wh{^o}\en%\bar%
    \notes%\zcharnote w{\addDos{CbG}{blue}}%
    \zcharnote a{\A B$_5$}%
    \wh{p}\en%\bar%
    \Notes%\zcharnote z{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_6$}%
    \wh{q}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_6$}%
    \wh{^q}\en%\bar%
    \Notes%\zcharnote z{\addUnoA{EbG}{blue}}%
    \zcharnote a{\A D$_6$}%
    \wh{r}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_6$}%
    \wh{^r}\en%\bar%
    \Notes%\zcharnote z{\addDosA{EbG}{blue}}%
    \zcharnote a{\A E$_6$}%
    \wh{s}\en%\bar%
    \Notes%\zcharnote z{\addCero{EbG}{blue}}%
    \zcharnote a{\A F$_6$}%
    \wh{t}\en%\bar%
    %\endextract
    \Endpiece
\end{music}   
\end{adjustwidth}

\end{document}

當前輸出如下: 在此輸入影像描述

請注意,只應繪製兩行而不是四行......

答案1

為什麼1.1\textwidth?在裡面adjustwidth你有正確的值\linewidth

\documentclass[11pt,a4paper]{scrartcl}
\usepackage[spanish]{babel}
\usepackage{musicography}
%\usepackage{undar-digitacion}

\usepackage{musixtex}
\input musixlyr
\usepackage{geometry}
\geometry{margin=1.3cm}


\usepackage{changepage}% Para setear el ancho de uso de la página
%\newlength{\musicwidthtable}%new
%\setlength{\musicwidthtable}{1.1\textwidth}%new, can be set for each 


\begin{document}


\section{Diagrama de Digitación de la Quena en G, }
\vspace*{1.2cm}
\begin{adjustwidth}{-1.2cm}{-1.3cm}%Paquete changepage
\begin{music}
    \hsize=\linewidth
    %\resetlyrics
    \nolyr
    \lyricsoff
    \begingroup
    \fontsize{6}{0}\usefont{OT1}{phv}{m}{n}%
    \expandafter\endgroup\expandafter\let\expandafter\A\the\font
%    \font\A=phvb8t at 6pt% added for letter type.
    \parindent0mm
    %\largemusicsize
    \nobarnumbers
    %\generalmeter{\meterfrac44}%
    \startpiece 
    %\startextract
    %\nolyr
    %\lyricsoff
    \notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G$_3$}%
    \wh{N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_3$}%
    \wh{^N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_3$}%
    \wh{a}\en%\bar%
    \Notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_3$}%
    \wh{^a}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A B$_3$}%
    \wh{b}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C$_4$}%
    \wh{c}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C\musSharp{}$_4$}%
    \wh{^c}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D$_4$}%
    \wh{d}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D\musSharp{}$_4$}%
    \wh{^d}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A E$_4$}%
    \wh{e}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A F$_4$}%
    \wh{f}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A F\musSharp{}$_4$}%
    \wh{^f}\en\bar%
    \notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A G$_4$}%
    \wh{g}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_4$}%
    \wh{^g}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_4$}%
    \wh{h}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_4$}%
    \wh{^h}\en%\bar%
    \notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A B$_4$}%
    \wh{i}\en%\bar%
    \notes%\zcharnote w{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_5$}%
    \wh{j}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_5$}%
    \wh{^j}\en%\bar%
    \Notes%\zcharnote w{\addCero{EbG}{blue}}%
    \zcharnote a{\A D$_5$}%
    \wh{k}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_5$}%
    \wh{^k}\en%\bar%
    \notes%\zcharnote w{\addTres{CbG}{blue}}%
    \zcharnote a{\A E$_5$}%
    \wh{l}\en%\bar%
    \notes%\zcharnote w{\addDos{DbG}{blue}}%
    \zcharnote a{\A F$_5$}%
    \wh{m}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A F\musSharp{}$_5$}%
    \wh{^m}\en\bar%
    \Notes%\zcharnote w{\addUno{CbG}{blue}}%
    \zcharnote a{\A G$_5$}%
    \wh{n}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A G\musSharp{}$_5$}%
    \wh{^n}\en%\bar%
    \Notes%\zcharnote w{\addTres{BbG}{blue}}%
    \zcharnote a{\A A$_5$}%
    \wh{o}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A A\musSharp{}$_5$}%
    \wh{^o}\en%\bar%
    \notes%\zcharnote w{\addDos{CbG}{blue}}%
    \zcharnote a{\A B$_5$}%
    \wh{p}\en%\bar%
    \Notes%\zcharnote z{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_6$}%
    \wh{q}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_6$}%
    \wh{^q}\en%\bar%
    \Notes%\zcharnote z{\addUnoA{EbG}{blue}}%
    \zcharnote a{\A D$_6$}%
    \wh{r}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_6$}%
    \wh{^r}\en%\bar%
    \Notes%\zcharnote z{\addDosA{EbG}{blue}}%
    \zcharnote a{\A E$_6$}%
    \wh{s}\en%\bar%
    \Notes%\zcharnote z{\addCero{EbG}{blue}}%
    \zcharnote a{\A F$_6$}%
    \wh{t}\en%\bar%
    \alaligne%\bar
    \notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G$_3$}%
    \wh{N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_3$}%
    \wh{^N}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_3$}%
    \wh{a}\en%\bar%
    \Notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_3$}%
    \wh{^a}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A B$_3$}%
    \wh{b}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C$_4$}%
    \wh{c}\en%\bar%
    \Notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote n{\A C\musSharp{}$_4$}%
    \wh{^c}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D$_4$}%
    \wh{d}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A D\musSharp{}$_4$}%
    \wh{^d}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A E$_4$}%
    \wh{e}\en%\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A F$_4$}%
    \wh{f}\en%\bar%
    \Notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A F\musSharp{}$_4$}%
    \wh{^f}\en\bar%
    \Notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \zcharnote n{\A G$_4$}%
    \wh{g}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A G\musSharp{}$_4$}%
    \wh{^g}\en%\bar%
    \Notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A A$_4$}%
    \wh{h}\en%\bar%
    \notes%\zcharnote u{\addCero{EbG}{blue}}%
    \zcharnote n{\A A\musSharp{}$_4$}%
    \wh{^h}\en%\bar%
    \Notes%\zcharnote u{\addDos{CbG}{blue}}%
    \zcharnote n{\A B$_4$}%
    \wh{i}\en%\bar%
    \Notes%\zcharnote w{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_5$}%
    \wh{j}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_5$}%
    \wh{^j}\en%\bar%
    \Notes%\zcharnote w{\addCero{EbG}{blue}}%
    \zcharnote a{\A D$_5$}%
    \wh{k}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_5$}%
    \wh{^k}\en%\bar%
    \notes%\zcharnote w{\addTres{CbG}{blue}}%
    \zcharnote a{\A E$_5$}%
    \wh{l}\en%\bar%
    \notes%\zcharnote w{\addDos{DbG}{blue}}%
    \zcharnote a{\A F$_5$}%
    \wh{m}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A F\musSharp{}$_5$}%
    \wh{^m}\en\bar%
    \Notes%\zcharnote w{\addUno{CbG}{blue}}%
    \zcharnote a{\A G$_5$}%
    \wh{n}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A G\musSharp{}$_5$}%
    \wh{^n}\en%\bar%
    \Notes%\zcharnote w{\addTres{BbG}{blue}}%
    \zcharnote a{\A A$_5$}%
    \wh{o}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A A\musSharp{}$_5$}%
    \wh{^o}\en%\bar%
    \notes%\zcharnote w{\addDos{CbG}{blue}}%
    \zcharnote a{\A B$_5$}%
    \wh{p}\en%\bar%
    \Notes%\zcharnote z{\addUno{DbG}{blue}}%
    \zcharnote a{\A C$_6$}%
    \wh{q}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A C\musSharp{}$_6$}%
    \wh{^q}\en%\bar%
    \Notes%\zcharnote z{\addUnoA{EbG}{blue}}%
    \zcharnote a{\A D$_6$}%
    \wh{r}\en%\bar%
    \notes%\zcharnote u{\addUno{DbG}{blue}}%
    \zcharnote a{\A D\musSharp{}$_6$}%
    \wh{^r}\en%\bar%
    \Notes%\zcharnote z{\addDosA{EbG}{blue}}%
    \zcharnote a{\A E$_6$}%
    \wh{s}\en%\bar%
    \Notes%\zcharnote z{\addCero{EbG}{blue}}%
    \zcharnote a{\A F$_6$}%
    \wh{t}\en%\bar%
    %\endextract
    \Endpiece
\end{music}   
\end{adjustwidth}

\end{document}

我會避免\font使用 LaTeX,但請隨意使用它。

在此輸入影像描述

答案2

這並不是對egreg給出的解決方案以及我在這裡實現的解決方案的修改,而是對您的原始程式碼的改進(所以不要接受它,而只是從中學習),因為您在\notes任意情況下使用了大寫的N結果,你浪費了小節周圍的空間,其中第1 行的最後一個只能被猜測在那裡,但沒有真正看到,你在f 上任意結束音階,而不是在f 銳利上,並且:你完全不呈現G大調的半音階,但是C大調的半音階,從G開始 - 你開始計數的地方,我只能猜測,實際上你應該從g開始,沒有任何下標數字。據我所知,第一行符合您的意圖。不要忘記\musixflx再次設定代碼。

    \documentclass[11pt,a4paper]{scrartcl}
    \usepackage[spanish]{babel}
    \usepackage{musicography}
    %\usepackage{undar-digitacion}
    
    \usepackage{musixtex}
    \input musixlyr
    \usepackage{geometry}
    \geometry{margin=1.3cm}
    
    
    \usepackage{changepage}% Para setear el ancho de uso de la página
    \newlength{\musicwidthtable}%new
    %\setlength{\musicwidthtable}{1.1\textwidth}%new, can be set for each 
    
    
    \begin{document}
    \section{Diagrama de Digitación de la Quena en G, }%
    \vspace*{1.2cm}%
    \begin{adjustwidth}{-1.2cm}{-1.2cm}%Paquete changepage to make the last bar in line 1 visible
    \begin{musi

c}%
    \hsize=\linewidth%
    %\resetlyrics
    \nolyr%
    \lyricsoff%
    \font\A=phvb8t at 8pt% added for letter type. to make the letter better readable 
    \parindent0mm%
    %\largemusicsize
    \nobarnumbers%
    %\generalmeter{\meterfrac44}%
    \footnotesize%  to make the subscript smaller
    \startpiece%
    %\startextract
    %\nolyr
    %\lyricsoff
    \notes%\zcharnote u{\addTres{BbG}{blue}}% notes is enough and distributes the notes equally
    \zcharnote n{\A g}\wh{N}% deleted \en \notes to make the code more transparent
    \zcharnote n{\A g\musSharp{}}\wh{^N}%
    \zcharnote n{\A a}\wh{a}%
    \zcharnote n{\A a\musSharp{}}\wh{^a}%
    \zcharnote n{\A b}\wh{b}%
    \zcharnote n{\A c$_1$}\wh{c}%
    \zcharnote n{\A c\musSharp{}$_1$}\wh{^c}%
    \zcharnote n{\A d$_1$}\wh{d}%
    \zcharnote n{\A d\musSharp{}$_1$}\wh{^d}%
    \zcharnote n{\A e$_1$}\wh{e}%
    \zcharnote n{\A e\musSharp{}$_1$}\wh{^e}% this is the 11th note in G scharp
    \zcharnote n{\A f\musSharp{}$_1$}\wh{^f}\hbsk\qsk\en\bar%  to tighten the space before the bar
    %
    \notes\hbsk\qqsk%\zcharnote u{\addCuatro{GbG}{blue}}% to tighten the space after the bar
    \zcharnote n{\A g$_1$}\wh{g}%
    \zcharnote n{\A g\musSharp{}$_1$}\wh{^g}%
    \zcharnote n{\A a$_1$}\wh{h}%
    \zcharnote n{\A a\musSharp{}$_1$}\wh{^h}%
    \zcharnote n{\A b$_1$}\wh{i}%
    \zcharnote a{\A c$_2$}\wh{j}%
    \zcharnote a{\A c\musSharp{}$_2$}\wh{^j}%
    \zcharnote a{\A d$_2$}\wh{k}%
    \zcharnote a{\A d\musSharp{}$_2$}\wh{^k}%
    \zcharnote a{\A e$_2$}\wh{l}%
    \zcharnote a{\A e\musSharp{}$_2$}\wh{^l}%
    \zcharnote a{\A f\musSharp{}$_2$}\wh{^m}\hbsk\qsk\en\bar%
    %
    \notes\hbsk\qqsk%\zcharnote w{\addUno{CbG}{blue}}%
    \zcharnote a{\A g$_2$}\wh{n}%
    \zcharnote a{\A g\musSharp{}$_2$}\wh{^n}%
    \zcharnote a{\A a$_2$}\wh{o}%
    \zcharnote a{\A a\musSharp{}$_2$}\wh{^o}%
    \zcharnote a{\A b$_2$}\wh{p}%
    \zcharnote a{\A c$_3$}\wh{q}%
    \zcharnote a{\A c\musSharp{}$_3$}\wh{^q}%
    \zcharnote a{\A d$_3$}\wh{r}%
    \zcharnote a{\A d\musSharp{}$_3$}\wh{^r}%
    \zcharnote a{\A e$_3$}\wh{s}%
    \zcharnote a{\A e\musSharp{}$_3$}\wh{^s}%
    \zcharnote a{\A f\musSharp{}$_3$}\wh{^t}\en% the scale should end here
    \alaligne%\bar
    %
   \addspace{-1\afterruleskip}% to create more space in the entire line
    \notes%\zcharnote u{\addTres{BbG}{blue}}%
    \zcharnote n{\A G$_3$}\wh{N}%
    \zcharnote n{\A G\musSharp{}$_3$}\wh{^N}%
    \zcharnote n{\A A$_3$}\wh{a}%
    \zcharnote n{\A A\musSharp{}$_3$}\wh{^a}%
    \zcharnote n{\A B$_3$}\wh{b}%
    \zcharnote n{\A C$_4$}\wh{c}%
    \zcharnote n{\A C\musSharp{}$_4$}\wh{^c}%
    \zcharnote n{\A D$_4$}\wh{d}%
    \zcharnote n{\A D\musSharp{}$_4$}\wh{^d}%
    \zcharnote n{\A E$_4$}\wh{e}%
    \zcharnote n{\A F$_4$}\wh{f}%
    \zcharnote n{\A F\musSharp{}$_4$}\wh{^f}\hbsk\qsk\en\bar%
    %
    \notes%\zcharnote u{\addCuatro{GbG}{blue}}%
    \hbsk\qqsk\zcharnote n{\A G$_4$}\wh{g}%
    \zcharnote n{\A G\musSharp{}$_4$}\wh{^g}%
    \zcharnote n{\A A$_4$}\wh{h}%
    \zcharnote n{\A A\musSharp{}$_4$}\wh{^h}%
    \zcharnote n{\A B$_4$}\wh{i}%
    \zcharnote a{\A C$_5$}\wh{j}%
    \zcharnote a{\A C\musSharp{}$_5$}\wh{^j}%
    \zcharnote a{\A D$_5$}\wh{k}%
    \zcharnote a{\A D\musSharp{}$_5$}\wh{^k}%
    \zcharnote a{\A E$_5$}\wh{l}%
    \zcharnote a{\A F$_5$}\wh{m}%
    \zcharnote a{\A F\musSharp{}$_5$}\wh{^m}\hbsk\qsk\en\bar%
    %
    \notes%\zcharnote w{\addUno{CbG}{blue}}%
    \hbsk\qqsk\zcharnote a{\A G$_5$}\wh{n}%
    \zcharnote a{\A G\musSharp{}$_5$}\wh{^n}%
    \zcharnote a{\A A$_5$}\wh{o}%
    \zcharnote a{\A A\musSharp{}$_5$}\wh{^o}%
    \zcharnote a{\A B$_5$}\wh{p}%
    \zcharnote a{\A C$_6$}\wh{q}%
    \zcharnote a{\A C\musSharp{}$_6$}\wh{^q}%
    \zcharnote a{\A D$_6$}\wh{r}%
    \zcharnote a{\A D\musSharp{}$_6$}\wh{^r}%
    \zcharnote a{\A E$_6$}\wh{s}%
    \zcharnote a{\A F$_6$}\wh{t}\en%\bar%
    %\endextract
    \Endpiece
    \end{music}   
    \end{adjustwidth}

    \end{document}

在此輸入影像描述

相關內容