sr #106406: dvipng ???

 Submitted by: Math [itex] Submitted on: Sun 15 Jun 2008 10:43:00 PM UTC Category: None Priority: 5 - Normal Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Operating System: Microsoft Windows

Add a New Comment (Rich Markup):

You are not logged in

Sat 19 Jul 2014 01:09:52 AM UTC, comment #1:

I don’t know why this is posted here, but the issue is that by default LaTeX prints a page number, so the ink extent includes that.

\pagenumbering{gobble}%

just after the \documentclass invocation.

James Cloos <cloos>
Sun 15 Jun 2008 10:43:00 PM UTC, original submission:

I am trying to but latex into my web forum and I am using
miktex. I have noticed in the bin directory of miktex that their
is a program dvipng which converts dvi to png images.

However my only problem is the size of the image.

For example I have the test.tex

\documentclass{article}
\begin{document}
$\sqrt{x} = 5$ is $x=25$.
$\sum \int \sqrt{x} \sqrt[n]{x} \frac{a}{b} \oint \prod \coprod \frac{\partial{f}}{\partial{x}} \lim_{a \rightarrow b}$
\end{document}

which I then compile to a dvi file using latex test.tex.

Then I do dvipng -T tight -o test_image_name.gif test.dvi
which gives me a image with alot of white space at the bottom.
This could be caused by the bottom right 1 in the image.
How do you get rid of it and the space?

Thanks for any help

Math [itex]

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Comment:

Attached Files
file #15849:  testYes.png added by math (2kB - image/x-png)

Depends on the following items: None found

Items that depend on this one: None found

Carbon-Copy List
• -unavailable- added by cloos (Posted a comment)
• -unavailable- added by math (Submitted the item)
•

Do you think this task is very important?
This task has 0 encouragements so far.

Only logged-in users can vote.

Please enter the title of George Orwell's famous dystopian book (it's a date):