Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Test math formula

    This is a formula: [\ \frac{\pi^2}{2} \], ok?

  • #2
    No, the backslash goes before the square bracket: \[ \frac{\pi^{2}}{3} \] -- ok now?

    Comment


    • #3
      Perhaps the line has to start with the bracket in a single line and to end with the bracket in a single line? Like this:
      \]
      \frac{\pi^{2}}{3}
      \]

      Comment


      • #4
        Testing math formula again:

        This is a formula: \[ \frac{\pi^2}{2} \], ok?

        Comment


        • #5

          \[ \mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \end{vmatrix} \]

          Comment


          • #6
            Yes, this does it.

            An important advice is:
            Note that when you first make a post or a reply with LaTeX in it, you may have to re-load the page you are on before you see the LaTeX rendered. It may appear as code until you do a fresh reload. Others who view the page will always see it properly, however.


            See Alan Riley's post here: https://www.statalist.org/forums/for...?p=367#post367

            Comment


            • #7
              Will it be possible to show the LaTeX code that will produce an inline formula like this \(\sqrt{3x-1}+(1+x)^2\)? I will try by simply putting code tags around a line containing inline LaTeX code:

              Code:
              An inline equation: \(\sqrt{3x-1}+(1+x)^2\), because it is nice to have the ability to mix math and text in a paragraph.

              Comment

              Working...
              X