$ 之间的公式随着 $ 本身都变成了橘色。

The code in the background figure is very pretty. In terms of using listings to reproduce this beautiful style, nodus turns out to be how to color contents between two delimiters but not the delimiters themselves (remain basicstyle).

If we have the code following:

we will get:

The equation between $s was colored by orange, so did $s themselves.

Inspired by David Carlisle‘s answer to this question, TeX.SX, Jubobs defined a new listings style:

It has three arguments: the first one should be the left delimiter, the second one should be the right one, and the third one specifying the color. Let’s take a example:

It’s output: