Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support math expressions in typst style #57

Merged
merged 3 commits into from
Apr 25, 2024
Merged

Conversation

Lambdaris
Copy link
Contributor

Typst is a new markup-based typesetting system and has more consistent and expressive styling system compared with LaTeX.
From my experience typst style is more comfortable in informal scientific writing such as blog. Here are some examples.

This pr allow users to write typst style mathmatical expressions. If set math=true or math="KaTeX" katex is still enabled while if math=typst is set a render based on wypst will take over the maths. The two unreadable files under static/js are compiled from here.

Besides a minor commit loading data.toml from section directories is added, by which two or more project-like sections could coexist.

At last, thanks for your pretty themes!

@Lambdaris Lambdaris force-pushed the upstream branch 6 times, most recently from 28553b7 to 3c2995a Compare April 21, 2024 13:41
templates/projects.html Outdated Show resolved Hide resolved
templates/macros/math.html Outdated Show resolved Hide resolved
USAGE.md Outdated Show resolved Hide resolved
templates/macros/math.html Outdated Show resolved Hide resolved
static/js/typst-auto-render.js Outdated Show resolved Hide resolved
templates/projects.html Outdated Show resolved Hide resolved
@isunjn isunjn merged commit 179ea78 into isunjn:main Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants