{"id":15706387,"url":"https://github.com/lucacappelletti94/lectures","last_synced_at":"2025-10-30T21:04:21.728Z","repository":{"id":98555250,"uuid":"167785069","full_name":"LucaCappelletti94/lectures","owner":"LucaCappelletti94","description":"A LaTeX documentclass for lecture notes.","archived":false,"fork":false,"pushed_at":"2025-03-15T16:17:30.000Z","size":1580,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T12:07:28.481Z","etag":null,"topics":["latex","package"],"latest_commit_sha":null,"homepage":"https://ctan.org/pkg/lectures","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaCappelletti94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-27T08:05:02.000Z","updated_at":"2025-03-15T16:17:34.000Z","dependencies_parsed_at":"2023-03-14T05:00:38.133Z","dependency_job_id":null,"html_url":"https://github.com/LucaCappelletti94/lectures","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Flectures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Flectures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Flectures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Flectures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaCappelletti94","download_url":"https://codeload.github.com/LucaCappelletti94/lectures/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710433,"owners_count":21149190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["latex","package"],"created_at":"2024-10-03T20:22:32.421Z","updated_at":"2025-10-30T21:04:21.721Z","avatar_url":"https://github.com/LucaCappelletti94.png","language":"TeX","readme":"# Lectures\n\n[![GitHub Actions](https://github.com/LucaCappelletti94/lectures/actions/workflows/latex.yml/badge.svg)](https://github.com/LucaCappelletti94/lectures/actions)\n[![Version](https://img.shields.io/badge/CTAN_Version-1.0.7-blue.svg)](https://ctan.org/pkg/lectures)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/LucaCappelletti94/lectures/blob/master/LICENSE)\n[![Available in](https://img.shields.io/badge/Available_in-TEX_Live-green.svg)](https://ctan.org/pkg/texlive)\n[![Available in](https://img.shields.io/badge/Available_in-MiKTEX-green.svg)](https://ctan.org/pkg/miktex)\n\nA LaTeX documentclass for lecture notes.\n\n## Usage\n\n### Including the document class\n\nYou can include the document class `lectures` as follows (the default language is *english*):\n\n```latex\n\\documentclass{lectures}\n```\n\nTo specify a particular language (currently supported just *italian* and *english*) you can do the following:\n\n```latex\n\\documentclass[italian]{lectures}\n```\n\nor, analogously:\n\n```latex\n\\documentclass[english]{lectures}\n```\n\n### Title page\n\nOne of the main features of the library is the provided title page. You can create it as follows:\n\n```latex\n\\documentclass{lectures}\n\\begin{document}\n\\maketitle{\n  Your title\n}{\n  First author name,Second author name\n}{\n  First professor name,Second professor name\n}{\n  Parlo Parloni,Parletti Parini\n}{\n  Year\n}{\n  CFU of the course\n}{\n  Informatica\n}{\n  University name\n}{\n  Country\n}\n\n\\end{document}\n```\n\n[![Title page example](https://github.com/LucaCappelletti94/lectures/blob/master/title_page_example.png?raw=true)](https://github.com/LucaCappelletti94/lectures/blob/master/title_page_example.png)\n\n## Features\n\n### Silenced useless warnings\n\nUsing the package [`silence`](https://ctan.org/pkg/silence?lang=en) the library silences the following warnings:\n\n- `latex`:\n  - You have requested package\n  - There were undefined references\n  - Command\n- `latexfont`:\n  - Size substitutions with differences\n  - Font shape\n- [`biblatex`](https://ctan.org/pkg/biblatex):\n  - Using fall-back BibTeX(8)\n  - Please (re)run BibTeX on the file(s)\n- [`auxhook`](https://ctan.org/pkg/auxhook):\n  - Cannot patch\n- [`glossaries`](https://ctan.org/pkg/glossaries):\n  - No \\printglossary or \\printglossaries found.\n\n### Float related gimmicks\n\nAll floating objects are automatically centered and set to `H` as position with other objects.\n\n### Table related gimmicks\n\n#### L, C and R\n\nNew column types are given `L`, `C`, and `R`, that allow for automatic mathmode in columns.\n\nExample usage:\n\n```latex\n\\documentclass{lectures}\n\\begin{document}\n\\begin{tabular}{L C R}\n  a \u0026 b \u0026 c \\\\\n  \\alpha \u0026 \\beta \u0026 \\gamma \\\\\n  x_1 \u0026 x_2 \u0026 x_3 \\\\\n\\end{tabular}\n\\end{document}\n```\n\n### Theorems related gimmicks\n\nAll theorems are in `definition` style, meaning that they are not in *italic*. All environments are color-coded to facilitate reading and reviewing.\n\nProofs are treated as theorem environments.\n\nThe following theorem-like environments are provided:\n\n- `axiom`: Fundamental principles assumed to be true.\n- `goal`: Objectives or targets to be achieved.\n- `definition`: Precise explanations of terms or concepts.\n- `fact`: Statements that are objectively true.\n- `theorem`: Proven statements based on axioms and other theorems.\n- `lemma`: Helper theorems used to prove larger results.\n- `claim`: Assertions that need to be proven.\n- `corollary`: Results that follow directly from theorems.\n- `property`: Characteristics or attributes of objects.\n- `proposition`: Important statements that are proven true.\n- `observation`: Noteworthy remarks or insights.\n- `conclusion`: Final statements derived from proofs or discussions.\n- `generalization`: Broader statements derived from specific cases.\n- `problem`: Questions or challenges to be solved.\n- `example`: Illustrative instances or cases.\n- `solution`: Answers or methods for solving problems.\n- `analysis`: Detailed examination of elements or structure.\n- `complexity`: Discussion of the computational complexity.\n- `proof`: Logical arguments establishing the truth of statements.\n\nExample usage:\n\n```latex\n\\documentclass{lectures}\n\\begin{document}\n\n\\begin{theorem}[Pythagorean Theorem]\nIn a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.\n\\begin{equation}\na^2 + b^2 = c^2\n\\end{equation}\n\\end{theorem}\n\n\\begin{proof}\nThis can be proven using the properties of similar triangles.\n\\end{proof}\n\n\\begin{definition}[Prime Number]\nA prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.\n\\end{definition}\n\n\\end{document}\n```\n\n[![Theorem english example](https://github.com/LucaCappelletti94/lectures/blob/master/english_example.png?raw=true)](https://github.com/LucaCappelletti94/lectures/blob/master/english_example.png)\n\nOr if you selected the Italian language:\n\n[![Theorem italian example](https://github.com/LucaCappelletti94/lectures/blob/master/italian_example.png?raw=true)](https://github.com/LucaCappelletti94/lectures/blob/master/italian_example.png)\n\n### Lists related gimmicks\n\n- Lists are built to be more compact and leave less blank space.\n- Using the environment `todolist` it is possible to create checklists.\n\nExample usage:\n\n```latex\n\\documentclass{lectures}\n\\begin{document}\n\\begin{todolist}\n  \\item Complete the assignment\n  \\item Review the lecture notes\n  \\item Prepare for the exam\n\\end{todolist}\n\\end{document}\n```\n\n[![TODO List example](https://github.com/LucaCappelletti94/lectures/blob/master/todolist.png?raw=true)](https://github.com/LucaCappelletti94/lectures/blob/master/todolist.png)\n\n### Additional gimmicks\n\n- When a page is empty, Latex won't generate page number or other page elements.\n- When you want to leave a blank line you can just leave a blank line, without adding `\\\\`.\n- If you'd like to use roman numerals there a command for that: `\\rom{your number goes here}`.\n\n## License\n\nAll the code in this repository is released under the MIT license. For more information, please refer to the [`LICENSE`](https://github.com/LucaCappelletti94/lectures/blob/master/LICENSE) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Flectures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacappelletti94%2Flectures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Flectures/lists"}