Text Formatting ⇒ \infty in typewriter font
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
\infty in typewriter font
Is it possible to get an infinity symbol in a typewriter font? (I am using the article document class.)
Thanks in advance!
-- Zapp Brannigan, Futurama (season 1, episode 4)
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
\infty in typewriter font
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
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}
-- Zapp Brannigan, Futurama (season 1, episode 4)