I am looking for a simple way to define a newcommand that formats my source code the following way.
like this (ceated with ms-word):
- light yellow background
- verbatim text
- possibility to write some words in bold or italic
- black border around the box, which is right and left double as thick that looks like a light shadow.
I have found
Code: Select all
\lstset{%
backgroundcolor=\color{codeBackground},%
frame=single,%
mathescape=true,%
}
This produces the following output:
which does nearly what I need, but I want to have no white lines between the text lines and I dont want to have any other formatting than bold an italic.
Any Idea?
Thanks in advance.
φ