TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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 happen to read more documents on my (android) phone, including scientific papers from the arXiv (where the TeX source is available). Obviously, such a narrow screen is not well suited to read papers made with the usual \documentclasses .

What is the best way to compile a LaTeX document in order to read it easily on a small screen (smart phone or e-book reader) ?

share|improve this question
This template for iPhone screens doesn't quite answer your question because you seem to be looking for a more general solution, but it think it's nonetheless of interest for this question: http://uweziegenhagen.de/?p=765 – doncherry Apr 5 '11 at 15:44
up vote 4 down vote accepted

you can specify your own paper size:

share|improve this answer
Thanks, it almost works. With this arXiv paper, tweaking the document class to remove some options and using \geometry{papersize={64.96 mm,48.72 mm}, margin=2mm} I have something which works, except for the abstract and long eguations, which dispears on the side of the page :-( I'll try some more tweaking with the geometry package. – Frédéric Grosshans Mar 31 '11 at 10:49
you can decrease the size of such formulas or using the several existing math environments from amsmath which allow line breaking – Herbert Mar 31 '11 at 12:40
I want to slightly change already written documents, not to look manually for the problematic equations and so on. A short modification of the preamble with \usepackage{geometry} is what I need. I've finally solved the "long equations problem" by providing a large page with a narrow text, the right margin giving the space for the equations, attained with an occasionnal scrolling. – Frédéric Grosshans Mar 31 '11 at 15:09

There's a discussion about that topic including some suggestions/workarounds at http://mobileread.com/forums/showthread.php?t=57861

One option could be to use the Memoir package, which offers an ebook option for the paper size.

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.