Category: Writing

  • Underbrace (If you want to put additional information under the term)

    [nbconvert url=\”https://github.com/study-astrophysics/Summary/blob/main/LaTeX/underbrace.ipynb\”]

    Continue Reading →

  • Boxed Equation

    [nbconvert url=\”https://github.com/study-astrophysics/Summary/blob/main/LaTeX/boxed_equation.ipynb\”]

    Continue Reading →

  • Bold text and symbol

    Objective is to represent bold text or symbol in LaTeX. Example 1. Bold Text Code Hello! Welcome to the \\textbf{Study Astrophysics}. Result $latex \\text{Hello! Welcome to the } \\textbf{Study Astrophysics}. $ Example 2. Bold inside an equation Code \\mathbf{A} \\cdot \\mathbf{B} \\equiv AB \\cos\\theta Result $latex \\mathbf{A} \\cdot \\mathbf{B} \\equiv AB \\cos\\theta $ Example 3.…

    Continue Reading →

  • Table

    Objective is to represent a table using LaTeX. Example Code \\begin{tabular}{|c|c|} \\hline Classical Mechanics & Quantum Mechanics \\\\ (Newton) & (Bohr, Heisenberg, Sch\\\”odinger et al.) \\\\ \\hline Special Relativity & Quantum Field Theory \\\\ (Einstein) & (Dirac, Pauli, Feynman, Schwinger et al.) \\\\ \\hline \\end{tabular} Result $latex \\begin{tabular}{|c|c|} \\hline Classical \\! Mechanics & Quantum \\! Mechanics \\\\ (Newton) & (Bohr, \\! Heisenberg, \\! Sch\\\”odinger \\! et \\! al.) \\\\ \\hline Special \\! Relativity & Quantum \\! Field \\! Theory \\\\ (Einstein) & (Dirac, \\! Pauli, \\!…

    Continue Reading →

  • Equation array

    Objective is to represent equation array using LaTeX. Example 1. Code \\begin{equation} \\left. \\begin{array}{lllll} \\lambda_{11} & = & \\cos(x\’_1,x_1) & = & \\cos\\theta \\\\ \\lambda_{12} & = & \\cos(x\’_1,x_2) & = & \\cos \\bigg( \\frac{\\pi}{2} – \\theta \\bigg) = \\sin\\theta \\\\ \\lambda_{21} & = & \\cos(x\’_2,x_1) & = & \\cos \\bigg( \\frac{\\pi}{2} + \\theta \\bigg) = – \\sin\\theta \\\\ \\lambda_{22} & = & \\cos(x\’_2,x_2) & = & \\cos\\theta \\end{array} \\right\\} \\end{equation} Result $latex \\left. \\begin{array}{lllll} \\lambda_{11} & = & \\cos(x\’_1,x_1) & = & \\cos\\theta \\\\ \\lambda_{12} & = & \\cos(x\’_1,x_2) & = & \\cos \\bigg( \\frac{\\pi}{2} – \\theta \\bigg) = \\sin\\theta \\\\ \\lambda_{21} & = & \\cos(x\’_2,x_1) & = & \\cos \\bigg( \\frac{\\pi}{2} + \\theta \\bigg) = – \\sin\\theta \\\\ \\lambda_{22} & = & \\cos(x\’_2,x_2) & = & \\cos\\theta \\end{array} \\right\\} $ Example 2. code \\begin{equation} \\begin{array}{rcl} \\vec{A} \\cdot \\vec{r} & = & A_1 x_1 + A_2 x_2 + A_3 x_3 \\\\ &…

    Continue Reading →

  • Matrix and determination

    Objective is to represent a matrix and determination using LaTeX. Example 1. Matrix Code \\left( \\begin{array}{ccc} \\lambda_{11} & \\lambda_{12} & \\lambda_{13} \\\\ \\lambda_{21} & \\lambda_{22} & \\lambda_{23} \\\\ \\lambda_{31} & \\lambda_{32} & \\lambda_{33}  \\end{array} \\right) Result $latex \\lambda = \\left( \\begin{array}{ccc} \\lambda_{11} & \\lambda_{12} & \\lambda_{13} \\\\ \\lambda_{21} & \\lambda_{22} & \\lambda_{23} \\\\ \\lambda_{31} &…

    Continue Reading →

  • LaTeX Introduction

    LaTeX is a fundamental tool for creating papers. If you have to write a dissertation, you are highly recommended to learn and use it. It is especially useful when you want to write math equations. In my blog, all equations are created using LaTeX (Luckily, WordPress supports LaTeX!). You can see that anywhere in my…

    Continue Reading →