Skip to content

gluonfield/latex-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX Starter Template

A template for LaTeX scientific notes. Clone this repository to start a new project.

Getting Started

  1. Clone this template
  2. Edit latex/main.tex to set your title and author
  3. Write content in latex/parts/content.tex
  4. Run make latex to build

Prerequisites (macOS)

Option 1: MacTeX (Full Installation)

Install the complete TeX distribution (~4GB):

brew install --cask mactex

After installation, restart your terminal or run:

eval "$(/usr/libexec/path_helper)"

Option 2: BasicTeX (Minimal Installation)

Install a smaller distribution (~100MB):

brew install --cask basictex

Then install required packages:

sudo tlmgr update --self
sudo tlmgr install collection-latexrecommended collection-fontsrecommended \
    latexmk parskip booktabs float subcaption cleveref mathtools

Verify Installation

pdflatex --version

Usage

Build the PDF:

make latex

Output is written to out/main.pdf.

Clean build artifacts:

make clean

Project Structure

latex/
├── main.tex          # Main document
├── parts/            # Content files
│   └── content.tex   # Main content (add more as needed)
└── out/              # Build output

Adding Content

Edit latex/parts/content.tex or create additional files and include them with \input{parts/filename} in main.tex.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •