Freitag, 17 November 2017 16:13

Beispiele: Labeled Equation

geschrieben von
Artikel bewerten
(0 Stimmen)


MathJax Equation References

A test of Equation References

Here is a labeled equation: $$x+1\over\sqrt{1-x^2}\label{ref1}$$ with a reference to ref1: \ref{ref1}, and another numbered one with no label: $$x+1\over\sqrt{1-x^2}$$ This one uses \nonumber: $$x+1\over\sqrt{1-x^2}\nonumber$$

Here's one using the equation environment: \begin{equation} x+1\over\sqrt{1-x^2} \end{equation} and one with equation* environment: \begin{equation*} x+1\over\sqrt{1-x^2} \end{equation*}

This is a forward reference [\ref{ref2}] and another \eqref{ref2} for the following equation: $$x+1\over\sqrt{1-x^2}\label{ref2}$$ More math: $$x+1\over\sqrt{1-x^2}$$ Here is a ref inside math: \(\ref{ref2}+1\) and text after it. \begin{align} x& = y_1-y_2+y_3-y_5+y_8-\dots && \text{by \eqref{ref1}}\\ & = y'\circ y^* && \text{(by \eqref{ref3})}\\ & = y(0) y' && \text {by Axiom 1.} \end{align} Here's a bad ref [\ref{ref4}] to a nonexistent label.

An alignment: \begin{align} a&=b\label{ref3}\cr &=c+d \end{align} and a starred one: \begin{align*} a&=b\cr &=c+d \end{align*}

Gelesen 896 mal Letzte Änderung am Freitag, 17 November 2017 16:13

1 Kommentar

  • Kommentar-Link fleck water softeners for sale Dienstag, 07 April 2020 20:22 gepostet von fleck water softeners for sale

    It's appropriate time to make some plans for the future and it's time
    to be happy. I've read this post and if I could I wish to suggest you few
    interesting things or suggestions. Perhaps you can write next articles referring to this article.
    I want to read even more things about it!

Schreibe einen Kommentar

Bitte achten Sie darauf, alle Felder mit Stern * zu füllen. HTML-Code ist nicht erlaubt.