Why Vector SVG & High-DPI PNG Beat Formula Screenshots
Putting mathematical formulas into PowerPoint, Keynote, Figma, or technical blog posts by taking a screen capture almost always looks amateurish: text edges look blurry on Retina displays, dark-theme slides get stuck with an ugly white rectangle around the equation, and scaling the image up reveals jagged pixels.
Rendering crisp, publication-grade equation graphics locally takes three steps:
- Enter your LaTeX expression: Type or paste any formula (outer
$,$$,\[...\]delimiters and\bmmacros are handled automatically). - Customize color, background, and scale: Pick Dark, White, or Accent Blue ink, choose Transparent or White background, and select
2x,3x, or4xPNG resolution. - Copy or download: Click Copy PNG to paste directly onto a PowerPoint or Keynote slide (
Ctrl+V), or download the PNG or infinite-resolution SVG file.
SVG vs. High-DPI PNG: Which Format Should You Export?
Choosing between vector SVG and raster PNG depends on where the equation will live.
How Vector Path Compilation Guarantees Font Consistency
Unlike browser screenshot tools (html2canvas) that depend on local CSS fonts loading properly, this tool compiles your TeX expression using MathJax v3 (TeX → SVG with fontCache: 'none').
- Self-contained vector paths: Every symbol, integral sign, square root, and matrix bracket is emitted as pure SVG
<path>geometry—meaning the downloaded SVG renders identically even on machines without TeX or STIX fonts installed. - Display vs. Inline layout: Toggle Display for centered full-height integrals and summations, or Inline for compact equations meant to sit beside slide bullets.
- No external network calls: Formula compilation and offscreen
<canvas>PNG rasterization happen 100% inside your browser tab.
Pasting Equations Into PowerPoint, Keynote, and Figma
- PowerPoint & Keynote: Click Copy PNG (
3xor4xrecommended), switch to your slide, and pressCtrl+V(Cmd+V) to drop a razor-sharp transparent equation image. - Figma & Illustrator: Click Download SVG or Copy SVG and paste directly onto the canvas; you can recolor or scale individual math glyphs infinitely without pixelation.
Real-World Walkthrough: Creating a White Rotation Matrix for a Dark Slide
Suppose you are preparing a robotics talk on a dark #111827 slide background and need the 2D rotation matrix A = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}.
Click the 2D Matrix preset, set Ink Color to White, Background to Transparent, and PNG Resolution Scale to 4x. The preview verifies crisp white vector math over a dark checkerboard, and clicking Copy PNG places a high-DPI transparent graphic on your clipboard ready to paste onto your slide.
Under the Hood: MathJax TeX-to-SVG and Offscreen Canvas Pipeline
textLaTeX Input ──▶ Delimiter Normalizer ──▶ MathJax TeX → Vector SVG (<path>) │ ┌───────────────────────────────┴───────────────────────────────┐ ▼ ▼ Download / Copy SVG Offscreen <canvas> (2x/3x/4x) (Infinite vector scaling) (Transparent PNG Blob & Clipboard)
Because dimensions are converted from ex units to explicit pixel bounds before drawing onto <canvas>, the exported PNG preserves exact padding and aspect ratio without clipping tall fractions or subscripts.
Tips for Crisp Equations in Slides and Docs
Rendering mathematical notation as an image is often the fastest way to share formulas in tools that lack native TeX support, such as PowerPoint, Keynote, Figma, Google Slides, and social posts. A few practical settings ensure your exported equations stay razor-sharp on every screen:
- Choose SVG for Print and Vector Design: Whenever your target editor accepts
.svgfiles—such as Figma, Illustrator, Notion, or modern web pages—export SVG. Vector paths scale infinitely without pixelation and keep file sizes tiny. - Use 3x or 4x Scale for Transparent PNGs: Standard 1x raster images look blurry on Retina, 4K, and projector displays. Rendering at 3x or 4x pixel density produces crisp curves even when you enlarge an equation inside a slide deck.
- Match Ink Color to Your Slide Theme: Light text (
#F8FAFC) on a transparent background works cleanly on dark presentation themes, whereas dark ink (#0F172A) is ideal for white documents and academic posters. - Prefer Display Math for Multi-Line Blocks: For
aligned,cases, or stacked fractions, keep Display mode enabled so MathJax allocates full vertical spacing for limits, integrals, and matrix brackets without cramped subscripts.