Skip to content

Commit

Permalink
theoretic v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Feb 4, 2025
1 parent dc189ac commit d047614
Show file tree
Hide file tree
Showing 4 changed files with 702 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/preview/theoretic/0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Theoretic

> Opinionated tool to typeset theorems, lemmas and such
Example Usage:
```typ
#import "@preview/theoretic:0.1.0" as theoretic: theorem, proof, qed
// Otherwise, references won't work.
#show ref: theoretic.show-ref
// set up your needed presets
#let corollary = theorem.with(kind: "corollary", supplement: "Corollary")
#let example = theorem.with(kind: "example", supplement: "Example", number: none)
// ..etc
// use
#theorem(title: [Important Theorem])[#lorem(5)]
#corollary[#lorem(5)]
#example[#lorem(5)]
// ..etc
```

[Full manual: ![first page of the documentation](https://github.com/nleanba/typst-theoretic/raw/refs/tags/v0.1.0/preview.svg)](https://github.com/nleanba/typst-theoretic/blob/v0.1.0/main.pdf)
24 changes: 24 additions & 0 deletions packages/preview/theoretic/0.1.0/UNLICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <https://unlicense.org>
Loading

0 comments on commit d047614

Please sign in to comment.