title_body: How to handle formatted text examples in book content?
upvoted_answer: The Kindle formatting Guide (downloadable PDF) is a good source of information. Google it. 
  
  Using Images to display text is a NO! NO! (Explaining why would take several paragraphs). 
  
  It sounds as though you don't have a lot of experience with using CSS with HTML. That might be a problem. This isn't something you could do easily with a MS Word to epub conversion. 
  
  I would recommend Paul Salvette's ebook The eBook Design and Development Guide about doing these kinds of things. A little out of date, but still good information.  (Liz Castro's book is also great, but it was written early on and she had to create lots of kludgy workarounds to make things work. You no longer need those things). 
  
  Here's his tutorial about formatting/indenting/paragraphing
  http://www.paulsalvette.com/2012/04/indents-margins-and-alignment-for.html
  
  You probably want to look at some boilerplate css for ebooks. 
  
  Here's Salvette's http://bbebooksthailand.com/bb-CSS-boilerplate.html