{"id":28320648,"url":"https://github.com/stuartsul/latex-assignment-template","last_synced_at":"2026-02-11T11:34:58.165Z","repository":{"id":265995158,"uuid":"897050804","full_name":"StuartSul/latex-assignment-template","owner":"StuartSul","description":"A simple and elegant LaTeX template for my university assignments.","archived":false,"fork":false,"pushed_at":"2024-12-02T01:07:11.000Z","size":849,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-21T09:35:38.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":false,"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/StuartSul.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":"2024-12-01T23:31:01.000Z","updated_at":"2024-12-02T01:12:57.000Z","dependencies_parsed_at":"2024-12-02T01:38:16.568Z","dependency_job_id":null,"html_url":"https://github.com/StuartSul/latex-assignment-template","commit_stats":null,"previous_names":["stuartsul/latex-assignment-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StuartSul/latex-assignment-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartSul%2Flatex-assignment-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartSul%2Flatex-assignment-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartSul%2Flatex-assignment-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartSul%2Flatex-assignment-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StuartSul","download_url":"https://codeload.github.com/StuartSul/latex-assignment-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StuartSul%2Flatex-assignment-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-05-25T11:11:50.833Z","updated_at":"2026-02-11T11:34:58.147Z","avatar_url":"https://github.com/StuartSul.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LaTeX Assignment Template\n\nA simple and elegant LaTeX template for university assignments. I created this template to use for all my assignments at Stanford University.\n\n## Screenshots\n\n![Example Page 1](/examples/assignment-00.png)\n\n---\n\n![Example Page 2](/examples/assignment-01.png)\n\n## Features\n\n- **Elegant First-Page Header**: Displays school and course information along with a university logo.\n- **Minimal Layout**: Clean header and footer on subsequent pages, showing your name, assignment info, and page number.\n- **Easy Configuration**: Simple macros at the top of the file to make customization quick and easy.\n- **Straightforward Code**: Minimal LaTeX code that’s easy to modify for your needs.\n- **Plain LaTeX for Content**: No complex custom commands, just the plain LaTeX code we are all familiar with.\n\n\n\n## Getting Started\n\n### 1. LaTeX Setup\n\nIf you already have LaTeX installed and configured, feel free to skip this section.\n\n- **Installing LaTeX**: There are many ways to do this, but my favorite setup is [TeX Live](https://www.tug.org/texlive/), combined with a VS Code extension like [LaTeX Workshop](https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop).\n\n- **Compiling the Document**:\n  - To compile the `.tex` file manually, run:\n\n    ```bash\n    pdflatex assignment.tex\n    ```\n\n  - If you’re using VS Code with LaTeX Workshop, the extension will automatically compile and generate the PDF whenever you save your `.tex` file. If it doesn’t, open the VS Code command palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac), search for \"LaTeX Workshop: Build LaTeX project,\" and run the build command. Alternatively, click the green play button in the top-right corner of the editor.\n\n\n### 2. Editing the Document\n\nStart by customizing the macros at the top of the `assignment.tex` file.\n\n| **Macro**         | **Description**                                  | **Example**          |\n|--------------------|--------------------------------------------------|----------------------|\n| `\\name`           | Your full name                                   | `Stuart Sul`         |\n| `\\email`          | Your email address                               | `stuartsul@stanford.edu` |\n| `\\submissiondate` | Submission date                                  | `December 1, 2024`   |\n| `\\school`         | Your school name                                 | `Stanford University` |\n| `\\department`     | Your department                                  | `Department of Computer Science` |\n| `\\coursecode`     | Course code                                      | `CS 101`             |\n| `\\coursename`     | Course name                                      | `Introduction to Computer Science` |\n| `\\assignment`     | Assignment name                                  | `Homework 1`         |\n| `\\logo`           | Path to university logo (must be 1:1 ratio)      | `images/logo.png`    |\n\nOnce the macros are updated, scroll to the section marked `...---DOCUMENT BODY---...` in the `assignment.tex` file. Remove the placeholder content and start writing your assignment.\n\n**Problem Headers**: You can use the provided `\\problem` command to create problem headers. For example:\n\n   ```latex\n   \\problem{1}\n   ```\n\n## License\n\nThis code is distributed under the MIT license. Feel free to use, modify, and share it as you wish :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartsul%2Flatex-assignment-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuartsul%2Flatex-assignment-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartsul%2Flatex-assignment-template/lists"}