2

In How can I auto adjust a equation to appear in the entire page? (Scale to equations, is this exist?) I asked how I could change the equation sizes.

Nothing seemed to work. But the problem was I was using latex (Kile) and seeing the the results in dvi. When I used pdflatex as @Hooked proposed I got good results in the pdf.

Why? Why I can't use dvi? Or if I can use dvi, how to do this?

The code below generated this (using latex and dvi):

enter image description here

when the correct is this(possible using pdflatex).):

enter image description here

\documentclass[landscape, 12pt]{report}
\usepackage{graphicx}
\pagestyle{empty}

\begin{document}
\noindent Here is some text
\begin{equation}
\resizebox{1.0 \textwidth}{!}
{
   $ a + b $
}
\end{equation}
and here is some more.
\end{document}
GarouDan
  • 3,291
  • Please include code and images directly within your post so users can see everything related to your problem on the same page. – doncherry Nov 21 '11 at 23:39
  • I have uploaded the figures and your code. Please confirm that this is correct. Also, there should be no reason to use pastebin for the code as you can include it here directly. – Peter Grill Nov 21 '11 at 23:55
  • Thx, all edits are welcome. – GarouDan Nov 22 '11 at 00:32

1 Answers1

5

I think it is a problem of your DVI-viewer. Perhaps the font problem.

I tried your code with LaTeX, and the dvi-file look quiet similar to your pdf-example (the text inside the resizebox looks is a bit grainy).

I converted the dvi with dvipdfmx (dvi can't be imported here), the result is:

2011-11-21 Edit: Uploaded cropped image

enter image description here

knut
  • 8,838