Of course, not!! (Latex is always so unnecessary complicated.) Whenever I use PDFTexify to compile my paper, it would always give me strange results, usually weird margins or the PDF file ended up to be Letter size. It took roughly 2 days to learn the trick to make my PDF file to be A4 because the IEEEtran guide only includes one sentence to give you hint where things might go wrong. So, I want to let everyone know how to solve this problem.
The steps are as follows (make sure you have specified in the documentclass that you want to use a4paper):
- First, use "Latex" to compile your TEX file instead of the PDF version Latex compiler. Note that if you were using the PDF version, you have to change all JPEG (or non-vector) pictures to EPS pictures. There are several tools out there to help you do this. Note that your output would be "dvi" file.
- Secondly, you want to add this line of code,"\special{pdf: pagesize width 210truemm height 297truemm}", right after the code "\begin{document}".
- Now, you use the compiler "dvipdf" (or dvipdfm) to produce your PDF file. It should produce the paper with the right paper size and right margin.
If you have any questions, let me know and I will try my best to help. Even better, if you know the workaround for "PDFTexify", then please let me know!
it doesn't work
ReplyDeleteThank you,It works. It helped me so much
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThat's very simple. just replace the class with
ReplyDelete\documentclass[conference, a4paper]{IEEEtran}
It works for me.
Cheers!