GeneralMusixtex: note layout

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mekartoffel
Posts: 1
Joined: Wed Apr 05, 2017 7:26 pm

Musixtex: note layout

Post by mekartoffel »

Hello everyone!

I am a beginner in Latex and at the moment, I'm trying to write down some notes with Musixtex and have a problem with the layout and hoped that someone could help me.
I want the notes to end at the end of the line and not in the middle of the line so everything looks consistent. And I want to add the lyrics of the song but without the notes for th voice. Just the lyrics. I already tried many things but I couldn't find a solution.
I attached a screenshot of the pdf. And here's a part of my current code:

Code: Select all

\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{musixtex}
\usepackage{geometry}
\geometry{a4paper, top=30mm, left=26mm, right=14mm, bottom=30mm}
\input{musixdbr}
\renewcommand*\rmdefault{pbk}

\begin{document}
   \begin{center}
      \begin{Huge}
         Musik sein\\
      \end{Huge}
   \raggedleft\footnotesize{Wincent Weiss\\}
   \end{center}
   \begin{music}
   \input{musixlyr}
   \hsize=170mm
   \parindent0mm
   \instrumentnumber{2}
   \setstaffs1{2}            % with two staffs
   \setsongraise{1}{2}
   \setclef1{\bass}
   \generalmeter{\meterfrac{4}{4}}   % 4/4 meter chosen
   \renewcommand*\writebarno{\the\barno}
   \systemnumbers
   \def\fontbarno{\small}
   \startmuflex
   \startpiece               % starting real score
      %1 Verse
      \NOTEs\itied{0}{3}\wh{'C}|\itied{1}{c}\itied{2}{e}\itieu{3}{g}\zw{ceg}&\zsong{\footnotesize{Was für eine Nacht}}\uptext{C}\en
      \bar%2
      \NOTEs\ttie{0}\wh{'C}|\ttie{1}\ttie{2}\ttie{3}\zw{ceg}&\zsong{\footnotesize{Bin mit 'nem Schädel aufgewacht. Gieß den Ka-}}\en
      \bar%3
      \NOTEs\itied{0}{3}\wh{'C}|\itied{1}{c}\itied{2}{e}\itieu{3}{g}\zw{ceg}&\zsong{\footnotesize{ffee}}\uptext{C}\en
      \bar%4
      \NOTEs\ttie{0}\wh{'C}|\ttie{1}\ttie{2}\ttie{3}\zw{ceg}\en
      \bar%5
      \NOTEs\wh{'A}|\zw{ce'a}&\zsong{\footnotesize{magst}}\uptext{Am7}\en
      \bar%6
      \NOTEs\wh{F}|\zw{cf'a}&\zsong{\footnotesize{unsicheres}}\uptext{F}\en
      \bar%7
      \NOTEs\itied{0}{3}\wh{'C}|\itied{1}{c}\itied{2}{e}\itieu{3}{g}\zw{ceg}&\zsong{\footnotesize{Tür}}\uptext{C}\en
      %\bar%8
      \NOTEs\ttie{0}\wh{'C}|\ttie{1}\ttie{2}\ttie{3}\zw{ceg}\en
      \doublebar%9 Pre-Chorus
      \Notesp\ibu052\zqp{F}\qup{'F}|\ibu15{-2}\zqp{cg}\qup{'c}&\uptext{$F^{add9}$}\en
      \Notesp\zqp{G}\tbu0\qup{'G}|\zqp{cg}\tbu1\qup{'b}&\uptext{G}\en
      \NOtes\zq{'A}\ql{'A}|\zq{cg}\qu{'c}&\uptext{Am7}\en
      \NOtesp\zqp{'C}\qlp{'C}|\zqp{g'c}\qlp{e}&\uptext{C}\en
      \bar%10
      \Notesp\ibu052\zqp{F}\qup{'F}|\ibu15{-2}\zqp{cg}\qup{'c}&\uptext{$F^{add9}$}\en
      \Notesp\zqp{G}\tbu0\qup{'G}|\zqp{cg}\tbu1\qup{'b}&\uptext{G}\en
      \NOtes\itied{0}{1}\zq{'A}\itieu{1}{8}\ql{'A}|\zq{cg}\qu{'c}&\uptext{Am7}\en
      \notes\ttie{0}\zqp{'A}\ttie{1}\qlp{'A}|\ibbu040\zq{5}\qu{2}\qb0{c}\zq{5}\qu{2}\tbu0\qb0{c}\en
      \notes|\ibbu04{-2}\itenu{0}{5}\zq{5}\itenu{1}{0}\qu{0}\tbu0\tten{0}\zq{5}\tten{1}\zq{0}\qu{c}\en
      \bar%11
      \Notesp\ibu052\zqp{F}\qup{'F}|\ibu15{-2}\zqp{cg}\qup{'c}&\uptext{$F^{add9}$}\en
      \Notesp\zqp{G}\tbu0\qup{'G}|\zqp{cg}\tbu1\qup{'b}&\uptext{G}\en
      \NOtes\zq{'A}\ql{'A}|\zq{cg}\qu{'c}&\uptext{Am7}\en
      \NOtesp\zqp{'C}\qlp{'C}|\zqp{g'c}\qlp{e}&\uptext{C}\en
      \xbar%12
      \Notesp\ibl041\qlp{4}|\ibu120\rqp{g}\roffset{1}{\pt{c}}\roffset{1}{\pt{f}}\zq{c}\qu{f}&\uptext{$Dm^{11}$}\en
      \Notesp\tbl0\qlp{5}|\zqp{ce}\tbu1\qup{g}&\uptext{C/E}\en
      \NOtes\itied{0}{F}\qu{F}|\itied{1}{c}\itieu{2}{g}\itieu{3}{5}\zq{cg}\qu{'c}&\uptext{$F^{add9}$}\en
      \NOtesp\ttie{0}\qup{F}|\ttie{1}\ttie{2}\ttie{3}\zq{cg}\qu{'c}\en
      \doublebar
      \Endpiece
   \endmuflex
   \end{music}
\end{document}
Attachments
Screenshot (38).png
Screenshot (38).png (82.86 KiB) Viewed 2310 times

Recommended reading 2024:

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

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

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Musixtex: note layout

Post by Johannes_B »

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply