Skip to content
/ pastex Public

An online, easy-to-use LaTeX pasteboard. Used to work at https://pastex.cgm616.me.

License

Notifications You must be signed in to change notification settings

cgm616/pastex

Repository files navigation

PasTeX

GitHub Workflow Status Website

PasTeX is an online clipboard specifically meant to share math written in LaTeX.

When you create a new paste, any LaTeX in the input surrounded by math-mode tags will be rendered in the browser by KaTeX, resulting in beautiful, easy to share online math. PasTeX is aimed to solve a problem I've run up against over and over, and especially so during the COVID-19 pandemic: how can I effectively share math over the internet when communicating through a medium that doesn't support LaTeX?

How to use

Once you navigate to PasTeX, simply add any text you want to the sharing text area. If you want to include math in your paste, surround it with \( or $ for inline mode and \[ or $$ for display mode.

For example, the following input produced this paste:

Welcome to PasTeX! Here, we can do inline math like $\int f(x) dx$ and display mode math like $$\sum_{n\in\mathbb{N}} a_n .$$
White space is also respected, and display mode math is treated just like display mode in LaTeX.
More complicated math is also supported, like the following:

$$ \delta_{i, j} =
    \begin{cases}
      1, & i=j,\\
      0, & i\not= j.\\
    \end{cases}$$

rendered example

A full list of supported LaTeX functions and symbols can be found at the KaTeX documentation. Suffice it to say that most anything you might want to use in math-mode is supported.

Contributing

If you want to help make PasTeX better, feel free to open issues or a pull request! All help is appreciated.

License

PasTeX is MIT-licensed. The full text of the license can be found in the LICENSE file in the root of this repository.

About

An online, easy-to-use LaTeX pasteboard. Used to work at https://pastex.cgm616.me.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published