I want to use two different monospaced fonts in one and the same document.
However, when I write \texttt{The quick brown fox jumps over the lazy dog}
using \usepackage{courier}
, I can get figure 2 but cannot get figure 1.
In contrast, when I write \texttt{The quick brown fox jumps over the lazy dog}
using \usepackage{newtxtext}
, I can get figure 1 but cannot get figure 2.
So, how to generate the two figures in the same article?
Figure 1:
Figure 2: