Hi everyone!
Is it possible to get an infinity symbol in a typewriter font? (I am using the article document class.)
Thanks in advance!
Text Formatting ⇒ \infty in typewriter font
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
\infty in typewriter font
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
\infty in typewriter font
Good evening. To show typewriter text we use
To use infinity:
Hope this helps.
Code: Select all
\texttt{Anything you want to say}
Code: Select all
\texttt{$\infty$}
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
\infty in typewriter font
Thanks for the reply.
When using
the resulting infinity symbol is not in typewriter font; it is in `normal' CM mathfont.
Below is a MWE of the equation where I would like the infinity symbol to be in a typewriter-like font as the rest of the equation. (I hope this makes sense.)
When using
Code: Select all
\texttt{$\infty$}
Below is a MWE of the equation where I would like the infinity symbol to be in a typewriter-like font as the rest of the equation. (I hope this makes sense.)
Code: Select all
\documentclass[12pt,danish]{article}
\usepackage{babel}
\usepackage{mathtools}
\begin{document}
\begin{align*}
&\texttt{solve(TIStat.normCdf(-$\infty$,a,10,3)}\\
&\hphantom{{}\texttt{solve}}
\texttt{=TIStat.normCdf(-$\infty$,a,9.64608125,1.608703175),a)}
\end{align*}
\end{document}
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)