header

An intermediate-level LaTeX tutorial.LaTeX, pronounced as /ˈlɑːtɛk/, is a document preparation system for high-quality typesetting. It is most often used for technical or scientific documents, but it can be used for almost any form of publishing.

I have covered topics for the manuscript preparation and review process. The presentation itself was completely made in LaTeX (Beamer). It looks clean and minimal. A TEX file is also available to download. I hope you will find this useful. I welcome your suggestions for improvement in the tutorial.

#latex | #research | #writing

Few basics of LaTeX are presented below to getting you starte:

  1. Simple Equation:

    • LaTeX Code:
      E = m c^2
      
    • Output: E=mc2 E = mc²
  2. Fraction:

    • LaTeX Code:
      x = \frac{a + b}{c}
      
    • Output: x=a+bc x = \frac{a + b}{c}
  3. Square Root:

    • LaTeX Code:
      \sqrt{x}
      
    • Output: x \sqrt{x}
  4. Subscript:

    • LaTeX Code:
      x_i
      
    • Output: xi x_i
  5. Summation:

    • LaTeX Code:
      \sum_{i=1}^{n} i
      
    • Output: i=1ni \sum_{i=1}^{n} i
  6. Greek Letters:

    • Alpha (α), Beta (β), Gamma (Γ)
    • LaTeX Codes:
      \alpha, \beta, \Gamma
      
    • Outputs: α,β,Γ α, β, Γ
  7. Accents:

    • Hat (^) and Tilde (~)
    • LaTeX Codes:
      \hat{a}, \tilde{a}
      
    • Outputs: a^,a~ â, ã
  8. Matrix:

    • 2x2 Matrix
    • LaTeX Code:
      \begin{matrix}
      a & b \\
      c & d
      \end{matrix}
      
    • Output: abcd \begin{matrix} a & b \newline c & d \end{matrix}
  9. Piecewise Function:

    • LaTeX Code:
      f(x) = \begin{cases}
              x^2 & \text{if } x > 0 \newline
              0 & \text{otherwise}
              \end{cases}
      
    • Output: f(x)={x2if x>00otherwise f(x) = \begin{cases} x^2 & \text{if } x > 0 \newline 0 & \text{otherwise} \end{cases}
  10. Aligning Equations:

    • LaTeX Code:
      \begin{align*}
      x + y &= z \newline
      a - b &= c
      \end{align*}
      
    • Output: x+y=zab=c \begin{align*} x + y &= z \newline a - b &= c \end{align*}

These examples cover the basics of typing mathematical expressions in LaTeX. You can search on web for others.