Time to complete: 15-20 minutes
Prerequisites: Access to LaTeX Cloud Studio or a LaTeX installation
Outcome: A complete, well-structured LaTeX document
Prerequisites: Access to LaTeX Cloud Studio or a LaTeX installation
Outcome: A complete, well-structured LaTeX document
Fastest Path If You Just Want a Working Project
- Start with
articleunless you already know you needreport,book, orbeamer. - Keep the first file small: title, abstract, two sections, and one list.
- Add only the packages you actually need.
- Compile early, then add images, references, and bibliography after the base file works.
- Use a template once the minimal project is stable.
Project Planning
Before You Start
Before creating your LaTeX project, consider:- Document type - Article, report, book, or presentation?
- Required features - Math equations, images, tables, bibliography?
- Output format - PDF for print or digital distribution?
- Collaboration needs - Working alone or with others?
Choosing the Right Document Class
article
Best for papers, essays, and short documents
- Sections start at top level
- No chapters
- Compact layout
report
Ideal for longer documents with chapters
- Title page by default
- Abstract support
- Chapter organization
book
Full-length books and manuals
- Front/back matter
- Two-sided printing
- Professional typography
beamer
Presentations and slides
- Frame-based content
- Themes and transitions
- Speaker notes
Step 1: Create Project Structure
Basic Project Setup
Understanding the Structure
Preamble Section
The preamble (before\begin{document}) contains:
- Document class: Defines overall layout
- Packages: Add functionality
- Settings: Configure appearance
- Metadata: Title, author, date
Document Body
The main content (between\begin{document} and \end{document}) contains:
- Front matter: Title, abstract, table of contents
- Main content: Sections, paragraphs, lists
- Back matter: Bibliography, appendices
Step 2: Add Essential Packages
Core Package Set
Package Categories
- Typography
- Graphics
- Code
- Layout
Step 3: Write Content
Text Formatting
Lists and Enumerations
Step 4: Add Visual Elements
Including Images
Creating Tables
Step 5: Mathematical Content
Equations and Formulas
Step 6: Compile Your Document
Compilation Process
- Save your file with
.texextension - Choose compiler:
- pdfLaTeX: Standard choice, fast compilation
- XeLaTeX: Unicode and system fonts
- LuaLaTeX: Advanced features
- Run compilation (may need 2-3 passes)
- Check output for errors and warnings
Common Compilation Issues
Compilation Workflow
Step 7: Add References
Bibliography Management
Project Organization
File Structure
Multi-file Projects
Best Practices
Complete Example Project
Next Steps
Now that you’ve created your first project:- Experiment with packages - Try TikZ for diagrams or minted for code
- Create templates - Save time on future projects
- Learn advanced features - Master bibliographies and cross-references
- Join the community - Get help on forums and Stack Exchange
Working with Images
Learn image inclusion, positioning, and formatting
Creating Tables
Master professional table creation and formatting
Managing Large Documents
Organize multi-file projects effectively
Fix Errors
Troubleshoot common compilation problems
Quick Reference
Essential Commands
Congratulations! You’ve successfully created your first LaTeX project. Continue exploring our guides to master advanced features and create professional documents.
Start in LaTeX Cloud Studio
Open in LaTeX Cloud Studio
Write, compile, and iterate directly in your browser.
Start from Article Template
Use a ready-made template, then adapt it to your content.
