We make up a PDF for Kindle
Kind time of days, Habr!
Recently, I purchased a Kindle 4 and found that to read it the pdf is not very convenient due to the fact that the font is too small. As they say if you can not but really want, you can!
For experiments I created a test pdf page with the help of which, picking up the various parameters.
That would maximize the full screen of the book, I changed the page sizes and line spacing:
the
the
A simple increase of font does not help:
the
Improvement on the face.
This version suits me perfectly. The text reads well. You can see everything.
the
Not all eyes are the same — you can still slightly increase the font.
the
The latest image shows that if you want to place the source code in the block verbatim, it should be noted that the code will be truncated at the 40th character with a condition that has been used title
the
If you have a document that is typed in tex, you can simply convert it for Kindle. Enough to do some simple edits and the result should look something like this:
the
Elements that you should pay attention to when this transformation:
the
From experience: images that were inserted this way:
the
will look quite correct.
Thank you.
Article based on information from habrahabr.ru
Recently, I purchased a Kindle 4 and found that to read it the pdf is not very convenient due to the fact that the font is too small. As they say if you can not but really want, you can!
For experiments I created a test pdf page with the help of which, picking up the various parameters.
Note 1
That would maximize the full screen of the book, I changed the page sizes and line spacing:
the
\usepackage{geometry}
\geometry{left=0.2 cm}
\geometry{right=0.2 cm}
\geometry{top=0.5 cm}
\geometry{bottom=1.25 cm}
\linespread{0.95}
Version 1.0. Original
the
\documentclass[12pt, a4paper]{article}
A simple increase of font does not help:
the
\documentclass[14pt, a4paper]{extarticle}
Version 2.0. Page size
\documentclass[14pt, a5paper]{extarticle}
Improvement on the face.
Version 3.0. Final version
This version suits me perfectly. The text reads well. You can see everything.
the
\documentclass[12pt, a6paper]{article}
Version 3.1. Final version-2
Not all eyes are the same — you can still slightly increase the font.
the
\documentclass[14pt, a6paper]{extarticle}
Note 2
The latest image shows that if you want to place the source code in the block verbatim, it should be noted that the code will be truncated at the 40th character with a condition that has been used title
the
\documentclass[14pt, a6paper]{extarticle}
Note 3
If you have a document that is typed in tex, you can simply convert it for Kindle. Enough to do some simple edits and the result should look something like this:
the
\documentclass[14pt, a6paper]{extarticle}
\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}
\usepackage[T2A]{fontenc}
% change the page size
\usepackage{geometry}
\geometry{left=0.2 cm}
\geometry{right=0.2 cm}
\geometry{top=0.5 cm}
\geometry{bottom=1.25 cm}
\linespread{0.95}
\begin{document}
...
\end{document}
Note 4
Elements that you should pay attention to when this transformation:
the
-
the
- Table — most of the tables still do not fit in width the
- Images — not all, but very large also climbs over the edge of the screen
From experience: images that were inserted this way:
the
\begin{figure}[H]
\centering
\includegraphics[scale=0.5]{imgs/img.png}
\caption{Test picture}\label{test_img}
\end{figure}
will look quite correct.
Thank you.
Комментарии
Отправить комментарий