Example Files¶
Here you can find raw LaTeX examples to copy and paste into your editor. All examples are authored by Pulakesh Pradhan.
1. Basics¶
- Document Structure & Formatting:
- Source: ex-basics.tex
- Output: ex-basics.pdf
- Covers: Text formatting (bold, italic), font sizes, alignment, and lists (bullet, numbered, description).
2. Mathematics¶
- Math Notation & Matrices:
- Source: ex-math.tex
- Output: ex-math.pdf
- Covers: Inline vs Display math, fractions, roots, Greek letters, operators, and matrices.
3. Tables and Figures¶
- Professional Tables & Images:
- Source: ex-tables-figures.tex
- Output: ex-tables-figures.pdf
- Covers: Basic tables, booktabs (professional style), and figure placement.
4. Advanced Features¶
- Bibliography & Citations (Manual):
- Source: ex-biblio.tex
- Output: ex-biblio.pdf
-
Covers: Manual citations using
thebibliography. -
Bibliography with BibTeX (Recommended):
- Source: ex-bibtex.tex
- Bibliography: references.bib
- Output: ex-bibtex.pdf
- Covers: Using a separate
.bibdatabase, citations, and styles.
5. Reports & Embedding¶
- Basic Report:
- Source: simple-report.tex
- Output: simple-report.pdf
-
A complete sample report demonstrating multiple features.
-
Embedding PDFs:
- Source: embedding-example.tex
- Output: embedding-example.pdf
- Demonstrates how to include pages from other PDF files.
How to Run These¶
- Open the
.texfile in your editor (e.g., VS Code or Overleaf). - Compile the document using
pdflatexor your editor's build button. - Observe the generated PDF output.