summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/math-e/09-16-7.ltx
blob: c46d1fb2281a1aff5482975016b2f34b7573d21e (plain)
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
35
36
37
38
39
40
41
42
43
44
%% 
%%  An UIT Edition example
%% 
%%  Example 09-16-7 on page 184.
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\AtBeginDocument{\setlength\parindent{0pt}}
\setcounter{equation}{15}
\renewcommand\theequation{9.\arabic{equation}}
\StartShownPreambleCommands
\usepackage{gauss,fleqn}\renewcommand\rowmultlabel[1]{|\,\times#1}
\StopShownPreambleCommands
\begin{document}
\begin{equation}
  \begin{gmatrix}[p]
   1 &-2 & 1 & 2 \\ 2 & 3 &-2 & 3 \\ % rows 0 and 1
   4 &-1 & 3 &-1 \\ 3 & 2 &-4 & 5    % 2 and 3
  \rowops
  \mult{0}{(-2)} \add{0}{1} \mult{0}{(-4)}\add{0}{2} \mult{0}{(-3)} \add{0}{3}
  \end{gmatrix}
\end{equation}     % end matrix 1
\begin{equation}
  \begin{gmatrix}[p]
   1 &-2 & 1 & 2 \\ 0 & 7 &-4 &-1 \\% rows 0 and 1
   0 & 7 &-1 &-9 \\ 0 & 8 &-7 &-1   % 2 and 3
  \rowops
  \mult{1}{(-1)} \add{1}{2} \mult{1}{(-\frac{8}{7})} \add{1}{3}
  \end{gmatrix}
\end{equation}
\end{document}