{"id":22901274,"url":"https://github.com/mooerslab/manuscriptintypst","last_synced_at":"2026-01-30T14:38:24.092Z","repository":{"id":258575513,"uuid":"871414187","full_name":"MooersLab/manuscriptInTypst","owner":"MooersLab","description":"Template for first submission of manuscript.","archived":false,"fork":false,"pushed_at":"2024-11-01T17:31:46.000Z","size":840,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T05:41:52.530Z","etag":null,"topics":["scientific-writing","template-journal-article-first-submission","typst"],"latest_commit_sha":null,"homepage":"","language":"Typst","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/MooersLab.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-10-11T23:17:53.000Z","updated_at":"2024-12-10T16:22:10.000Z","dependencies_parsed_at":"2024-10-19T16:43:05.586Z","dependency_job_id":"20f7f33a-f198-434a-a84d-4a48a1b62602","html_url":"https://github.com/MooersLab/manuscriptInTypst","commit_stats":null,"previous_names":["mooerslab/manuscriptintypst"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MooersLab%2FmanuscriptInTypst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MooersLab%2FmanuscriptInTypst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MooersLab%2FmanuscriptInTypst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MooersLab%2FmanuscriptInTypst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MooersLab","download_url":"https://codeload.github.com/MooersLab/manuscriptInTypst/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253857319,"owners_count":21974709,"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":["scientific-writing","template-journal-article-first-submission","typst"],"created_at":"2024-12-14T01:32:39.565Z","updated_at":"2026-01-30T14:38:19.054Z","avatar_url":"https://github.com/MooersLab.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Version](https://img.shields.io/static/v1?label=manuscriptInTypst\u0026message=0.4\u0026color=brightcolor)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n# First submission manuscript template in Typst\n\nA nice introduction to Typst in October 2024 by Dr. Chase Brown of the University of Central Florida is found [here](https://mediasite.ouhsc.edu/Mediasite/Channel/python/browse/null/most-recent/null/0/null).\n\n\n## Purpose\n\nPrepare PDF for initial manuscript submission by using typst, a typesetting system written in Rust. Typst compiles small documents faster than LaTeX. This project has been developed enough to support the preparation of manuscripts of journal articles for the first submission. Its support for edge cases is underdeveloped.\n\n## Features\n- Barebones (i.e., no template file) for simplicity\n- Two variants: classic and arvix-like.\n- Line numbering\n- Short author list, running title, and date printed in the header. This supports editing printed copies of multiple manuscripts while traveling.\n- 1/N page numbering\n- Biblatex (sorry, not support for BibTeX).\n- example\n  + figure\n  + table\n  + equation \n\n## Sample title page of classic variant\n\n![ClassicTitle](https://github.com/user-attachments/assets/5f5e2da9-a764-4a19-8c9f-0dea23cc9298)\n\nThe footnote with the corresponding author's contact information is not shown.\n\n\n## Sample Introduction page of classic variant\n\nThe abstract is on the second page.\nThe Introduction starts on the third page.\nNote the short author list, running title, and today's date in the header.\nNote the format of the page numbers in the lower right.\n\n![ClassicIntroduction](https://github.com/user-attachments/assets/1f7bd37f-e2a4-4407-ac05-beaa75386b9e)\n\n\n\n\n## Sample of first page of arvix-like variant\n\n\n![arvix-like](https://github.com/user-attachments/assets/523f2054-25ec-4f05-8e47-58637fa97b07)\n\n\n## Contents\n- typst source file template\n- BibLATeX file\n- sample PDF\n\n\n## Requirements\n\n- typst version 0.12.0 (required for line numbers, released October 18, 2024) \n\nIf you use tinymist, you will need the corresponding version, release October 19, 2024.\n\n## Easy-peasy use\n\nRun in typst.app on-line or run via tinymist (e.g., `tinymist preview classic.typ`) while classic.typ is open in any text editor.\nThe rendered version will appear in your default browser.\nIt updates with each save operation in the text editor.\n\nCompile to PDF by entering in terminal `typst compile \u003ctypst filename prefix\u003e.typ`.\n\n## Bash or zsh function to compile and open in Preview.app on Mac (optional)\n\nTypst compiles the *.typfile so quickly that you might as well pop open the PDF: `typc \u003cfilename prefix\u003e`.\n\n```bash\nfunction typc {\necho \"Compile typst file to PDF and display PDF file.\"\nif [ $# -lt 1 ]; then\n  echo 1\u003e\u00262 \"$0: not enough arguments\"\n  echo \"Usage1: typc \u003cfilename prefix\u003e\"\n  return 2\nelif [ $# -gt 1 ]; then\n  echo 1\u003e\u00262 \"$0: too many arguments\"\n  echo \"Usage1: typc  \u003ctypst filename prefix\u003e\"\n  return 2\nfi\ntypst compile $1.typ \u0026\u0026 pre $1.pdf\n}\n```\n\n## Bash or zsh function to preview typst file with tinymist (optional)\n\nYes, I hate typing: `tmp \u003ctypst filename prefix\u003e\"\n\n```bash\nfunction tmp {\necho \"Preview typst file in browser via tinymist.\"\nif [ $# -lt 1 ]; then\n  echo 1\u003e\u00262 \"$0: not enough arguments\"\n  echo \"Usage1: tmp \u003cfilename prefix\u003e\"\n  return 2\nelif [ $# -gt 1 ]; then\n  echo 1\u003e\u00262 \"$0: too many arguments\"\n  echo \"Usage1: typc  \u003cfilename prefix\u003e\"\n  return 2\nfi\ntinymist preview $1.typ\n}\n```\n\n## Bash or zsh function to project initiation (optional)\n\nPaste into where ever you store your bash functions (.e.g., .bashrc or .bashFunctions sourced from .bashrc).\nCustomize the file paths to meet your needs.\nDefault to opening the classic variant. \nThis is what most biology journals expect.\nIn computer science, use the arvix-like variant.\n\n```bash\nfunction typman {\necho \"Copy template manuscript in typst with project number in title.\"\nif [ $# -lt 1 ]; then\n  echo 1\u003e\u00262 \"$0: not enough arguments\"\n  echo \"Usage1: typman projectID\"\n  return 2\nelif [ $# -gt 1 ]; then\n  echo 1\u003e\u00262 \"$0: too many arguments\"\n  echo \"Usage1: typman projectID\"\n  return 2\nfi\nprojectID=\"$1\"\necho \"Write manuscript to manu$1.typ file.\"\ncp  ~/6112MooersLabGitHubLabRepos/manuscriptInTypst/classic-first-submission-manuscript.typ manu$1.typ\ncp  ~/6112MooersLabGitHubLabRepos/manuscriptInTypst/first-submission.bib .\ncp  ~/6112MooersLabGitHubLabRepos/manuscriptInTypst/words10.png .\n}\n\nfunction mantyp {\necho \"Copy template writing manuscript in typst with project number in title.\"\nif [ $# -lt 1 ]; then\n  echo 1\u003e\u00262 \"$0: not enough arguments\"\n  echo \"Usage1: mantyp projectID\"\n  return 2\nelif [ $# -gt 1 ]; then\n  echo 1\u003e\u00262 \"$0: too many arguments\"\n  echo \"Usage1: mantyp projectID\"\n  return 2\nfi\nprojectID=\"$1\"\necho \"Write manuscript to manu$1.typ file.\"\ncp  ~/6112MooersLabGitHubLabRepos/manuscriptInTypst/classic-first-submission-manuscript.typ manu$1.typ\ncp  ~/6112MooersLabGitHubLabRepos/manuscriptInTypst/first-submission.bib .\ncp  ~/6112MooersLabGitHubLabRepos/manuscriptInTypst/words10.png .\nsay 'The manuscript template has been copied.'\n}\n```\n\n## Use in Emacs\n\nInstall the `typst-ts-mode` package beforehand.\n\n\n## Update history\n\n|Version       |Changes                                                                                               |Date                       |\n|:-------------|:-----------------------------------------------------------------------------------------------------|:--------------------------|\n| Version 0.1  | Initiate project. Added badges, funding, and update table.                                           | 2024 October 11           |\n| Version 0.2  | Added bash function to ease initiating new manuscript in typst.                                      | 2024 October 13           |\n| Version 0.3  | Added classic version.  Added date to running title. Centered title on title page                    | 2024 October 17           |\n| Version 0.4  | Added two bash functions to README.md for convenience.                                               | 2024 October 19           |\n\n## Sources of funding\n\n- NIH: R01 CA242845\n- NIH: R01 AI088011\n- NIH: P30 CA225520 (PI: R. Mannel)\n- NIH: P20 GM103640 and P30 GM145423 (PI: A. West)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooerslab%2Fmanuscriptintypst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmooerslab%2Fmanuscriptintypst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooerslab%2Fmanuscriptintypst/lists"}