# LaTeX Font Change in Section Title

I want to have a section title to the effect of "Pseudocode for the Func1 Function," but I would like "Func1" to be in typewriter font to indicate that I'm referencing programming code. Is there any good way to do this? The verbatim and verb commands don't seem to work.

Thanks.

## Answers and Replies

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org
jhae2.718
Gold Member
Code:
\textt{}

It seems that
Code:
\texttt{}
is actually the correct command that doesn't give errors, but yes, that works. Thanks!

AlephZero
Homework Helper
You can do
Code:
Pseudocode for the {\tt Func1} Function
If ttyping the righttt number of t's is a problem

jhae2.718
Gold Member
It seems that
Code:
\texttt{}
is actually the correct command that doesn't give errors, but yes, that works. Thanks!
Oops...that's what auto-complete of TeX statements get you. Sorry about that.