Difference between revisions of "Test page"

From Bitnami MediaWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
     return handle(e)
 
     return handle(e)
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
test matrix equation
 +
<math>
 +
\begin{bmatrix}
 +
1 & 2 & 0 & 0\\
 +
2 & 1 & 0 & 0 \\
 +
0 & 2 & 1 & 0\\
 +
0 & 0 & 0 & 1\\
 +
\end{bmatrix}
 +
</math>
 +
 +
 +
<math> \int F\cdot \mathbf{r} dr </math>

Latest revision as of 22:18, 19 June 2021

i'm wonder how this works

  • supports lists
  1. supports numbering

$e=mc^2$ supports latex testing code tag

def catch(func, *args, handle=lambda e: None, **kwargs)
 try:
    return func(*args, **kwargs)
  except Exception as e:
    return handle(e)

test matrix equation [math]\displaystyle{ \begin{bmatrix} 1 & 2 & 0 & 0\\ 2 & 1 & 0 & 0 \\ 0 & 2 & 1 & 0\\ 0 & 0 & 0 & 1\\ \end{bmatrix} }[/math]


[math]\displaystyle{ \int F\cdot \mathbf{r} dr }[/math]