GeneralMusitex inspiration and tips

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
customizedGPT
Posts: 1
Joined: Sat Jan 13, 2024 4:46 am

Musitex inspiration and tips

Post by customizedGPT »

Please share your Musixtex sheet music creations here :)

Code: Select all

\documentclass[a4paper]{article}
\usepackage{musixtex}
\begin{document}

\begin{music}
    % Set the scale
    \setstaffs1{1} % Number of staves
    \setclef{1}{60} % Set the clef (1 = G clef)

    % Start a piece of music
    \startpiece
    \Notes \qu c \en % A quarter note 'C'
    \Notes \qu d \en % A quarter note 'D'
    \Notes \qu e \en % A quarter note 'E'
    \Notes \qu f \en % A quarter note 'F'
    \bar % A bar line
    % More notes can be added here
    \Endpiece
\end{music}

\end{document}

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply