christopher@31: % ----------------------------------------------- christopher@31: % Template for SMC 2012 christopher@31: % adapted from the template for SMC 2011, which was adapted from that of SMC 2010 christopher@31: % ----------------------------------------------- christopher@31: christopher@31: \documentclass{article} christopher@31: \usepackage{smc2015} christopher@31: \usepackage{times} christopher@31: \usepackage{ifpdf} christopher@31: \usepackage[english]{babel} christopher@31: \usepackage{cite} christopher@31: \usepackage{minted} christopher@31: christopher@31: %%%%%%%%%%%%%%%%%%%%%%%% Some useful packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% christopher@31: %%%%%%%%%%%%%%%%%%%%%%%% See related documentation %%%%%%%%%%%%%%%%%%%%%%%%%% christopher@31: %\usepackage{amsmath} % popular packages from Am. Math. Soc. Please use the christopher@31: %\usepackage{amssymb} % related math environments (split, subequation, cases, christopher@31: %\usepackage{amsfonts}% multline, etc.) christopher@31: %\usepackage{bm} % Bold Math package, defines the command \bf{} christopher@31: %\usepackage{paralist}% extended list environments christopher@31: %%subfig.sty is the modern replacement for subfigure.sty. However, subfig.sty christopher@31: %%requires and automatically loads caption.sty which overrides class handling christopher@31: %%of captions. To prevent this problem, preload caption.sty with caption=false christopher@31: %\usepackage[caption=false]{caption} christopher@31: %\usepackage[font=footnotesize]{subfig} christopher@31: christopher@31: christopher@31: %user defined variables christopher@31: \def\papertitle{SYNPY: A PYTHON TOOLKIT FOR SYNCOPATION MODELLING} christopher@31: \def\firstauthor{Chunyang Song} christopher@31: \def\secondauthor{Marcus Pearce} christopher@31: \def\thirdauthor{Christopher Harte} christopher@31: christopher@31: % adds the automatic christopher@31: % Saves a lot of ouptut space in PDF... after conversion with the distiller christopher@31: % Delete if you cannot get PS fonts working on your system. christopher@31: christopher@31: % pdf-tex settings: detect automatically if run by latex or pdflatex christopher@31: \newif\ifpdf christopher@31: \ifx\pdfoutput\relax christopher@31: \else christopher@31: \ifcase\pdfoutput christopher@31: \pdffalse christopher@31: \else christopher@31: \pdftrue christopher@31: \fi christopher@31: christopher@31: \ifpdf % compiling with pdflatex christopher@31: \usepackage[pdftex, christopher@31: pdftitle={\papertitle}, christopher@31: pdfauthor={\firstauthor, \secondauthor, \thirdauthor}, christopher@31: bookmarksnumbered, % use section numbers with bookmarks christopher@31: pdfstartview=XYZ % start with zoom=100% instead of full screen; christopher@31: % especially useful if working with a big screen :-) christopher@31: ]{hyperref} christopher@31: %\pdfcompresslevel=9 christopher@31: christopher@31: \usepackage[pdftex]{graphicx} christopher@31: % declare the path(s) where your graphic files are and their extensions so christopher@31: %you won't have to specify these with every instance of \includegraphics christopher@31: \graphicspath{{./figures/}} christopher@31: \DeclareGraphicsExtensions{.pdf,.jpeg,.png} christopher@31: christopher@31: \usepackage[figure,table]{hypcap} christopher@31: christopher@31: \else % compiling with latex christopher@31: \usepackage[dvips, christopher@31: bookmarksnumbered, % use section numbers with bookmarks christopher@31: pdfstartview=XYZ % start with zoom=100% instead of full screen christopher@31: ]{hyperref} % hyperrefs are active in the pdf file after conversion christopher@31: christopher@31: \usepackage[dvips]{epsfig,graphicx} christopher@31: % declare the path(s) where your graphic files are and their extensions so christopher@31: %you won't have to specify these with every instance of \includegraphics christopher@31: \graphicspath{{./figures/}} christopher@31: \DeclareGraphicsExtensions{.eps} christopher@31: christopher@31: \usepackage[figure,table]{hypcap} christopher@31: \fi christopher@31: christopher@31: %setup the hyperref package - make the links black without a surrounding frame christopher@31: \hypersetup{ christopher@31: colorlinks,% christopher@31: citecolor=black,% christopher@31: filecolor=black,% christopher@31: linkcolor=black,% christopher@31: urlcolor=black christopher@31: } christopher@31: christopher@31: christopher@31: % Title. christopher@31: % ------ christopher@31: \title{\papertitle} christopher@31: christopher@31: % Authors christopher@31: % Please note that submissions are NOT anonymous, therefore christopher@31: % authors' names have to be VISIBLE in your manuscript. christopher@31: % christopher@31: % Single address christopher@31: % To use with only one author or several with the same address christopher@31: % --------------- christopher@31: %\oneauthor christopher@31: % {\firstauthor} {Affiliation1 \\ % christopher@31: % {\tt \href{mailto:author1@smcnetwork.org}{author1@smcnetwork.org}}} christopher@31: christopher@31: % Two addresses christopher@31: % -------------- christopher@31: \threeauthors christopher@31: {\firstauthor} {Queen Mary, University of London \\ % christopher@31: {\tt \href{mailto:dr.chunyang.song@gmail.com}{dr.chunyang.song@gmail.com}}} christopher@31: {\secondauthor} {Queen Mary, University of London \\ % christopher@31: {\tt \href{mailto:marcus.pearce@qmul.ac.uk}{marcus.pearce@qmul.ac.uk}}} christopher@31: {\thirdauthor} {University of York \\ % christopher@31: {\tt \href{mailto:christopher.harte@york.ac.uk}{christopher.harte@york.ac.uk}}} christopher@31: christopher@31: % Three addresses christopher@31: % -------------- christopher@31: % \threeauthors christopher@31: % {\firstauthor} {Affiliation1 \\ % christopher@31: % {\tt \href{mailto:author1@smcnetwork.org}{author1@smcnetwork.org}}} christopher@31: % {\secondauthor} {Affiliation2 \\ % christopher@31: % {\tt \href{mailto:author2@smcnetwork.org}{author2@smcnetwork.org}}} christopher@31: % {\thirdauthor} { Affiliation3 \\ % christopher@31: % {\tt \href{mailto:author3@smcnetwork.org}{author3@smcnetwork.org}}} christopher@31: christopher@31: christopher@31: % ***************************************** the document starts here *************** christopher@31: \begin{document} christopher@31: % christopher@31: \capstartfalse christopher@31: \maketitle christopher@31: \capstarttrue christopher@31: % christopher@31: \begin{abstract} christopher@31: christopher@31: talk about a syncopation toolkit christopher@31: christopher@31: \end{abstract} christopher@31: % christopher@31: christopher@31: \section{Introduction}\label{sec:introduction} christopher@31: christopher@31: % \url{http://www.maynoothuniversity.ie/smc15}. christopher@31: christopher@31: bars christopher@31: christopher@31: christopher@31: \section{MIDI Input}\label{sec:midi} christopher@31: christopher@31: \cite{Taylor89MusicTheory} christopher@31: christopher@31: \section{Text Input}\label{sec:textinput} christopher@31: christopher@31: \begin{table*} christopher@31: \small{ christopher@31: \begin{minted}[frame=single,framesep=10pt]{console} christopher@31: ::= [] | christopher@31: christopher@31: ::= "\n" | "\n" christopher@31: christopher@31: ::= [] [] "\n" christopher@31: christopher@31: ::= "#" christopher@31: christopher@31: ::= | [] | christopher@31: christopher@31: ::= [] [] [] christopher@31: christopher@31: ::= "QPM{" "}" christopher@31: christopher@31: ::= "TPQ{" "}" christopher@31: christopher@31: ::= "T{" "/" "}" christopher@31: christopher@31: ::= "V{" "}" | "Y{" "}" christopher@31: christopher@31: ::= | "," christopher@31: christopher@31: ::= "(" "," "," ")" christopher@31: christopher@31: ::= | "," christopher@31: christopher@31: ::= "0" | "1" | "0." christopher@31: christopher@31: ::= | christopher@31: christopher@31: ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" christopher@31: \end{minted} christopher@31: } christopher@31: \caption{Syntax of rhythm text format Backus-Naur Form} christopher@31: \label{ta:BNF} christopher@31: \end{table*} christopher@31: christopher@31: % \section{Page size and format}\label{sec:page_size} christopher@31: christopher@31: % \begin{equation} christopher@31: % E=mc^{2+\delta}. christopher@31: % \label{eq:Emc2} christopher@31: % \end{equation} christopher@31: % Refer to equations like so: christopher@31: % As (\ref{eq:Emc2}) shows, christopher@31: % I do not completely trust Special Relativity. christopher@31: christopher@31: % \subsection{Figures, Tables and Captions} christopher@31: % \begin{table}[t] christopher@31: % \begin{center} christopher@31: % \begin{tabular}{|l|l|} christopher@31: % \hline christopher@31: % String value & Numeric value \\ christopher@31: % \hline christopher@31: % Hej SMC & 2015 \\ christopher@31: % \hline christopher@31: % \end{tabular} christopher@31: % \end{center} christopher@31: % \caption{Table captions should be placed below the table, exactly like this, christopher@31: % but using words different from these.} christopher@31: % \label{tab:example} christopher@31: % \end{table} christopher@31: christopher@31: christopher@31: christopher@31: % Always refer to tables and figures in the main text, for example: christopher@31: % see Fig. \ref{fig:example} and \tabref{tab:example}. christopher@31: % Figures and tables may extend across both columns to a maximum width of 17.2cm. christopher@31: christopher@31: christopher@31: christopher@31: % \begin{figure}[t] christopher@31: % \centering christopher@31: % \includegraphics[width=0.6\columnwidth]{figure} christopher@31: % \caption{Figure captions should be placed below the figure, christopher@31: % exactly like this. christopher@31: % When you come to SMC2015, you will christopher@31: % understand why there is a large hand christopher@31: % planted atop Copenhagen.\label{fig:example}} christopher@31: % \end{figure} christopher@31: christopher@31: christopher@31: christopher@31: christopher@31: christopher@31: christopher@31: christopher@31: \section{Conclusions} christopher@31: christopher@31: some conclusions christopher@31: christopher@31: % christopher@31: \begin{acknowledgments} christopher@31: You may acknowledge people, projects, christopher@31: funding agencies, etc. christopher@31: which can be included after the second-level heading christopher@31: ``Acknowledgments'' (with no numbering). christopher@31: \end{acknowledgments} christopher@31: christopher@31: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% christopher@31: %bibliography here christopher@31: \bibliography{csong.bib} christopher@31: christopher@31: \end{document}