File: array_math.tex

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (34 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\documentclass{article}
\usepackage{latexml}
\usepackage{amsmath}
\def\mockarray{\begin{array}{cc} 
  a & b \\
  c & d \end{array}}
\def\mockcases{\begin{cases}
  d & c \\
  b & a \end{cases}}

\begin{document}

% standalone cases 
\[\mockcases\]

% standalone array
\[\mockarray\]
  
% lbrace array 
\[\{ \mockarray\]
  
% rbrace array 
\[\mockarray \}\]

% matrix multiplication
\[ \mockarray \mockcases \]

% matrix in inequality
\[ a + b < \mockarray \]

% opfunction equation with piecewise matrix
\[ \arcsin \pi + \neg a = \{ \mockarray \]

\end{document}