4

As said in this answer, the ebook package is convenient in making a document specialized for phone screens (font, position, spacing, etc) and it's easy to turn on or off (need not take care on the geometry and documentclass). I do see that it makes me some inconveniences, (\mkbibbold doesn't work while \textbf does, only using xelatex gives the most aesthetic result), but @UlrikeFischer said that

don't use it at all, it seems to have only a vage idea about how to change the font setup and uses a more or less random set of commands

So what are this package's disadvantages? Why is it not good to use?

9

Your own previous question is already a good example for the side effects.

The package doesn't set \normalfont and \normalsize correctly. And so all commands or environments which call this commands to ensure that the main font and size of a document is correctly used will fail:

\documentclass{report}

\usepackage{ebook}
\usepackage{lipsum}

\begin{document}
\ebook blblblb \normalfont blblblb \normalsize blblblb 

\end{document}

enter image description here

Beside this simply loading the package will change the main font as you can try out with this document:

\documentclass{report}

\usepackage{bookman}
\usepackage{ebook}
\usepackage{lipsum}

\begin{document}

bookman

\end{document} 

with ebook

enter image description here

without ebook

enter image description here

  • but does it because it is inevitable to avoid this, or is it just a fault of the authors? Can it be improved so that the typography it sets (font, position, spacing) is still achieved while allowing for more flexibility? – Ooker Dec 28 '17 at 13:52
  • 3
    it is badly coded and one could improve it. – Ulrike Fischer Dec 28 '17 at 13:54
  • do you know how to improve it? Telling me the direction is enough – Ooker Dec 28 '17 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.