Tuesday, July 8, 2014

LaTeX Series: Embed Font & Generating Correct Margin

For IEEE submission, the font have to be embedded into the file. However, usually latex will not embed fonts such as Times-Italic, Times-Roman, Times-BoldItalic, Times-Bold, Helvetica and Courier.

It can be easily fixed using Adobe pdf printer, however you need to have Adobe Pro. As an alternative way, you could use terminal or command window to generate the desired pdf by using commands below.

Command Window
dvilatex file.tex
bibtex file
latex file.tex
latex file.tex
dvips -Ppdf -G0 -tletter file.dvi 
ps2pdf -dCompatibilityLevel#1.4 -dPDFSETTINGS#/prepress file.ps file.pdf

Terminal
ps2pdf -dCompatibilityLevel=1.4 -dPDFSETTINGS#/prepress file.ps file.pdf
[Source]


The command:

dvips -Ppdf -G0 -tletter file.dvi

will generate a letter size output. You can change the desired size by the -t option such as a4 to generate A4 size output.

No comments: