Conversion ToolsHelp of MusiXTeX users

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
fausto_ramos
Posts: 6
Joined: Wed Apr 13, 2011 1:13 pm

Help of MusiXTeX users

Post by fausto_ramos »

Hi people!

May be a very simple question for experienced users, but I'm trying to solve it for hours without success. Firstly, I'm not a musician, only a guy who needs to edit a partiture from a book page, specifically the notes circled in black shown in the file 'score.jpg' attached.

The minimum code is presented below. So, the question is, what is the code needed to produce the notes circled in black? (Note that there are many symbols there: sharp, dot and slur.)

Finally, somebody knows a MusiXTeX forum for basic questions like that? The MusiXTeX handbook is not easy to comprehend.

Code: Select all

\documentclass[9pt]{memoir}
\usepackage[paperwidth=94mm, paperheight=132mm, hmargin={10mm, 10mm}, vmargin={11mm, 10mm}]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{musixtex}
\input{musixlyr}

\begin{document}
\smallmusicsize \small
\begin{music}
\nobarnumbers
\parindent 0pt
\generalmeter{\meterfrac24} % 2/4 meter chosen
\setlyrics{text}{Nos-sa Se-nho-ra da Con-cei-%
ção_ ro-gae por nós,_ ro-gae por %
nós,_ Nos-sa Se-nho-ra da Con-cei-%
ção ro-gae por nós ro-gae_ por %
nós_ Nos-sa Se-nhor-ra%
da Con-cei-ção- ro-gae_ por%
nós_ ro-gae_ por nós%
Ro-gae por nós_ ro-gae por nós._}
\assignlyrics1{text}%
\startpiece
\NOtes \uptext{\textsl{Coro:}} \qu{c} \cup c \en
\Notes \ccu c \en
\bar
\NOtes \qu{e} \qu{e} \en 
\bar
\NOtes \qu{g} \cup g \en
\Notes \ccu g\en
\endpiece % 1a. pauta
\startpiece
\notes \islurd0h\qu{h} \tslur0g\qu{g} \en 
\bar
\Notes \ql{j} \clp{i} \en
\notes \ccu{h} \en 
\bar
\Notes \islurd0g\qu{g} \tslur0e\qu{e} \en 
\bar
\NOtes \qu{h} \cup f \en 
\Notes \ccu e \en 
\endpiece % 2a. pauta
\startpiece
\notes \islurd0d\qu{d} \tslur0c \qu{c} \en 
\doublebar
\Notes \uptext{\textsl{Coro:}} \qu{d} \cup d \en
\notes \ccu d  \en
\bar
\Notes \qu{ee} \en
\bar
\Notes \qu{^f} \en
\notes \cup f \ccu f \en
\endpiece % 3a. pauta
\startpiece
\Notes \hu g \en
\bar
\NOtes \qu{g} \cup g \en
\Notes \ccu h \en
\bar
\NOtes \qlp i \en
\notes \cu g \en
\bar
\notes \ibu0h{-1}\qb0h\tbu0\qb0g \en
\endpiece % 4a pauta
\end{music}

\end{document}
Attachments
Partiture to be converted using MusiXTeX
Partiture to be converted using MusiXTeX
partiture.jpg (139.5 KiB) Viewed 23460 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Help of MusiXTeX users

Post by rais »

Hi there,
fausto_ramos wrote:So, the question is, what is the code needed to produce the notes circled in black? (Note that there are many symbols there: sharp, dot and slur.)
yes, and a beam, too. You could try changing the last shown bar of your piece
fausto_ramos wrote:

Code: Select all

\notes \ibu0h{-1}\qb0h\tbu0\qb0g \en
to sth. like

Code: Select all

\Notes% with \notes, the sharp overprints the punctuation of its preceeding note
  \islurd0g% dropped the starting point for the slur by one note to circumvent the sharp
  \ibu0h{-1}% start single beam
  \qbp0h% first note under beam
  \sh{g}% sharp for second note under beam
  \tbbu0% end double beam: only the second note under the beam will be a sixteenth
  \tbu0% end single beam
  \qb0g% second (and last) note under beam
  \tslur0h% end slur on following note
  \cup h% punctuated eigth `a'
  \ccl i% and the previously missing sixteenth `h' note to complete this bar
\en
(I've only spread the code a bit to add some comments)
KR
Rainer
fausto_ramos
Posts: 6
Joined: Wed Apr 13, 2011 1:13 pm

Re: Help of MusiXTeX users

Post by fausto_ramos »

Solved!
Attachments
Manual_principal.pdf
(15.73 KiB) Downloaded 605 times
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Help of MusiXTeX users

Post by rais »

fausto_ramos wrote:Solved!
uhhm, not quite: the last bar in your attachment is the equivalent of 9/16 long. As such, it's too long by a sixteenth to fit your meter of 2/4.
You've doubled the length of the g-sharp (it only got a single beam; the original shows a double beam for this note---and my code, too).

And why you'd want to cut through the sharp sign with the slur you've got your reason(s), I guess...
last-bar-with-code-shown-above.png
last-bar-with-code-shown-above.png (7.43 KiB) Viewed 23404 times
KR
Rainer
Post Reply