Skip to content

Instantly share code, notes, and snippets.

@adamml
Created August 19, 2016 14:48
Show Gist options
  • Save adamml/83633ce2adf1adfc0fa63fcb93465aa4 to your computer and use it in GitHub Desktop.
Save adamml/83633ce2adf1adfc0fa63fcb93465aa4 to your computer and use it in GitHub Desktop.
LaTeX list style for Grok syntax highlighting
\lstdefinelanguage{Grok}{
keywords={NUMBER, SPACE, TIME, MONTHNUM,MONTHDAY,TIMESTAMP_ISO8601,INT,MI_INST,MI_PREFIX,IDRONAUT_OCEAN7_304,WETLABS_ECO_FLNTU_3137},
keywordstyle=\color{blue}\bfseries,
ndkeywords={float, time, integer, timestamp},
ndkeywordstyle=\color{green}\bfseries,
comment=[l]{\#},
commentstyle=\color{purple}\ttfamily,
identifierstyle=\color{red}\ttfamily,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment