{"id":19102652,"url":"https://github.com/talal/ilm","last_synced_at":"2026-02-06T04:31:15.920Z","repository":{"id":229123109,"uuid":"774026577","full_name":"talal/ilm","owner":"talal","description":"A versatile, clean and minimal template for non-fiction writing. Ideal for class notes, reports, and books.","archived":false,"fork":false,"pushed_at":"2026-02-05T00:22:16.000Z","size":1779,"stargazers_count":185,"open_issues_count":1,"forks_count":24,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-05T03:39:42.026Z","etag":null,"topics":["book","notes","package","report","template","typst","typst-package","typst-template"],"latest_commit_sha":null,"homepage":"https://typst.app/universe/package/ilm","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/talal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-18T20:15:58.000Z","updated_at":"2026-02-05T00:22:19.000Z","dependencies_parsed_at":"2025-10-25T23:20:05.019Z","dependency_job_id":"793c7982-cab3-425f-8334-a62b2058849c","html_url":"https://github.com/talal/ilm","commit_stats":null,"previous_names":["talal/ilm"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/talal/ilm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talal%2Film","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talal%2Film/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talal%2Film/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talal%2Film/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/talal","download_url":"https://codeload.github.com/talal/ilm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talal%2Film/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29150608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["book","notes","package","report","template","typst","typst-package","typst-template"],"created_at":"2024-11-09T03:56:32.068Z","updated_at":"2026-02-06T04:31:15.908Z","avatar_url":"https://github.com/talal.png","language":"Typst","funding_links":[],"categories":["Typst"],"sub_categories":[],"readme":"# ‘Ilm\n\n\u003e ‘Ilm (Urdu: عِلْم) is the Urdu term for knowledge. It is pronounced as [/ə.ləm/](https://en.wiktionary.org/wiki/%D8%B9%D9%84%D9%85#Urdu).\n\nA versatile, clean and minimal template for non-fiction writing. The template is ideal for\nclass notes, reports, and books.\n\nIt contains a title page, a table of contents, and indices for different types of figures;\nimages, tables, code blocks.\n\nDynamic running footer contains the title of the chapter (top-level heading).\n\nSee the [example.pdf](https://github.com/talal/ilm/blob/main/example.pdf) file to see how it looks.\n\n## Usage\n\nYou can use this template in the Typst web app by clicking \"Start from template\" on the\ndashboard and searching for `ilm`.\n\nAlternatively, you can use the CLI to kick this project off using the command:\n\n```sh\ntypst init @preview/ilm\n```\n\nTypst will create a new directory with all the files needed to get you started.\n\nThe template will initialize your package with a sample call to the `ilm` function in a\nshow rule. If you, however, want to change an existing project to use this template, you\ncan add a show rule like this at the top of your file:\n\n```typ\n#import \"@preview/ilm:2.0.0\": *\n\n#set text(lang: \"en\")\n\n#show: ilm.with(\n  title: [Your Title],\n  authors: \"Max Mustermann\",\n  date: datetime(year: 2024, month: 03, day: 19),\n  abstract: [#lorem(30)],\n  bibliography: bibliography(\"refs.bib\"),\n  figure-index: (enabled: true),\n  table-index: (enabled: true),\n  listing-index: (enabled: true)\n)\n\n// Your content goes below.\n```\n\n\u003e This template uses the [Iosevka] font for raw text. In order to use Iosevka,\n\u003e the font must be installed on your computer. In case Iosevka is not installed, as will be\n\u003e the case for Typst Web App, then the template will fall back to the default \"Fira Mono\"\n\u003e font.\n\n## Configuration\n\nThis template exports the `ilm` function with the following named arguments:\n\n| Argument (type) | Default Value | Description |\n| --- | --- | --- |\n| `cover-page` ([string], [content], or `none`) | `\"use-ilm-default\"` | Cover page customization. Set to `\"use-ilm-default\"` for the default cover page, `none` to skip the cover page, or provide custom content to create your own cover page. |\n| `title` ([content]) | `Your Title` | The title for your work. |\n| `authors` ([string] or [array]) | `none` | The author(s) of your work. Can be a string for a single author or an array of strings for multiple authors. Multiple authors will be displayed on separate lines with font size automatically scaled. |\n| `paper-size` ([string]) | `a4` | Specify a [paper size string] to change the page size. |\n| `date` ([datetime]) | `none` | The date that will be displayed on the cover page. |\n| `date-format` ([string]) | `[month repr:long] [day padding:zero], [year repr:full]` | The format for the date that will be displayed on the cover page. By default, the date will be displayed as `MMMM DD, YYYY`. |\n| `abstract` ([content]) | `none` | A brief summary/description of your work. This is shown on the cover page. |\n| `preface` ([content]) | `none` | The preface for your work. The preface content is shown on its own separate page after the cover. |\n| `chapter-pagebreak` ([bool]) | `true` | Setting this to `false` will prevent chapters from starting on a new page. |\n| `external-link-circle` ([bool]) | `true` | Setting this to `false` will disable the maroon circle that is shown next to external links. |\n| `footer` ([string] or `none`) | `\"page-number-alternate-with-chapter\"` | Footer style for page numbering. Set to `none` to disable footer entirely. Available styles: `\"page-number-alternate-with-chapter\"` (alternating sides with chapter name), `\"page-number-left-with-chapter\"`, `\"page-number-right-with-chapter\"`, `\"page-number-center\"`, `\"page-number-left\"`, `\"page-number-right\"`. |\n| `raw-text` ([string] or [dictionary]) | `(font: (\"Iosevka\", \"Fira Mono\"), size: 9pt)` | Customize raw text (code) styling. Set to `\"use-typst-default\"` to use Typst's default formatting, or provide a dictionary with `font` and `size` keys to customize. |\n| `table-of-contents` ([content]) | `outline()` | The result of a call to the [outline function][outline] or none. Setting this to `none` will disable the table of contents. |\n| `appendix` ([dictionary]) | `(enabled: false, title: \"Appendix\", heading-numbering-format: \"A.1.1.\", body: none)` | Setting `enabled` to `true` and defining your content in `body` will display the appendix after the main body of your document and before the bibliography. |\n| `bibliography` ([content]) | `none` | The result of a call to the [bibliography function][bibliography] or none. Specifying this will configure numeric, IEEE-style citations. |\n| `figure-index` ([dictionary]) | `(enabled: false, title: \"Index of Figures\")` | Setting this to `true` will display an index of image figures at the end of the document. |\n| `table-index` ([dictionary]) | `(enabled: false, title: \"Index of Tables\")` | Setting this to `true` will display an index of table figures at the end of the document. |\n| `listing-index` ([dictionary]) | `(enabled: false, title: \"Index of Listings\")` | Setting this to `true` will display an index of listing (code block) figures at the end of the document. |\n\nThe above table gives you a _brief description_ of the different options that you can\nchoose to customize the template. For a detailed explanation of these options, see the\n[example.pdf](https://github.com/talal/ilm/blob/main/example.pdf) file.\n\nThe function also accepts a single, positional argument for the body.\n\n\u003e The language setting for text (`lang` parameter of `text` function) should be\n\u003e defined before the `ilm` function so that headings such as table of contents and\n\u003e bibliography will be defined as per the text language.\n\n[bibliography]: https://typst.app/docs/reference/model/bibliography/\n[bool]: https://typst.app/docs/reference/foundations/bool/\n[content]: https://typst.app/docs/reference/foundations/content/\n[datetime]: https://typst.app/docs/reference/foundations/datetime/\n[dictionary]: https://typst.app/docs/reference/foundations/dictionary/\n[iosevka]: https://typeof.net/Iosevka/\n[outline]: https://typst.app/docs/reference/model/outline/\n[paper size string]: https://typst.app/docs/reference/layout/page#parameters-paper\n[string]: https://typst.app/docs/reference/foundations/str/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalal%2Film","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalal%2Film","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalal%2Film/lists"}