LaTeX forum ⇒ GeneralMusixtex: note layout

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

Musixtex: note layout

Postby mekartoffel » Wed Apr 05, 2017 8:31 pm

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] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{report}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[T1]{fontenc}
  4. \usepackage{lmodern}
  5. \usepackage[ngerman]{babel}
  6. \usepackage{musixtex}
  7. \usepackage{geometry}
  8. \geometry{a4paper, top=30mm, left=26mm, right=14mm, bottom=30mm}
  9. \input{musixdbr}
  10. \renewcommand*\rmdefault{pbk}
  11.  
  12. \begin{document}
  13. \begin{center}
  14. \begin{Huge}
  15. Musik sein\\
  16. \end{Huge}
  17. \raggedleft\footnotesize{Wincent Weiss\\}
  18. \end{center}
  19. \begin{music}
  20. \input{musixlyr}
  21. \hsize=170mm
  22. \parindent0mm
  23. \instrumentnumber{2}
  24. \setstaffs1{2} % with two staffs
  25. \setsongraise{1}{2}
  26. \setclef1{\bass}
  27. \generalmeter{\meterfrac{4}{4}} % 4/4 meter chosen
  28. \renewcommand*\writebarno{\the\barno}
  29. \systemnumbers
  30. \def\fontbarno{\small}
  31. \startmuflex
  32. \startpiece % starting real score
  33. %1 Verse
  34. \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
  35. \bar%2
  36. \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
  37. \bar%3
  38. \NOTEs\itied{0}{3}\wh{'C}|\itied{1}{c}\itied{2}{e}\itieu{3}{g}\zw{ceg}&\zsong{\footnotesize{ffee}}\uptext{C}\en
  39. \bar%4
  40. \NOTEs\ttie{0}\wh{'C}|\ttie{1}\ttie{2}\ttie{3}\zw{ceg}\en
  41. \bar%5
  42. \NOTEs\wh{'A}|\zw{ce'a}&\zsong{\footnotesize{magst}}\uptext{Am7}\en
  43. \bar%6
  44. \NOTEs\wh{F}|\zw{cf'a}&\zsong{\footnotesize{unsicheres}}\uptext{F}\en
  45. \bar%7
  46. \NOTEs\itied{0}{3}\wh{'C}|\itied{1}{c}\itied{2}{e}\itieu{3}{g}\zw{ceg}&\zsong{\footnotesize{Tür}}\uptext{C}\en
  47. %\bar%8
  48. \NOTEs\ttie{0}\wh{'C}|\ttie{1}\ttie{2}\ttie{3}\zw{ceg}\en
  49. \doublebar%9 Pre-Chorus
  50. \Notesp\ibu052\zqp{F}\qup{'F}|\ibu15{-2}\zqp{cg}\qup{'c}&\uptext{$F^{add9}$}\en
  51. \Notesp\zqp{G}\tbu0\qup{'G}|\zqp{cg}\tbu1\qup{'b}&\uptext{G}\en
  52. \NOtes\zq{'A}\ql{'A}|\zq{cg}\qu{'c}&\uptext{Am7}\en
  53. \NOtesp\zqp{'C}\qlp{'C}|\zqp{g'c}\qlp{e}&\uptext{C}\en
  54. \bar%10
  55. \Notesp\ibu052\zqp{F}\qup{'F}|\ibu15{-2}\zqp{cg}\qup{'c}&\uptext{$F^{add9}$}\en
  56. \Notesp\zqp{G}\tbu0\qup{'G}|\zqp{cg}\tbu1\qup{'b}&\uptext{G}\en
  57. \NOtes\itied{0}{1}\zq{'A}\itieu{1}{8}\ql{'A}|\zq{cg}\qu{'c}&\uptext{Am7}\en
  58. \notes\ttie{0}\zqp{'A}\ttie{1}\qlp{'A}|\ibbu040\zq{5}\qu{2}\qb0{c}\zq{5}\qu{2}\tbu0\qb0{c}\en
  59. \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
  60. \bar%11
  61. \Notesp\ibu052\zqp{F}\qup{'F}|\ibu15{-2}\zqp{cg}\qup{'c}&\uptext{$F^{add9}$}\en
  62. \Notesp\zqp{G}\tbu0\qup{'G}|\zqp{cg}\tbu1\qup{'b}&\uptext{G}\en
  63. \NOtes\zq{'A}\ql{'A}|\zq{cg}\qu{'c}&\uptext{Am7}\en
  64. \NOtesp\zqp{'C}\qlp{'C}|\zqp{g'c}\qlp{e}&\uptext{C}\en
  65. \xbar%12
  66. \Notesp\ibl041\qlp{4}|\ibu120\rqp{g}\roffset{1}{\pt{c}}\roffset{1}{\pt{f}}\zq{c}\qu{f}&\uptext{$Dm^{11}$}\en
  67. \Notesp\tbl0\qlp{5}|\zqp{ce}\tbu1\qup{g}&\uptext{C/E}\en
  68. \NOtes\itied{0}{F}\qu{F}|\itied{1}{c}\itieu{2}{g}\itieu{3}{5}\zq{cg}\qu{'c}&\uptext{$F^{add9}$}\en
  69. \NOtesp\ttie{0}\qup{F}|\ttie{1}\ttie{2}\ttie{3}\zq{cg}\qu{'c}\en
  70. \doublebar
  71. \Endpiece
  72. \endmuflex
  73. \end{music}
  74. \end{document}
Attachments
Screenshot (38).png
Screenshot (38).png (82.86 KiB) Viewed 974 times

Tags:

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

Postby Johannes_B » Thu Apr 06, 2017 8:04 am

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


Return to “General”

Who is online

Users browsing this forum: No registered users and 4 guests