Originally Posted by cubemike99
Much obliged. Now if could only get those monospace fonts for my programming books...
Depends on what you want to do. The PW comes with a mono-spaced font built in. No need to even install any fonts.
All you need to do is put the monospaced sections into <code> .. </code> blocks in your html inside the book. That can be inside epub, kf8, or plain html. Convert that epub/html into mobi or azw3, or tweak a azw3 in calibre. If you need more fancy things / different fonts, you need to use css stylesheets and call for a specific font by name that you already installed or embed into the book.
<h1 align=center>Testing <code></h1>
<p align=justify>Normal font: <code>monospaced</code>. Normal again.</p>
<p align=left><code> 0123456789 ABCDEFGHIJ this is all monospaced<br>new line.</code></p>
Drag that into into calibre, it will create a book of type zip. Convert that book from zip to mobi (I chose old mobi), and send it to your PW. It will come out like this (click on image to enlarge screenshot from PW):