tanszek:oktatas:techcomm:mathematical_expressions_in_tex_language
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tanszek:oktatas:techcomm:mathematical_expressions_in_tex_language [2025/09/04 12:22] – [3. Basic Text Formatting in LaTeX] kissa | tanszek:oktatas:techcomm:mathematical_expressions_in_tex_language [2026/09/02 09:14] (current) – [7. Exercise] kissa | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| **Getting Started:** | **Getting Started:** | ||
| - | - **Overleaf**: We will use Overleaf, a free online | + | - **Papeeria**: We will use Papeeria, a browser-based |
| - | - Sign up at [[https:// | + | |
| - | - Overleaf offers collaborative features, version control, and a vast library of LaTeX templates. | + | |
| **Basic Document Structure: | **Basic Document Structure: | ||
| Line 97: | Line 95: | ||
| Use the '' | Use the '' | ||
| - | - Example: | + | |
| **Italic text** | **Italic text** | ||
| Use the '' | Use the '' | ||
| - | - Example: | + | |
| **Underline text** | **Underline text** | ||
| Use the '' | Use the '' | ||
| - | - Example: '' | + | |
| **Combining formats** | **Combining formats** | ||
| You can even combine them: | You can even combine them: | ||
| - | - Example: '' | + | |
| - | + | | |
| - | == Example | + | |
| <code LaTeX> | <code LaTeX> | ||
| Line 201: | Line 198: | ||
| **Explanation: | **Explanation: | ||
| - | - **\usepackage{amsmath}**: | + | - **\usepackage{amsmath}**: |
| - | - **&**: This symbol is used to align equations at the specified point, usually before an operator like `=`. | + | - **&**: This symbol is used to align equations at the specified point, usually before an operator like '' |
| **Tips:** | **Tips:** | ||
| Line 216: | Line 213: | ||
| To refer to this equation later, use '' | To refer to this equation later, use '' | ||
| + | ==== 6. Lists ==== | ||
| + | |||
| + | LaTeX provides environments for creating both unordered and ordered lists. | ||
| + | |||
| + | === Unordered Lists === | ||
| + | |||
| + | Use the '' | ||
| + | |||
| + | <code LaTeX> | ||
| + | \begin{itemize} | ||
| + | \item apple | ||
| + | \item banana | ||
| + | \item raspberry | ||
| + | \end{itemize} | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | === Ordered Lists === | ||
| + | |||
| + | Use the '' | ||
| + | |||
| + | <code LaTeX> | ||
| + | \begin{enumerate} | ||
| + | \item Denver Broncos | ||
| + | \item Buffalo Bills | ||
| + | \item Dallas Cowboys | ||
| + | \end{enumerate} | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| - | ==== 6. Exercise ==== | + | ==== 7. Exercise ==== |
| Reproduce the following mathematical proof in LaTeX. Use inline and display math, as well as basic and special symbols! Save the result in PDF format! | Reproduce the following mathematical proof in LaTeX. Use inline and display math, as well as basic and special symbols! Save the result in PDF format! | ||
| - | {{: | + | {{: |
| Line 227: | Line 255: | ||
| < | < | ||
| - | Proof: | + | Proof: 2 is Irrational |
| - | Assume, for contradiction, | + | Assumptions: |
| + | Assume, for contradiction, | ||
| + | It can therefore | ||
| + | a and b are coprime integers. | ||
| - | Then: | + | We can write: |
| - | HERE COMES AN EQUATION. | + | EQUATION |
| Squaring both sides: | Squaring both sides: | ||
| - | HERE COMES AN EQUATION. | + | EQUATION |
| Multiplying both sides by b2: | Multiplying both sides by b2: | ||
| - | HERE COMES AN EQUATION. | + | EQUATION |
| This implies that a2 is even, so a must also be even. Let a = 2k for some integer k. | This implies that a2 is even, so a must also be even. Let a = 2k for some integer k. | ||
| - | Substituting into the equation: | + | Substituting |
| - | HERE COMES AN EQUATION. | + | EQUATION |
| Dividing by 2: | Dividing by 2: | ||
| - | HERE COMES AN EQUATION. | + | EQUATION |
| This implies that b2 is even, so b must also be even. | This implies that b2 is even, so b must also be even. | ||
| - | But if both a and b are even, they are not coprime, which contradicts our original assumption. Therefore, 2 must be irrational. | + | Conclusion: If both a and b are even, then they are not coprime. |
| + | This contradicts our original assumption. Therefore, 2 is irrational. | ||
| </ | </ | ||
tanszek/oktatas/techcomm/mathematical_expressions_in_tex_language.1756988555.txt.gz · Last modified: by kissa
