Hi Everyone,
Just found MusixTex. Would like to use the Guitar tab feature.
Does anyone know where I can find an example?
Thanks
PT
Text Formatting ⇒ Musixgui Example
Musixgui Example
Hi Everyone,
Got a simple music file to work. It has spacing issues. Can not seem
to get the horizontal spacing correct. Anyone have suggestions?
Got a simple music file to work. It has spacing issues. Can not seem
to get the horizontal spacing correct. Anyone have suggestions?
Code: Select all
\documentclass{article}
\usepackage{musixtex}
\normalmusicsize
\pagestyle{empty}
\begin{document}
\begin{music}
\instrumentnumber{1} % a single instrument
\setstaffs1{1} % with two staffs
\generalmeter{\meterfrac44} \nobarnumbers
\startpiece
\NOtes\qa{fd}\hl{d}\enotes
\bar
\NOtes\cfl{e}\qa{ec}\hl{c}\enotes
\bar
\NOtes\cfl{b}\qa{bcd}\cfl{e}\qa{e}\enotes
\bar
\Notes\qa{ff}\hl{f}\enotes
\bar
\Notes\qa{fd}\hl{d}\enotes
\bar
\Notes\cfl{e}\qa{ec}\hl{c}\enotes
\bar
\NOtes\cfl{b}\qa{bdff}\enotes
\bar
\NOTEs\wh{d}\enotes
\bar
\NOtes\qa{cccc}\enotes
\bar
\NOtes\qa{cd}\fl{e}\hl{e}\enotes
\bar
\NOtes\qa{dddd}\enotes
\bar
\NOtes\qa{d}\fl{e}\qa{e}\hl{f}\enotes
\bar
\Notes\qa{fd}\hl{d}\enotes
\bar
\Notes\fl{e}\qa{ec}\hl{c}\enotes
\bar
\NOtes\fl{b}\qa{bdff}\enotes
\bar
\NOTEs\fl{b}\zw{b}\enotes
\endpiece
\end{music}
\end{document}
Musixgui Example
MusiXTeX is designed to be a "three pass system". Say the tex file is jobname.tex, one uses xelatex distributor and the computer is MacBook, the 3 commands in Terminal are:
The reason is for the first command xelatex writes music like handwriting in a sheet music notebook. For the second command, musixflx adjusts the parameter \elemskip and produces jobname.mx2. For the third command, xelatex rewrites the music to make it look perfect based on jobname.mx2.
Please delete all the temporary files before inputting the commands.
Ref: MusiXTEX-Using TEX to write polyphonic or instrumental music Version 1.38, March 29, 2024, https://ftp.kddilabs.jp/CTAN/macros/gen ... sixdoc.pdf
Code: Select all
xelatex jobname
musixflx jobname.mx1
xelatex jobname
Please delete all the temporary files before inputting the commands.
Ref: MusiXTEX-Using TEX to write polyphonic or instrumental music Version 1.38, March 29, 2024, https://ftp.kddilabs.jp/CTAN/macros/gen ... sixdoc.pdf