# ReLaXed VS MathJax

## ReLaXed

Create PDF documents using web technologies (by RelaxedJS)

## MathJax

Beautiful and accessible math in all browsers (by mathjax)
• SonarQube - Static code analysis for 29 languages.
• OPS - Build and Run Open Source Unikernels
• Scout APM - Less time debugging, more time building
ReLaXed MathJax
1 20
11,664 8,599
0.1% 0.9%
0.0 2.6
9 days ago about 2 months ago
JavaScript
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

## ReLaXed

Posts with mentions or reviews of ReLaXed. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-04.
• Beautiful PDFs from HTML
13 projects | news.ycombinator.com | 4 Apr 2021
A few years ago I started an alternative to PrinceXML called ReLaXed.js [1], it's always been sufficient for my reports but it may lack some pagination/layout features that Paged.js may have as they seem to have given this much more thoughts (still wrapping my head around whether paged.js could be "plugged into" Relaxed).

## MathJax

Posts with mentions or reviews of MathJax. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-28.
• Show HN: AlexCalc, a scientific calculator with LaTeX equation display
2 projects | news.ycombinator.com | 28 Jan 2022
Thanks a lot! I see now, I am able to reproduce the issue if I go into chrome://flags, search for "Auto Dark Mode for Web Contents", and select "Enabled with simple HSL-based inversion". Just choosing "Enabled" seemed to break the LaTeX entirely. (Please let me know if that isn't roughly what you did)

I don't know how I'll fix this (I've never really debugged mobile web specific stuff before), but I'll look into it this weekend.

There must be a way to fix it, since I don't see the issue when going to https://www.mathjax.org/#demo and entering something like this: $$\frac{1}{\sqrt{2}}$$

• AlexCalc, a free/ad free scientific calculator with LaTeX equation display, designed for engineering students
2 projects | reddit.com/r/androidapps | 3 Jan 2022
LaTeX equation display uses MathJax in a webview.
2 projects | reddit.com/r/androidapps | 3 Jan 2022
This is the library that I used: https://www.mathjax.org/
• Monte Carlo Options Pricing
2 projects | reddit.com/r/quant | 21 Dec 2021
• MathRenderer for Android
3 projects | dev.to | 16 Dec 2021
MathRenderer is a simple and easy to use kotlin library for rendering mathematical equations or formulas in your android application. It is based on the MathJax javascript library. It renders all the equations or formulas in a WebView as MathRendererView.
• Convert latex notation to ready to be embedded Markdown
7 projects | news.ycombinator.com | 4 Dec 2021
Unfortunately there is no common in-browser Math rendering and as the referenced article points out, pictures of equations are not the solution [2]. A common mathematics rendering format is desperately needed but nobody really seems motivated to solve it.

My approach is to use MathML that is rendered natively by Firefox and use JS to render in other browsers [3]. MathJax is way too heavy the last time I checked (growing towards 1MB) [4]. Instead I use math-ml, a JS library that is somewhat complete/abandoned but mostly works in about 80kB [5].

My rational for supporting Firefox's approach is that it's the browser I use, MathML is supported by W3C [6], MathML is supported by pandoc and there is a lightweight workaround for other browsers.

• Menulis Notasi Matematika Menggunakan MathJax
1 project | dev.to | 7 Nov 2021
MathJax
• VS Code Markdown Preview + GH Pages?
10 projects | reddit.com/r/vscode | 22 Oct 2021
Fundamentally, I'd love for my math/markdown notes to be portable, not just viewable via a markdown reader. Ideally, with as little work as possible I'd LOVE it if I could just publish my .md as Jekyll posts hosted on Github Pages. Unfortunately as far as I can tell, GH Pages used kramdown which accomodates math-mode for MathJax rather than KaTeX.
• Building A math community.
1 project | dev.to | 17 Sep 2021
For the technology I am going to use React and Express for the technological infrastructure. I am unsure what I am going to use for the math related structure but I am leaning towards MathJax. If you are unfamiliar with MathJax, don't worry I am making a blog post explaining what it is.
• MathJax and Hugo
3 projects | dev.to | 16 Sep 2021
The is a marvelous article which explains how to use Hugo and MathJax in close harmony. Unfortunately it was written a while ago and only works for MathJax 2.x. This article updates the content of the original to MathJax > 3.1. The original is still worth reading as it nicely explains the functionality.

## What are some alternatives?

When comparing ReLaXed and MathJax you can also consider the following projects:

KaTeX - Fast math typesetting for the web.

mathquill - Easily type math in your webapp

WeasyPrint - The awesome document factory

asciidoctor-web-pdf - Convert AsciiDoc documents to PDF using web technologies

pandoc - Universal markup converter

SnappySnippet - Chrome extension that allows easy extraction of CSS and HTML from selected element.

kramdown - kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.

SingleFile - Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file

pdf - Tutorial on paged.js