# A verbatim-like environment, but inline

I would like to find a solution to use a verbatim-like environment, but inline. Indeed, I would like to ask not to compile Latex functions but just for a specific place in a text.

I tried this :

    Equation vectorielle en utilisant la commande
\begin{verbatim} \boldsymbol \end{verbatim}:


But the problem is that there is a line jump.

• What exactly do you want in the output? Mar 31 at 14:50
• (are you looking for \texttt or \verb? Mar 31 at 14:56
• Equation vectorielle en utilisant la commande \verb|\boldsymbol|? Mar 31 at 14:57

You can use \verb --- for example

Equation vectorielle en utilisant la commande  \verb|\boldsymbol|


You can use almost any symbol after \verb to delimit you "verbatim" text (but not *!); choose one that does not appear in the internal material:

\documentclass[12pt,]{article}
\usepackage[T1]{fontenc}
\begin{document}
a verb with bars: \verb|\foo| or with plus: \verb+a vertical bar|+
\end{document}