GeneralMusixtex : without music lines

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
OlivierB
Posts: 2
Joined: Sun Mar 20, 2016 8:41 pm

Musixtex : without music lines

Post by OlivierB »

Hello.
I am a music teacher and I want (for young pupils, easy rhythms) to write notes without music lines. For example, two eighth notes beamed together, triplets, ... (with the same height)
With \startextract and \startpiece, it automatically begins music lines...
I totally begin with musixtex, and I am sorry if my question is too simple..
Many thanks. OB

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Musixtex : without music lines

Post by kaiserkarl13 »

You can eliminate the clef sign and bar numbers and set the number of lines to zero, which probably is what you're thinking of. Try this:

Code: Select all

\documentclass{article}
\usepackage{musixtex}

\begin{document}
  \begin{music}
    \setlines{1}{0}%
    \setclefsymbol{1}{\empty}%
    \nobarnumbers
    \startextract
    \Notes\ql{kkkk}\enotes\bar
    \Notes\qlp{k}\cl{k}\qlp{k}\cl{k}\enotes
    \endextract
  \end{music}
\end{document}
OlivierB
Posts: 2
Joined: Sun Mar 20, 2016 8:41 pm

Musixtex : without music lines

Post by OlivierB »

Many thanks for your answer.
With your help, it will be

Code: Select all

\begin{music}
 \largemusicsize
   \setlines{1}{0}
    \setclefsymbol{1}{\empty}%
    \nobarnumbers
    \nostartrule
    \startextract
    {\Huge{\ding{192}}}$\;\;\;\;\;\;$
    \Notes
    \qa{a}\ibu0a0\qb0{a}\tbu0\qb0a\qa{a}\ibbu0a0\qb0{aaa}\tbu0\qb0a
    \qa{a}
    \enotes
    \zendextract
 \end{music}
Thanks. OB
Post Reply