| 1 |
\documentclass{article} |
| 2 |
\usepackage{fontspec} |
| 3 |
\thispagestyle{empty} |
| 4 |
|
| 5 |
\newfontfamily\brtxt{BravuraText.otf}[Path=/usr/share/fonts/] |
| 6 |
\newfontfamily\brv{Bravura.otf}[Path=/usr/share/fonts/] |
| 7 |
|
| 8 |
\newcommand{\clefGi} {{\brtxt \char"E050}} |
| 9 |
\newcommand{\clefCi} {{\brtxt \char"E05C}} |
| 10 |
\newcommand{\clefFi} {{\brtxt \char"E062}} |
| 11 |
|
| 12 |
\newcommand{\clefG} {{\brv \char"E050}} |
| 13 |
\newcommand{\clefC} {{\brv \char"E05C}} |
| 14 |
\newcommand{\clefF} {{\brv \char"E062}} |
| 15 |
\newcommand{\timeC} {{\brv \char"E08A}} |
| 16 |
\newcommand{\timeCHalf} {{\brv \char"E08B}} |
| 17 |
\renewcommand{\flat} {{\brv \char"E260}} |
| 18 |
\renewcommand{\natural} {{\brv \char"E261}} |
| 19 |
\renewcommand{\sharp} {{\brv \char"E262}} |
| 20 |
\newcommand{\wholeNote} {{\brv \char"E1D2}} |
| 21 |
\newcommand{\halfNote} {{\brv \char"E1D3}} |
| 22 |
\newcommand{\halfNoteDown}{{\brv \char"E1D4}} |
| 23 |
\newcommand{\quarterNote} {{\brv \char"E1D5}} |
| 24 |
|
| 25 |
\begin{document} |
| 26 |
|
| 27 |
The Bravura and BravuraText Music fonts provide thousands of music |
| 28 |
symbols. BravuraText glyphs are specifically \clefGi\ designed |
| 29 |
\clefFi\ to be used \clefCi\ inline: |
| 30 |
|
| 31 |
clefs:~ \clefG\ \clefC\ \clefF\ ~time signatures:~ |
| 32 |
\timeC\ \timeCHalf\ ~accidentals:~ \sharp\ \flat\ \natural\ |
| 33 |
~notes:~ \wholeNote\ \halfNote\ \halfNoteDown\ \quarterNote\ |
| 34 |
~and much, much more. |
| 35 |
|
| 36 |
\end{document} |