Typeset SciDB AQL and AFL in LaTeX
TeX
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
demo.tex
listings-aql.sty

README.md

This package provides a language definition for the LaTeX listings package, and adds support for SciDB's Array Query Language and Array Functional Language.

Author: Parker Abercrombie

Usage

Import the style in the document preamble, and select language aql:

\usepackage{listings-aql}

\lstset{
    language=aql,
    basicstyle=\small,
    breaklines=true
}

Use the listing package as normal with SciDB AFL and AQL queries:

\begin{lstlisting}
select avg(evi) from mod13q1
where day_of_year <= 31
group by pixel
\end{lstlisting}

See demo.tex for a full working demonstration.