LaTeX

Tables

Simple table

\begin{tabular}[<pos>]{<cols>}
  <content>
\end{tabular}

Span multiple columns

\multicolumn{<ncols>}{<align>}{<text>}

Span multiple rows

\usepackage{multirow}

\multirow[<vpos>]{<nrows>}[<bigstruts>]{<width>}[<vmove>]{<text>}

Span multiple rows and columns

\begin{tabular}{|c|c|c|c|}                                                   \hline
    1 & 2                                        & 3 & 4                  \\ \hline
    2 & \multicolumn{2}{|c|}{\multirow{2}{*}{A}}     & \multirow{2}{*}{B} \\ \cline{1-1}
    3 & \multicolumn{2}{|c|}{}                       &                    \\ \hline
    4 & \multicolumn{2}{|c|}{C}                      & D                  \\ \hline
\end{tabular}

Quality tables

\usepackage{booktabs}

\begin{tabular}{@{}llr@{}}                   \toprule
    \multicolumn{2}{c}{Item} &            \\ \cmidrule(r){1-2}
    Vegetable & Description  & Price (\$) \\ \midrule
    Carrots   & per gram     & 13.65      \\
              & each         & 0.01       \\
    Spinach   & fresh        & 92.50      \\
    Broccoli  & frozen       & 8.99       \\ \bottomrule
\end{tabular}

Greek letters

SymbolLaTeXSymbolLaTeXSymbolLaTeX
α\alpha\alpha
β\beta\beta
γ\gamma\gammaΓ\Gamma\Gamma
δ\delta\deltaΔ\Delta\Delta
ϵ\epsilon\epsilonε\varepsilon\varepsilon
ζ\zeta\zeta
η\eta\eta
θ\theta\thetaΘ\Theta\Thetaϑ\vartheta\vartheta
ι\iota\iota
κ\kappa\kappaϰ\varkappa\varkappa
λ\lambda\lambdaΛ\Lambda\Lambda
μ\mu\mu
ν\nu\nu
ξ\xi\xiΞ\Xi\Xi
π\pi\piΠ\Pi\Piϖ\varpi\varpi
ρ\rho\rhoϱ\varrho\varrho
σ\sigma\sigmaΣ\Sigma\Sigmaς\varsigma\varsigma
τ\tau\tau
υ\upsilon\upsilonΥ\Upsilon\Upsilon
ϕ\phi\phiΦ\Phi\Phiφ\varphi\varphi
χ\chi\chi
ψ\psi\psiΨ\Psi\Psi
ω\omega\omegaΩ\Omega\Omega
ϝ\digamma\digamma