Classical Mechanics Homework Templates
Lagrangian, Hamiltonian, oscillations, central forces. Solution toggle, difficulty stars, Gradescope-ready.
Build Mechanics Problems
Fill form → Live KaTeX preview → Export student + instructor PDF + .tex.
Open Builder (Problem Set) →Problem Set (Weekly HW)
Standard problem set format with boxed problems, parts (a,b,c), solution toggle, difficulty stars. Gradescope-ready.
\documentclass[]article
\usepackage{amsmath,amssymb,amsthm}
\usepackage{enumitem}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{microtype}
\setlist[itemize]{leftmargin=*,topsep=2pt,itemsep=1pt}
\setlist[enumer…Mechanics Macros
\Ham = Hamiltonian\Lag = Lagrangian\pdv{q}{t} = partial deriv\fdv{q}{t} = total deriv\grad, \div, \curl, \laplacian\vect{}, \uvect{}, \cross, \dotp\comm{}, \anticomm{}\vsub{}, \vsup{}FAQ
Are there macros for Lagrangian mechanics?▼
Yes. The physics macros include \Ham for Hamiltonian, \Lag for Lagrangian, \pdv for partial derivatives, and variational derivatives.
Can I write normal mode problems?▼
Yes. Matrix macros (\mat{}, \vect{}, \expect{}) work for normal mode matrices. Use parts (a,b,c) for multi-part problems.
Is there a template for central force problems?▼
Use the Problem Set style with parts for orbit equation, effective potential, precession. Difficulty stars for ★/★★/★★★.
Does it support Hamiltonian phase space plots?▼
TikZ/pgfplots is pre-loaded. Use the Lab Report style for figures with \labFigure{} helper.