Optimizing the output for e-book readers
A traditional book comprises a set of pages; LaTeX, too, follows this tradition. However, today, e-book reading devices, such as Kindle and iPad, and even smartphones have gained popularity for reading documents.
In this recipe, we will see how to make a document e-book-friendly.
How to do it...
We will set up a preamble for a document that could nicely be read on an electronic device such as a tablet reader. Perform the following steps:
- Choose a suitable document class. Choose small headings and a small inter-paragraph skip instead of paragraph indentation. The latter costs too much space on an already narrow display. Use this:
\documentclass[fontsize=11pt,headings=small, parskip=half]{scrreprt}
- Set a small paper size matching a common screen ratio, and choose a small margin:
\usepackage[papersize={3.6in,4.8in}, margin=0.2in]{geometry}
- Choose a well-designed font that is also easily readable on...