I want to insert mathematics equations into my InDesign document.
To do that,
1. I create the equation in latex,
2. compile it to dvi using latex.exe,
3. convert it to ps using dvips.exe,
4. convert it to pdf using ps2pdf.exe,
5. trim the bounding margins using pdfcrop,
6. and finally import it from InDesign.
Here is my minimal code:
Code: Select all
\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\fbox{$\sin(a+b)=\sin a \cos b + \cos a \sin b$}%
\end{document}
And here is the corresponding output:

My problem is:
Please see the figure above carefully.
Left margin width =/= right margin width.
Top margin width =/= bottom margin width.
how to avoid pdfcrop from making unbalanced margins?
Any suggestion is appreciated.
Thank you in advance.
regards,
LaTeXian