{"id":13411692,"url":"https://github.com/davidrzs/latexcss","last_synced_at":"2025-03-14T17:31:02.719Z","repository":{"id":171695616,"uuid":"92728442","full_name":"davidrzs/latexcss","owner":"davidrzs","description":"Nearly Classless CSS file to give html a latex-like look","archived":false,"fork":false,"pushed_at":"2020-04-25T21:24:03.000Z","size":858,"stargazers_count":152,"open_issues_count":0,"forks_count":18,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-07-31T20:48:38.129Z","etag":null,"topics":["classless-theme","css","latex"],"latest_commit_sha":null,"homepage":"https://davidrzs.github.io/latexcss/","language":null,"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/davidrzs.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}},"created_at":"2017-05-29T10:11:57.000Z","updated_at":"2024-06-22T06:58:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"41ce43e7-e7ab-481d-9333-4049bc533821","html_url":"https://github.com/davidrzs/latexcss","commit_stats":null,"previous_names":["davidrzs/latexcss"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrzs%2Flatexcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrzs%2Flatexcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrzs%2Flatexcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrzs%2Flatexcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidrzs","download_url":"https://codeload.github.com/davidrzs/latexcss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243618656,"owners_count":20320272,"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":["classless-theme","css","latex"],"created_at":"2024-07-30T20:01:15.831Z","updated_at":"2025-03-14T17:31:02.155Z","avatar_url":"https://github.com/davidrzs.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# LatexCSS\n\nlatex.css is a classless CSS file which can be attached to any html document to make it look like latex.\n\n[ An example can be found here ](https://davidrzs.github.io/latexcss/example.html)\n\n\n## How to use it?\nJust open your html file and add the following to your document head:\n```html\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"latex.css\"\u003e\n```\n(Of course you still need to download the latex.css file and place it in the same directory)\nThe whole document should now look similar to [ this example ](https://davidrzs.github.io/latexcss/example.html) .\n\n## Examples\n\n1. [The project website](https://davidrzs.github.io/latexcss/) \n2. [A text example](https://davidrzs.github.io/latexcss/example.html)\n3. [A math example](https://davidrzs.github.io/latexcss/math_example.html)\n\n## Theorems, Definitions and Proofs\nTheorems, Definitions, Remarks and Proofs are supported. Just wrap your content in a `div` and add the corresponding class to the `div` like in the following example. \n\n```html\n\u003cdiv class=\"theorem\"\u003e...\u003c/div\u003e\n\u003cdiv class=\"definition\"\u003e...\u003c/div\u003e\n\u003cdiv class=\"lemma\"\u003e...\u003c/div\u003e\n\u003cdiv class=\"proof\"\u003e...\u003c/div\u003e\n```\n\n### Numbered vs Not-numbered\nThere are two latex.css files in this repository. \n 1. latex.css -\u003e This is the normal one and numbers the theorems etc.\n 2. latex_no_numbers.css -\u003e Exactly the same as latex.css but doesn't number the theorems etc. \n\n## Credits:\nThis repository is more or less just a combination of other projects:\n- The latex styling has been taken from the awesome  [  WiTeX Github project ](https://github.com/AndrewBelt/WiTeX).\n- Theorem, Definition, Lemma and Proof environments have been inspired by [  this great blog post ](http://drz.ac/2013/01/17/latex-theorem-like-environments-for-the-web/). \n- The Theorem, Lemma and Definition counter has been inspired by a comment on [  this blog post ](http://drz.ac/2013/01/17/latex-theorem-like-environments-for-the-web/). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidrzs%2Flatexcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidrzs%2Flatexcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidrzs%2Flatexcss/lists"}