Search code examples
latex

How can I highlight text in latex


How can i highlit text in latex. Thank you.

As is pictured here(in red circle): enter image description here


Solution

  • This links look useful:

    If you just wanted graph.exe I would suggest using \begin{verbatim} graph.exe \end{verbatim} or \verb+graph.exe+ .

    However you want to use the <..> expression which can be created with $ \langle ... \rangle $ . The $..$ indicates inline math mode. Those two links discuss getting verbatim text in math environments.

    I think tex.stackexchange.com will be more helpful rather than stack overflow.