Latex is a text editing markup language.
http://en.wikipedia.org/wiki/LaTeX
On Windows
MikTex is a great base.
automatic package retrieval and installation
can be integrated into TexNicCenter. During initial TexnicCenter setup, point to
C:\program\miktex\bin\?
For an editor, TexNicCenter is extremely useful
Others prefer a WYSIWYG editor such as Scientific Workplace (in my opinion, crappy, but if you don't want to learn Latex, it gets the job done (crappily))
Led
On Linux
Kile is a good editor, not as good as TexnicCenter
getting packages is not automatic, so they must be manually installed.
single .sty example
$ wget http://www.ctan.org/get/macros/latex/contrib/algorithms/algorithm.sty
$ wget http://www.ctan.org/get/macros/latex/contrib/algorithms/algorithmic.sty
$ sudo cp algorithm* /usr/share/texmf-texlive/tex/latex/
$ sudo mktexlsr
Full package example:
http://ctan.org/tex-archive/macros/latex/contrib/appendix/
http://ctan.org/tex-archive/macros/latex/contrib/glossary/
http://www.ctan.org/tex-archive/macros/generic/diagrams/xypic/
extract it to /usr/share/texmf-texlive/tex/latex/
$ cd /usr/share/texmf-texlive/tex/latex/appendix/
$ ls
appendix.dtx appendix.ins appendix.pdf README
$ sudo latex appendix.ins
$ cd /usr/share/texmf-texlive/tex/latex/glossary/
$ sudo latex glossary.ins
$ sudo mktexlsr
$ sudo mkdir /usr/share/texmf-texlive/tex/latex/xy
$ unzip xy-3.7.zip
$ sudo cp -r xy-3.7/* /usr/share/texmf-texlive/tex/latex/xy/
If mpm were an apt-get package, you could do
sudo mpm --install=xypic
thanks to
http://maverickranter.blogspot.com/2009/11/fixing-eps-bounding-box-automatically.html
There is pageboundingbox and boundingbox. Irfanview sees only the bounding box, while evince sees only pageboundingbox.
There seems to be some third set of parameters, as seen by
http://promote.3m.com/eps_viewer/index.jsp
editing method 1 (easiest, best results)
on linux,
$ sudo apt-get install epstool
$ epstool --copy --bbox filename.eps output.eps
epstool should be available on windows too:
http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm
but I was not able to download it
editing method 2
in matlab, save file as PDF. Then on linux
$ convert filename.pdf filename.eps
editing method 3 (hard)
open the eps file with a text editor while viewing the eps. search "boundingbox" and the following 4 number are the coordinates (viewable in ghostview).
Also, "pageboundingbox" (viewable in okular)