syntax
LaTeX Guide
# LaTeX Guide
LaTeX is a powerful typesetting system for professional documents. PDFCreate supports LaTeX for advanced formatting.
## Math Equations
### Inline Math
```latex
The formula $E = mc^2$ shows the relationship...
```
### Display Math
```latex
$$
\int_{0}^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$
```
## Common Symbols
- Greek letters: `$\alpha, \beta, \gamma$`
- Fractions: `$\frac{a}{b}$`
- Superscript: `$x^2$`
- Subscript: `$x_i$`
- Square root: `$\sqrt{x}$`
## Formatting
### Font Styles
```latex
\textbf{Bold text}
\textit{Italic text}
\texttt{Monospace text}
```
### Font Sizes
```latex
\tiny, \small, \normalsize, \large, \Large, \LARGE
```
## Page Layout
```latex
\newpage % Start a new page
\pagebreak % Force page break
```
## Common Issues
1. **Special Characters**: Escape with backslash: `\$, \%, \&`
2. **Math Mode Errors**: Ensure $ symbols are balanced
3. **Undefined Commands**: Check LaTeX package availability