Title says it all, an example follows:
\lstset{
mathescape=true,
basicstyle = \sffamily
}
\begin{lstlisting}
func($x_0$)
\end{lstlisting}
Where and how can I set the math font used here to be sans-serif italic?
|
Title says it all, an example follows:
Where and how can I set the math font used here to be sans-serif italic? |
||||
|
|
This uses the CMBright fonts, which are mostly compatible with CM Sans. |
|||||||||||
|
|
|||||
|