Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to write treble symbol in Tex? http://en.wikipedia.org/wiki/Clef

share|improve this question
    
Perhaps you can start by looking at tex.stackexchange.com/q/855/19384 –  Peter Jansson Jan 1 '13 at 18:47
    
add comment

1 Answer

up vote 7 down vote accepted

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

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

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!

share|improve this answer
2  
It is not necessary to enclose \trebleclef with the {music} environment. –  cgnieder Jan 1 '13 at 19:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.