Search found 1 match

by forthosewhohaveheart
Wed Aug 17, 2011 11:29 pm
Forum: Text Formatting
Topic: lstinline from listings package with escapechar
Replies: 0
Views: 4807

lstinline from listings package with escapechar

Hi, why can't is use the escapechar argument in \listinline from the listings package. I tried

\lstinline[escapechar=\#]{#\textbackslash#}

but it doesn't work. The next one

\begin{lstlisting}[escapechar=\#]
#\textbackslash#
\end{lstlisting}

works indeed. I didn't read anything about this in ...