\documentclass{article}

\usepackage{hyperref}% Optional: clickable links
\usepackage{authblk} % Optional: author and affiliation block

\usepackage{scalefnt} %Mandatory: used to scale font in the pitch class histo
\usepackage{tikz} %Mandatory: used to draw the pitch class histo

\begin{document}

\title{Tarsos \LaTeX-Export Examples}

\author{Joren Six}

\affil{University College Ghent, Faculty of Music\\
    Hoogpoort 64, 9000 Ghent - Belgium \\
    \url{joren.six@hogent.be} }

\maketitle

\begin{figure}[h]
\centering
\begin{tikzpicture}[x=0.008cm,y=0.006cm,scale=0.7]

  \def\xmin{0}
  \def\xmax{1200}
  \def\ymin{0}
  \def\ymax{650}
  \def\ticksize{12}
    
  % plot the data from the file data.dat
  % smooth the curve and mark the data point with a dot
  \draw[color=blue] plot[mark=*,mark size=0.5pt] file
  {MR.1954.1.19-4.dat};  

  % xticks
 \foreach \x in {165,423,675,885,1113}
     \draw[style=solid] (\x,\ymin+\ticksize) -- (\x,\ymin-\ticksize);
     
 % xticks labels
  \foreach \x in {165,423,675,885,1113}
    \node at (\x, \ymin) [below] {$\x$};
 
  % Scale as a reference (dashed light gray)
  \foreach \x in {165,423,675,885,1113}
    \draw[style=dashed,color=gray] (\x,\ymin) -- (\x,\ymax);
  
  % y ticks (every 100 annotations)
  \foreach \y in {100,200,...,600}
    \draw[style=solid] (\xmin+\ticksize,\y) -- (\xmin-\ticksize,\y);
    
  %yticks labels
  \foreach \y in {100,200,...,600}
    \node at (\xmin,\y) [left] {$\y$};
  
  % axes
  \draw[-|] (\xmin,\ymin) -- (\xmax,\ymin); 
  \draw[->] (\xmin,\ymin) -- (\xmin,\ymax+50);
  
  % axes labels
  \node at (625,-60) [below] {$Pitch\ (cent)$};
  \node at (-200,325) [below,rotate=90] {$Number\ of\ annotations$};
 

\end{tikzpicture}
\caption{Example of a \LaTeX-export of a pitch class histogram}
\end{figure}

\begin{table}[h]
\centering
\small
\begin{tabular}{c||  c  c  c  c  c  }	
P.C. & 165 & 423 & 675 & 885 & 1113 \\
\hline
\hline
165 & 0 & 258 & 510 & 720 & 948\\
423 & 942 & 0 & 252 & 462 & 690\\
675 & 690 & 948 & 0 & 210 & 438\\
885 & 480 & 738 & 990 & 0 & 228\\
1113 & 252 & 510 & 762 & 972 & 0     	
\end{tabular}
\caption{Example of a \LaTeX-export of a pitch class interval matrix. P.C.
stands for pitch class, the values are given in cents.}
\end{table}

\end{document}
