Created
October 18, 2011 07:18
-
-
Save wildintellect/1294798 to your computer and use it in GitHub Desktop.
Example latex use of listings package with custom keywords added to a langauge definition.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\lstset{language=SQL, | |
numbers=left, | |
frame=single, | |
backgroundcolor=\color[RGB]{234,237,230}, | |
numberstyle=\tiny, | |
basicstyle={\footnotesize\ttfamily\bfseries}, | |
frameround=tttt, | |
breaklines=true, | |
keywordstyle=\color[RGB]{32,74,135}, | |
commentstyle=\color[RGB]{143,89,2}, | |
stringstyle=\color[RGB]{78,154,6}, | |
%identifierstyle=\color[RGB]{92,53,204}, | |
morekeywords={CreateMbrCache,mbr,FilterMbrWithin,MbrMinX,MbrMinY,MbrMaxX,MbrMaxY,Within,group_concat} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment