{"id":21458955,"url":"https://github.com/max-te/refstate","last_synced_at":"2025-03-17T04:20:08.657Z","repository":{"id":203795832,"uuid":"612680354","full_name":"max-te/refstate","owner":"max-te","description":"Restate \u0026 prestate amsthm theorems using their labels.","archived":false,"fork":false,"pushed_at":"2024-10-10T18:35:16.000Z","size":337,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T13:45:39.903Z","etag":null,"topics":["amsthm","hyperref","latex","latex-package","mathematics"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lppl-1.3c","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/max-te.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":"2023-03-11T17:01:14.000Z","updated_at":"2024-10-10T18:35:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b3f1cfc-5ffd-459a-b051-b8d6fde12342","html_url":"https://github.com/max-te/refstate","commit_stats":null,"previous_names":["max-te/refstate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Frefstate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Frefstate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Frefstate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Frefstate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-te","download_url":"https://codeload.github.com/max-te/refstate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243971180,"owners_count":20376784,"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":["amsthm","hyperref","latex","latex-package","mathematics"],"created_at":"2024-11-23T06:25:32.928Z","updated_at":"2025-03-17T04:20:08.647Z","avatar_url":"https://github.com/max-te.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# refstate\n\nThe `refstate` package provides a mechanism to pre-state and re-state theorems in a LaTeX document.\nIt relies on the implementation details of the `amsthm` package and **may break if those details change**.\n\n## Usage\n\nTo use the `refstate` package, install `refstate.sty` and include it in your document preamble with:\n\n```tex\n\\usepackage{refstate}\n```\n\nDeclare your theorem environments like normal.\n\n```tex\n\\theoremstyle{plain}\n\\newtheorem{THM}{Theorem}[section]\n```\n\nYou can then use the `store` environment to define a theorem like this.\n\n```tex\n\\begin{store}{THM}[Blue sky theorem]\\label{thmmain}\n    The sky is blue.\n\\end{store}\n```\n\nElsewhere in the document (before or after), use the `refstate` command to reference it.\n\n```tex\n\\refstate{thmmain}\n```\n\n## Building\n\nRun `tex refstate.dtx` to rebuild `refstate.sty`, then `pdflatex refstate.dtx` to compile the documentation.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Frefstate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-te%2Frefstate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Frefstate/lists"}