Testing LaTeX for writing about music.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.1 KiB

3 years ago
  1. \documentclass[10pt,letterpaper]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[english]{babel}
  4. \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
  5. \usepackage{wasysym}
  6. % \usepackage{harmony}
  7. % \usepackage{abc}
  8. % Do we want to include URLs?
  9. \usepackage{hyperref}
  10. \author{Kenneth John Odle}
  11. \title{Music Experiment}
  12. \begin{document}
  13. \maketitle
  14. The first three sections are from \href{https://martin-thoma.com/how-to-write-music-with-latex/}{\texttt{https://martin-thoma.com/how-to-write-music-with-latex/}}. He has some notes, and also talks about LilyPond.
  15. I need to do much more extensive research. \href{http://tug.ctan.org/info/latex4musicians/latex4musicians.pdf}{\texttt{http://tug.ctan.org/info/latex4musicians/latex4musicians.pdf}} is a good placed to start.
  16. Also, see the following links:
  17. \begin{enumerate}
  18. \item \href{https://tex.stackexchange.com/questions/855/can-i-create-music-sheets-with-latex}{\texttt{https://tex.stackexchange.com/questions/855/can-i-create-music-sheets-with-latex}}
  19. \item \href{http://lilypond.org/}{LilyPond}
  20. \item \href{https://texfaq.org/FAQ-music}{\texttt{https://texfaq.org/FAQ-music}}
  21. \end{enumerate}
  22. \bigskip
  23. \section{Package wasysym}
  24. \begin{verbatim}
  25. \eighthnote ~~~ \halfnote ~~~ \twonotes ~~~ \fullnote ~~~
  26. \quarternote ~~~ $\natural$ ~~~ $\flat$ ~~~ $\sharp$
  27. \end{verbatim}
  28. \eighthnote ~~~ \halfnote ~~~ \twonotes ~~~ \fullnote ~~~
  29. \quarternote ~~~ $\natural$ ~~~ $\flat$ ~~~ $\sharp$
  30. \section{Package harmony}
  31. \begin{verbatim}
  32. \noindent \AAcht ~~~ \Acht ~~~ \AchtBL ~~~ \AchtBR ~~~ \AcPa \\
  33. \DD ~~~ \DDohne ~~~ \Dohne ~~~ \Ds ~~~ \DS \\
  34. \Ganz ~~~ \GaPa ~~~ \Halb ~~~ \HaPa ~~~ \Pu ~~~ \Sech \\
  35. \SechBL ~~~ \SechBl ~~~ \SechBR ~~~ \SePa ~~~ \UB ~~~ \Vier \\
  36. \ViPa ~~~ \VM ~~~ \Zwdr ~~~ \ZwPa
  37. \end{verbatim}
  38. Not installed on this system. Need to research.
  39. \section{Package ABC}
  40. \begin{verbatim}
  41. \begin{abc}[name=c-dur]
  42. X: 1 % start of header
  43. K: C % scale: C major
  44. "Text"c2 G4 | (3FED c4 G2 |
  45. \end{abc}
  46. \end{verbatim}
  47. Not installed on this system. Need to research.
  48. \end{document}