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 = mc² $
  2. Fraction:

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

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

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

    • LaTeX Code:
      \sum_{i=1}^{n} i
      
    • Output: $ \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: $ â, ã $
  8. Matrix:

    • 2x2 Matrix
    • LaTeX Code:
      \begin{matrix}
      a & b \\
      c & d
      \end{matrix}
      
    • Output: $$ \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) = \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: $$ \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.