this is my first question here. I'm not exaclty new to LaTeX, but to be honest I've never really gotten too much into it.
So here's my problem:
I have this minimal example:
\documentclass{scrreprt}
% Quellcode
\usepackage{listings} % für Formatierung in Quelltexten
\lstset{
escapeinside={(*@}{@*)}, % if you want to add LaTeX within your code
}
\begin{document}
\chapter{some chapter}
\section{some section}
some text \lstinline|some code (*@ \textbf{TRYING TO ESCAPE HERE} @*) some more code|
\end{document}
What I get in my pdf-file is this:
I guess you can see I'm trying to escape the \lstinline
command to insert a basic LaTeX one but it's not working for me. I'm referring to the escapeinside
-option from the listings-manual section 4.14.
I hope I've stuck to all the standards with my post. Please let me know if any further information about package versions and what not is required. Any help will be very much appreciated!