Is it possible to change color of part of the text that is in a verbatim environment?
Lets say I have this verbatim section. I want to change the color of the marked lines into blue.
\begin{verbatim}
BOT: (Begin of Transaction)
SQL-DML-1; // update Kunden (...)
--> (C1, C2, C3) /* MAKE THIS RED */
SET CONSTRAINTS C4 IMMEDIATE;
--> (C4) /* MAKE THIS RED */
SET CONSTRAINTS C3 DEFERRED;
SQL-DML-2; // update Produkte (...)
--> (C1, C2, C4) /* MAKE THIS RED */
SQL-DML-3; // update Bestellungen (...)
--> (C1, C7, C4) /* MAKE THIS RED */
EOT: (End of Transaction) (COMMIT) /* INSERT MATH SYMBOL HERE */
--> (C3, C5, C6) /* MAKE THIS RED */
RBT: Roll-Back-Transaction (alles rückgängig gemacht)
\end{verbatim}
Additionally, is it possible to make mathematical symbols in a verbatim environment? I know that this is contradictory per se, but maybe there's a kind of hack to to this.

listingspackage, it most definitely will provide what you need. – mafp Jan 10 at 23:34