How to write treble symbol in Tex? http://en.wikipedia.org/wiki/Clef
-
Perhaps you can start by looking at tex.stackexchange.com/q/855/19384 – Peter Jansson Jan 1 '13 at 18:47
-
Related: How do I put a musical clef in a memoir-class document? and How can I put musical clefs in the middle of text? – clemens Jan 1 '13 at 19:55
You may find the musixtex
package useful. In the documentation you find more complex examples on how to use this package. Here just two small examples.
First
\documentclass{article}
\usepackage{musixtex}
\begin{document}
\begin{music}
\trebleclef
\end{music}
\end{document}
First result
Second
\documentclass{article}
\usepackage{musixtex}
\begin{document}
\begin{music}
\startextract
\Notes\ibbbu0h0\qb0e\tbbbu0\qb0e\tbbu0\qb0e\tbu0\qb0e\enotes
\zendextract
\end{music}
\end{document}
Second result
EDIT: Note that \begin{music} \end{music}
is not necessary, I just recommend it, for it gives your code more structure and therefore makes it more readable.
Have Fun!
-
2It is not necessary to enclose
\trebleclef
with the{music}
environment. – clemens Jan 1 '13 at 19:02