如何将 wlanage 代码源放入报告中
我使用这个代码:
\documentclass[12pt,a4paper]{report}
% Pour la gestion du français et des accents %
\usepackage[english,french]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tcolorbox,listings}
\usepackage{fullpage}
\usepackage{color}
\definecolor{darkWhite}{rgb}{0.94,0.94,0.94}
\lstset{
backgroundcolor=\color{darkWhite},
breakatwhitespace=false,
breaklines=true,
captionpos=b,
commentstyle=\color{red},
deletekeywords={...},
escapeinside={\%*}{*)},
extendedchars=true,
keepspaces=true,
keywordstyle=\color{blue},
language=wlangage,
morekeywords={*,...},
showspaces=false,
showstringspaces=false,
showtabs=false,
stepnumber=1,
stringstyle=\color{gray},
tabsize=4,
title=\lstname,
}
\lstdefinestyle{frameStyle}{
basicstyle=\footnotesize,
numbers=left,
numbersep=20pt,
numberstyle=\tiny\color{black}
}
\tcbuselibrary{listings,skins,breakable}
\newtcblisting{customFrame}{
arc=0mm,
top=0mm,
bottom=0mm,
left=3mm,
right=0mm,
width=\textwidth,
listing only,
listing options={style=frameStyle},
breakable
}
\begin{document}
\begin{customFrame}
HExécuteRequête(REQ_CategorieAnneeDist)
HSupprimeTout(CategorieRevue)
POUR TOUT REQ_CategorieAnneeDist
HRAZ(CategorieRevue)
CategorieRevue.AnneeCategorie = REQ_CategorieAnneeDist.AnneeCategorie
CategorieRevue.DesignationCategorie = REQ_CategorieAnneeDist.Categorie
HAjoute(CategorieRevue)
FIN
\end{customFrame}
\end{document}
但是 latex 不理解 wlanguage 语言,我也不明白如何像这样改变颜色:
我怎样才能这样做?