关于乳胶染色的问题

关于乳胶染色的问题

来自以下代码的问候

\documentclass{article}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{float}
\usepackage[a4paper,margin=1in,footskip=0.25in]{geometry}
\colorlet{mygray}{black!30}
\colorlet{mygreen}{green!60!blue}
\colorlet{mymauve}{red!60!blue}
\parindent 0px
\lstset{
  backgroundcolor=\color{gray!10},  
  basicstyle=\ttfamily,
  columns=fullflexible,
  breakatwhitespace=false,      
  breaklines=true,                
  captionpos=b,                    
  commentstyle=\color{mygreen}, 
  extendedchars=true,              
  frame=single,                   
  keepspaces=true,             
  keywordstyle=\color{blue},      
  language=c++,                 
  numbers=none,                
  numbersep=5pt,                   
  numberstyle=\tiny\color{blue}, 
  rulecolor=\color{mygray},        
  showspaces=false,               
  showstringspaces=false,
  showtabs=false,                 
  stepnumber=5,                  
  stringstyle=\color{mymauve}, 
% morecomment=[l][\color{red}]{\#},   
  tabsize=3,                      
  title=\lstname                
}

\begin{document}

\begin{lstlisting}
#include<bits/stdc++.h>
using namespace std;
#define ll long long
    for(int i=0; i<n; i++){
        doSomething();  
    }
\end{lstlisting}


\end{document}

在此处输入图片描述

如何使#include、using namespace 和#define 变为紫色

<bits/stdc++.h> 为绿色

并对蓝色做些什么?

相关内容