{"id":31793020,"url":"https://github.com/extua/nth","last_synced_at":"2026-02-19T04:31:39.876Z","repository":{"id":197572349,"uuid":"698910007","full_name":"extua/nth","owner":"extua","description":"Typst package for adding english ordinals to numbers, eg. 1st, 2nd, 3rd, 4th.","archived":false,"fork":false,"pushed_at":"2024-06-20T11:31:28.000Z","size":28,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-10T17:57:56.292Z","etag":null,"topics":["typst-package"],"latest_commit_sha":null,"homepage":"https://typst.app/universe/package/nth","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/extua.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}},"created_at":"2023-10-01T11:03:28.000Z","updated_at":"2025-08-12T10:46:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"8db629e7-71f8-4f10-90ac-51b6f9fb92bf","html_url":"https://github.com/extua/nth","commit_stats":null,"previous_names":["extua/nth"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/extua/nth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extua%2Fnth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extua%2Fnth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extua%2Fnth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extua%2Fnth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extua","download_url":"https://codeload.github.com/extua/nth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extua%2Fnth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29603058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T04:01:40.476Z","status":"ssl_error","status_checked_at":"2026-02-19T04:01:12.960Z","response_time":117,"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":["typst-package"],"created_at":"2025-10-10T17:57:50.895Z","updated_at":"2026-02-19T04:31:39.860Z","avatar_url":"https://github.com/extua.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nth\n\nProvides functions `#nth()` and `#nths()` which take a number and return it suffixed by an english ordinal.\n\nThis package is named after the nth [LaTeX macro](https://ctan.org/pkg/nth) by Donald Arseneau.\n\n## Usage\n\nInclude this line in your document to import the package.\n\n```typst\n#import \"@preview/nth:1.0.1\": *\n```\n\nThen, you can use `#nth()` to markup ordinal numbers in your document.\n\nFor example, `#nth(1)` shows 1st,  \n`#nth(2)` shows 2nd,  \n`#nth(3)` shows 3rd,  \n`#nth(4)` shows 4th,  \nand `#nth(11)` shows 11th.\n\nIf you want the ordinal to be in superscript, use `#nths` with an 's' at the end.\n\nFor example, `#nths(1)` shows 1\u003csup\u003est\u003c/sup\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextua%2Fnth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextua%2Fnth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextua%2Fnth/lists"}