File: array.tex

package info (click to toggle)
latex2rtf 2.3.18a-5
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,392 kB
  • sloc: ansic: 20,424; makefile: 660; sh: 478; perl: 22
file content (32 lines) | stat: -rwxr-xr-x 715 bytes parent folder | download | duplicates (9)
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
\documentclass{article}
\usepackage{amsmath}
\begin{document}

This is an equation environment in which there is an array environment.  The equation below
is just a simple matrix equation without delimeters.  The three types of alignment are
tested.  
\begin{equation*}
w =  
\begin{array}{lcr}
x+y & y+2c & z * x^2 \\
x & y & z \\
x & y & z \\
x & y & z 
\end{array}
\end{equation*}

This is an equation environment in which there is an array environment.  The equation below
is just a simple matrix equation.  The three types of alignment are
tested.  
\begin{equation}
w = \left( 
\begin{array}{lcr}
x+y & y+2c & z * x^2 \\
x & y & z \\
x & y & z \\
x & y & z 
\end{array}
\right)
\end{equation}
\end{document}