Directory macros/latex/contrib/modernclassnotes
π Modern Class Notes (modernclassnotes)
modernclassnotes is a state-of-the-art, open-source LaTeX package and document class tailored for university professors, lecturers, researchers, and students. It produces clean, beautifully formatted, and modern class notes, lecture handouts, and assignment worksheets.
Designed with a zero-dependency native box engine, it works out of the box on standard TeX Live, MiKTeX, and Overleaf without requiring complex non-standard package installations.
β¨ Features
- 3 Document Modes:
mode=notes: Full multi-lecture course notes, semester manuals, and syllabus guides.mode=handout: Compact 1β2 page lecture summary handouts with structured metadata banners.mode=worksheet: Homework assignments & problem sets with student ID fields and togglable solution keys (showsolutions=true/false).
- 7 Curated Color Palettes:
ocean(Default modern teal/cyan)nord(Scandinavian ice/slate)midnight(Academic deep blue)emerald(Forest green/mint)burgundy(Classic wine/crimson)amethyst(Vibrant purple/lavender)mono(Minimalist monochrome)
- Pedagogical Callout Environments:
- Mathematics:
theorem,lemma,proposition,corollary,proof,definition - Explanatory:
example,remark,note,warning,tip,takeaways - Assessment:
exercise,solution,codebox
- Mathematics:
- Dynamic Lecture Tracking:
- Automated lecture headers, running headers, and table of contents entries using
\lecture[date]{number}{title}.
- Automated lecture headers, running headers, and table of contents entries using
- CTAN & Open-Source Distribution Ready:
- Dual LPPL 1.3c / MIT licensed, complete with build
Makefileand CTAN packaging scripts.
- Dual LPPL 1.3c / MIT licensed, complete with build
π Quick Start
- Minimal Multi-Lecture Course Notes
\documentclass[mode=notes, palette=ocean, fontsize=11pt]{modernclassnotes} \course{Data Structures & Algorithms} \coursecode{CS 201} \professor{Dr. Alex Morgan} \institution{Department of Computer Science} \term{Fall 2026} \title{CS 201: Class Notes} \begin{document} \maketitle \tableofcontents \newpage \lecture[Sept 2, 2026]{1}{Algorithm Complexity} \begin{definition}[Big-O Notation] Let $f(n)$ and $g(n)$ be functions. We write $f(n) = O(g(n))$ if there exist positive constants $c$ and $n_0$ such that $f(n) \le c \cdot g(n)$ for all $n \ge n_0$. \end{definition} \begin{theorem}[Master Theorem] Provides asymptotic bounds for divide-and-conquer recurrences. \end{theorem} \end{document}
- Single Lecture Summary Handout
\documentclass[mode=handout, palette=nord]{modernclassnotes} \course{Linear Algebra} \coursecode{MATH 301} \professor{Prof. Sarah Jenkins} \term{Fall 2026} \lecturedate{October 14, 2026} \title{Singular Value Decomposition (SVD)} \begin{document} \maketitle \section{Overview} Singular Value Decomposition factorizes any real matrix $A \in \mathbb{R}^{m \times n}$ into $A = U \Sigma V^T$. \end{document}
- Homework Worksheet with Solutions
\documentclass[mode=worksheet, palette=emerald, showsolutions=true]{modernclassnotes} \course{Probability & Statistics} \coursecode{STAT 210} \term{Fall 2026} \assignmentname{Problem Set 4: Continuous Random Variables} \begin{document} \maketitle \begin{exercise}[PDF Normalization] Find $c$ such that $f(x) = c(1-x^2)$ for $x \in [0,1]$ is a valid PDF. \end{exercise} \begin{solution} Integrating over $[0,1]$ yields $\frac{2}{3}c = 1 \implies c = \frac{3}{2}$. \end{solution} \end{document}
π οΈ Installation & Building
Standard Usage (Local Directory)
Simply copy modernclassnotes.cls (or modernclassnotes.sty) into your TeX document folder, or add it to your local TeX tree (~/texmf/tex/latex/modernclassnotes/).
Building with make
- Compile all docs & examples:
make all
make doc
make examples
make ctan
make clean
π Repository Structure
Modern-Class-Notes-Latex/
βββ modernclassnotes.cls # Primary LaTeX document class
βββ modernclassnotes.sty # Package version for inclusion in standard docs
βββ Makefile # Build automation script
βββ LICENSE # Dual LPPL 1.3c / MIT license
βββ README.md # Project documentation & GitHub homepage
βββ doc/
β βββ modernclassnotes-doc.tex # Complete LaTeX user guide & manual
β βββ modernclassnotes-doc.pdf # Compiled user manual PDF
βββ examples/
βββ 01-complete-course-notes.tex # Full multi-lecture course notes template
βββ 01-complete-course-notes.pdf # Compiled PDF preview
βββ 02-single-lecture-handout.tex # Single lecture handout template
βββ 02-single-lecture-handout.pdf # Compiled PDF preview
βββ 03-homework-worksheet.tex # Problem set & solution worksheet template
βββ 03-homework-worksheet.pdf # Compiled PDF preview
π Open Source & CTAN Contribution
This package is created as an open-source initiative under the LaTeX Project Public License (LPPL v1.3c) and the MIT License.
Contributions, bug reports, and pull requests are welcome! To submit to CTAN (Comprehensive TeX Archive Network), run make ctan to generate the release archive modernclassnotes-1.0.0.zip ready for uploading.
Created for educators, researchers, and open-source contributors worldwide.
Download the contents of this package in one zip archive (461.3k).
modernclassnotes – Typesetting course notes, lecture handouts, and assignment worksheets
This package contains a .sty file and a document class that provide a clean, modern, and highly configurable framework for typesetting academic course notes, lecture summary handouts, and assignment worksheets.
Key features include:
- Three specialized document modes:
- βnotesβ: For multi-lecture course manuals, semester guides, and books with automated lecture tracking (\lecture).
- βhandoutβ: For compact 1β2 page single-lecture summaries with integrated metadata banners.
- βworksheetβ: For homework assignments and problem sets, featuring student ID fields and togglable solution keys (showsolutions=true/false).
- Seven curated color palettes: βoceanβ, βnordβ, βmidnightβ, βemeraldβ, βburgundyβ, βamethystβ, and βmonoβ.
- Rich pedagogical callout environments for mathematics (theorem, lemma, proposition, corollary, proof, definition), explanations (example, remark, note, warning, tip, takeaways), and assessments (exercise, solution, codebox).
- Zero heavy external dependencies: Built with a lightweight, native box engine for seamless compilation out-of-the-box across TeX Live, MiKTeX, and Overleaf.
| Package | modernclassnotes |
| Bug tracker | |
| Repository | |
| Version | 1.0.0 2026-07-26 |
| Licenses | The LaTeX Project Public License 1.3c MIT License |
| Copyright | 2026 Modern Class Notes Project |
| Maintainer | Aurghyadip Kundu |
| Topics | Exercise Class Notes |