Just find a good way to convert pdf file to eps. This is quite useful when you edit a paper with Latex. Before we do it, we need to download the Texshop (http://pages.uoregon.edu/koch/texshop/):
To convert pdf → eps (Mac OS X will only do (e)ps → pdf & pdf → ps),
- open the pdf in TeXShop, choose the 'Selection' tool in the Preview window toolbar
- select the desired rectangle (or all, either with ⌘-A or manually),
- choose 'Preview>Save Selection to File...', & save as eps."
I am a Postdoctoral Research Fellow with The SUTD-MIT International Design Centre (IDC), Singapore University of Technology and Design (SUTD). My research topic is about protocol and algorithm design, resource allocation and localisation in wireless sensor network, UAV network and Ad Hoc network. I also enjoy the mobile programming (Android and Objective-C) and web server development. Thanks for sharing.
May 26, 2014
Mar 17, 2014
Sep 2, 2013
Link bibliography with Latex
We compile the latex file on command line:
1) latex XXX.tex
2) bibtex XXX
Notice that there is no .tex here!
3) repeat to run command "latex XXX.tex" twice
4) dvips XXX.dvi
5) ps2pdf XXX.ps
6) A pdf file is created. :)
1) latex XXX.tex
2) bibtex XXX
Notice that there is no .tex here!
3) repeat to run command "latex XXX.tex" twice
4) dvips XXX.dvi
5) ps2pdf XXX.ps
6) A pdf file is created. :)
Aug 14, 2013
Edit a paper with LNCS format in Latex
Some paper may require LNCS format. You can download the package from http://www.springer.com/computer/lncs?SGWID=0-164-6-793341-0. Here I use llncs2e.zip and the sample file typeinst.zip.
You can import your latex file into the sample file "typeinst.tex". Notice that if your figures include subfigure, you need to add three packages:
\usepackage{caption}
\usepackage{subcaption}
\usepackage{subfig}
If it has some equations, add:
\usepackage[cmex10]{amsmath,mathtools}
\usepackage{mdwmath}
If it includes algorithm, add:
\usepackage{algorithm}
\usepackage{algorithmic}
Then, copy two files "llncs.cls" and "splncs.bst" (can also choose "splncs_srt.bst" or "splncs03.bst") from llncs2e folder to typeinst.
If the paper has some references generated by XXXX.bib file, then at the end of the paper, add:
\bibliographystyle{splncs}
\bibliography{XXXX}
After finish the editing, we just follow the previous tutorial (http://itantenna.blogspot.com.au/2013/08/compile-latex-file-with-eps-figures.html) to compile the latex file.
You can import your latex file into the sample file "typeinst.tex". Notice that if your figures include subfigure, you need to add three packages:
\usepackage{caption}
\usepackage{subcaption}
\usepackage{subfig}
If it has some equations, add:
\usepackage[cmex10]{amsmath,mathtools}
\usepackage{mdwmath}
If it includes algorithm, add:
\usepackage{algorithm}
\usepackage{algorithmic}
Then, copy two files "llncs.cls" and "splncs.bst" (can also choose "splncs_srt.bst" or "splncs03.bst") from llncs2e folder to typeinst.
If the paper has some references generated by XXXX.bib file, then at the end of the paper, add:
\bibliographystyle{splncs}
\bibliography{XXXX}
After finish the editing, we just follow the previous tutorial (http://itantenna.blogspot.com.au/2013/08/compile-latex-file-with-eps-figures.html) to compile the latex file.
Aug 13, 2013
Compile the latex file with eps figures
Sometimes we are required to use eps figures instead of pdf ones in the latex file. Here we show a method to compile your latex file by command line. Before this, please make sure you have installed latex editor.
1) Go to the directory which includes XXX.tex
2) type "latex XXX.tex" and we will see a XXX.dvi file is generated
3) then, type "dvips XXX.dvi" and a XXX.ps file is created
4) type "ps2pdf XXX.ps" and the PDF file is created
This pdf file will display the eps figures properly.
1) Go to the directory which includes XXX.tex
2) type "latex XXX.tex" and we will see a XXX.dvi file is generated
3) then, type "dvips XXX.dvi" and a XXX.ps file is created
4) type "ps2pdf XXX.ps" and the PDF file is created
This pdf file will display the eps figures properly.
Subscribe to:
Posts (Atom)