Skriving · verktøy

LaTeX-ligningsgenerator

Skriv inn et matematisk uttrykk med støttede LaTeX-kommandoer, og forhåndsvis det.

Kjøres i nettleseren. Ingen opplasting.

Values are processed locally in this browser.

Result

—

Om verktøyet

LaTeX-ligningsgenerator sem complicação.

Denne nettleserbaserte gjengiveren støtter et delsett av matematisk notasjon. Den kompilerer ikke LaTeX-dokumenter og kjører ikke vilkårlige kommandoer.

Veiledning

Slik bruker du LaTeX-ligningsgenerator

The LaTeX Equation Renderer turns a line of LaTeX math, such as a fraction or an integral, into a clean picture you can download as an SVG file. You type the formula, press Calculate and see it drawn in the page. It handles math expressions only. It does not build whole LaTeX documents, load packages or run commands that reach outside the formula.

Slik gjør du

  1. Type or paste your math into the LaTeX equation box, for example \frac{a}{b} = c. Write only the formula, without dollar signs.
  2. Press Calculate. The formula is drawn below, and the status line says it was rendered in your browser.
  3. Use the Download link to save the picture as an SVG file, or Copy result to copy the LaTeX text you typed.
  4. Press Clear to start over. If you see an error line, fix the formula and press Calculate again.

Eksempler

A simple fraction

Du skriver inn
Ligning
\frac{a}{b} = c
Du får
Status
Ligningen ble gjengitt lokalt i denne nettleseren.
Bilde
a over b equals c
Nedlasting
SVG

A fraction, an equals sign and a letter are all basic math, so the picture is drawn at once and an SVG is ready to download.

Kjørt med verktøyets egen kode.

The quadratic formula

Du skriver inn
Ligning
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
Du får
Status
Equation rendered locally in this browser.

Nested fractions, a square root, powers and the plus-minus sign all work together in one formula.

Kjørt med verktøyets egen kode.

A matrix

Du skriver inn
Ligning
\begin{pmatrix}1&2\\3&4\end{pmatrix}
Du får
Status
Equation rendered locally in this browser.

The matrix environment is drawn with round brackets. Use & between entries and a double backslash to start a new row.

Kjørt med verktøyets egen kode.

A command that is blocked

Du skriver inn
Ligning
\href{http://x}{y}
Du får
Status
This equation contains a command that is not supported in the safe browser renderer.

Commands that can add links, styles, files or definitions are refused before drawing. The list includes href, url, html, class, style, input, def and newcommand.

Kjørt med verktøyets egen kode.

An unfinished formula

Du skriver inn
Ligning
\frac{a
Du får
Status
This expression could not be rendered. Check the supported notation.

The closing brace is missing, so nothing is drawn and the preview is cleared.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Make an equation picture for a slide, a poster or a web page.
  • Check that a formula you wrote in LaTeX is correct before you paste it into a document.
  • Create a vector equation that stays sharp at any size.
  • Preview math for a class handout.

Begrensninger

  • The formula can be 1 to 1,000 characters. Anything longer is refused.
  • These commands are blocked: require, href, url, html, class, style, includegraphics, input, write, def, newcommand, renewcommand, tag, label and ref.
  • It draws a math formula only. Text outside math, document layout, citations and extra LaTeX packages are not available. The page calls it a subset of math notation.
  • Some mistakes do not stop the drawing. An unknown command such as \foo can come out as plain text and the status still says rendered, and after a failed try the Download link may still hold the last good picture.

Tips

  • Write the formula without surrounding dollar signs or \[ \] marks; the tool adds them.
  • Use braces for anything longer than one character in a power or fraction, such as x^{10}.
  • Check the drawn picture, not only the status line, before you download the file.

Kilder

Vanlige spørsmål

Sobre LaTeX-ligningsgenerator.

What can I type in the box?

Standard LaTeX math, such as fractions with \frac, roots with \sqrt, sums and integrals, Greek letters, powers, subscripts and matrix environments. It uses the MathJax renderer, so commands that MathJax supports in math mode generally work.

Do I need dollar signs around the formula?

No. Type the formula alone. The tool places it inside a display math block for you. Leave them out so the formula is not wrapped twice.

How do I save the result?

Use the Download link after a successful drawing to get an SVG file named usefulverse-equation.svg. SVG is a vector format, so it can be scaled without going blurry. Copy result copies the LaTeX text, not the picture.

Why was my command refused?

Commands that could add links, change styles, define macros or touch files are blocked, to keep the renderer safe. The status line says the equation contains a command that is not supported. Remove that command and try again.

Why does my formula show a plain word instead of math?

An unknown command, such as a misspelled name, may be drawn as plain text, and the status can still say rendered. Always look at the picture and compare it with what you meant to write.

Is my formula sent to a server?

No. The renderer runs from a file served by the site and draws the formula in your browser. The page says your input is not uploaded. The SVG is created on your device when you download it.

Hvordan bruker du LaTeX-ligningsgenerator?

Skriv inn et matematisk uttrykk med støttede LaTeX-kommandoer, og forhåndsvis det.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.