botbotbot 's blog

All about Latex

Install Latex OSX (mactex)

$ brew cask install mactex

Figures

Label

\caption{Close-up of a gull\label{fig:gull}}

Landscape

\usepackage{pdflscape}

\begin{document}
\begin{landscape}
.
.
.
\end{landscape}
\end{document}

Math Equation

# inline equation
$ a + b $ #equation
$$ a + b $$ #equation in new line

# equation
\begin{eqaution}
\end{eqaution}

# equation array
\begin{eqnarray}
\end{eqnarray}

Table

Spreadtab - Calculatable Table latex

Separate compilation of child documents

  • Subfiles

    use setting from master latex

  • Standalone

    have own setting not using from master latex

Tips

IEEE Paper

  1. How to add the IEEE copyright and publication id on a IEEETran conference .tex file
  2. How to write a conference paper (IEEE, ACM) using Latex
  3. LaTeX tutorial: How to cite references/paper/articles in Latex

    # cite to bibtex references
    \usepackage{cite}
    \cite{sample1234}
       
    # referecnes from bibtex
    \bibliographystyle{IEEEtran}
    \bibliography{file_of_bibex}
    

BibTex

Latex Slide (Beamer)

Beamer Theme

Resouces

  1. Thai Latex User Group
  2. Thai LaTeX and MATLAB
  3. ShareLaTeX Blog
  4. Latex Online Editor - Overleaf , ShareLatex

Video

  1. Techpush LaTex Beginner Tutorial Guide
  2. Video Tutorials - Overleaf

Book

  1. The Not So Short Introduction to LATEX2ε
  2. LATEX2ε Cheat Sheet

Example

  1. IEEE Example Conf/Journal

Latex Docker

ETC.