How to write treble symbol in Tex? http://en.wikipedia.org/wiki/Clef
Asked
Active
Viewed 3,487 times
14
-
Perhaps you can start by looking at http://tex.stackexchange.com/q/855/19384 – Peter Jansson Jan 01 '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? – cgnieder Jan 01 '13 at 19:55
1 Answers
9
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!
rtzll
- 5,531
-
2It is not necessary to enclose
\trebleclefwith the{music}environment. – cgnieder Jan 01 '13 at 19:02