LaTeX

Using .eps graphics in Kile (Ubuntu) and producing pdf without a problem:

1. I followed these instructions 1:1:
http://kile.sourceforge.net/Documentation/html/build_epsgraphics.html
(my graphics.cfg was in /usr/share/texlive-base/graphics.cfg 
2. restarted Kile
3. added these lines to my .tex file:
    \usepackage{epsfig,amsmath,latexsym}
    \usepackage{amsthm, graphicx}
    % \usepackage[pdftex]{graphicx}
    \usepackage{epstopdf}
4. In Kile, opened Konsole, and typed:
pdflatex -shell-escape tsc2012.tex

Done, pdf generated with nice pictures!
The above command line tool converts all .eps files in .pdf files and creates pdf file of the entire paper using those converted pdf images. Therefore, if I add new .eps images or edit existing I need to rerun that command again. Otherwise, I can just use PDFLaTeX button in Kile, or Alt+6 to generate pdf of my paper at any point.


Table with fixed column width (may be different for each column) and yet cell alignment is centered (unlike with p{2cm}):

\usepackage{array}

\begin{table}[htb] \centering
\begin{tabular}{| >{\centering\arraybackslash}m{1.6cm} | >{\centering\arraybackslash}m{1.8cm} | >{\centering\arraybackslash}m{1.6cm}| >{\centering\arraybackslash}m{2.2cm}|>{\centering\arraybackslash}m{2.5cm}|>{\centering\arraybackslash}m{2cm}|}

\hline Workflow System & Application Domain & GUI Support & Automated composition & Workflow Representation & Nested Workflow support  \\ \hline
Taverna & WS & + & - & XML (Scufl) & +\\ \hline
Kepler & Grid,WS & + & - & XML (MoML) & +\\ \hline
Pegasus & Grid & + & +/- & XML (DAX) & +\\ \hline
Swift & unknown & - & - & SwiftScript & +\\ \hline
VisTrails& WS & + & - & XML-based & +\\ \hline
Triana& Grid, WS & + & - & XML-based & +\\ \hline
\end {tabular}
\linebreak
  \caption{Summary of Workflow Management Systems in terms of Composition}\label{table1}
\end{table}

Reduce space between figure itself and its caption:
\setlength{\abovecaptionskip}{0pt}

Special symbols:

Fractions, Binomials and other math symbols:

Premise: I use MiKTeX 2.9 together with TeXnic Center 1.0

Display references numbers in order of appearance:
            \bibliographystyle{ieeetr}

Set margins:
            \usepackage[top=1in, bottom=1in, left=1.5in, right=1.5in]{geometry}

            note - I placed this line between \documentclass{article} and \begin{document}

Installing LaTeX in linux:
            install Kile:
                sudo apt-get install kile

            install science package 
                sudo apt-get install texlive-science

            (this package is ~300 MB and it may be optional):
            sudo apt-get install texlive-latex-extra

Installing on Windows:

at the end, during configuration it'll ask for full path for latex executables. On my Windows 7 machine it was:
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin
http://math65740.blogspot.com/2010/09/texnic-center-latex-ps-pdf.html
Comments