I want to write just one Matlab-command in LaTeX. I want this command to be in the same line of my document as other text is:
some text... size(t) ...some text.
I tried \begin{verbatim} size(t) \end{verbatim}. But this puts the size(t) in an extra line. How can I achieve this?
\verb+text+? Or similar, + could be other symbol, just need to be the same at both ends – daleif Feb 20 '17 at 16:08\lstinlinewith thelistingspackage – egreg Feb 20 '17 at 16:23