TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to typeset this book for my Kindle: http://linear.ups.edu/

Unfortunately some of the equations result in overfull hboxes, and I can't read them.

Though I've managed to manually convert some of the examples, the process is very difficult. The tricky bits primarily involve removing alignment markers from amsmath align environments, and nesting each sub-equation in its own \begin{dmath*}... For example:


(I've not even begun trying to figure out tables, so automatically scaling those would also be nice!)

Perhaps there is a simple way to automatically wrap or scale all equasions/tables? I'm not so concerned with them looking that good yet, my first priority is being able to see them...

I based my approach on LaTeX options for kindle? but this type of conversion is too much even with liberal application of Perl.

share|improve this question
up vote 1 down vote accepted

If you just want to change the size, so that it fits to the page, you can use the adjustbox package, see also this answer:




(Works also for figures and everything else.) This might result in a very small font size.

share|improve this answer

The answers to this TeX.SE question describe the difficulty of your question. (Unfortunately, TeX is unwilling to see an overfull hbox and fix it for you.)

As noted in section 6 of this document, changing the align* environment is messy and difficult. You mention Perl—have you tried writing a script to scan the TeX source and delete each instance of & or \\ between \begin{align*} and \end{align*} and then change each align* to breqn? Any sort of useful solution to your problem will have to involve mass automated editing of this sort.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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