From 4d3bd7572342fb8cdeec266c2e7629880137d888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20P=C3=A5lsson?= Date: Wed, 4 May 2011 12:38:34 +0200 Subject: [PATCH] Added manual syntax color for Erlang --- report.lyx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/report.lyx b/report.lyx index 20397d7..8eaed7d 100644 --- a/report.lyx +++ b/report.lyx @@ -82,6 +82,22 @@ morestring=[b]" } +\lstdefinelanguage{Erlang}{ + keywords={typeof, true, false, catch, return, null, catch, switch, var, if, in, while, do, else, case, break, expose}, + keywordstyle=\color{blue}\bfseries, + ndkeywords={class, export, boolean, throw, implements, import, this,erlv8_vm, erlv8_fun_invocation +,erlv8_object}, + ndkeywordstyle=\color{darkgray}\bfseries, + identifierstyle=\color{black}, + sensitive=false, + comment=[l]{\%}, + morecomment=[s]{/*}{*/}, + commentstyle=\color{purple}\ttfamily, + stringstyle=\color{red}\ttfamily, + morestring=[b]', + morestring=[b]" +} + \usepackage{float} \floatstyle{ruled}