-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.tex
93 lines (75 loc) · 3.12 KB
/
main.tex
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
% arara: latexmk: {options: [-pv]}
% arara: indent: {overwrite: yes, silent: yes, cruft: build}
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% MIT 18.06 Linear Algebra Notes
%
% Author: Ashirwad Barnwal
% Contact: [email protected]
% Encode: UTF-8, tabwidth = 4, newline = LF
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% ======================================================================
% Document Settings
% ======================================================================
% possible options: color/nocolor, english/german, threecolumn
% defaults: color, english
\documentclass[english]{latex4ei/latex4ei_sheet}
% set document information
\title{MIT 18.06 Notes}
\author{Ashirwad Barnwal} % optional, delete if unchanged
\myemail{[email protected]} % optional, delete if unchanged
\mywebsite{https://ashirwad.netlify.com/} % optional, delete if unchanged
% My packages
\usepackage{gauss}
\usepackage{makecell}
\renewcommand\cellalign{tl}
\usepackage{adjustbox}
\usepackage{mathtools}
\usepackage{systeme}
\usepackage{enumitem}
\usepackage{graphicx}
\usepackage{subfiles}
% From SO: https://tex.stackexchange.com/a/299241/180993
% \aug is a vertical strut that can be placed between columns of a matrix
\newcommand\aug{\fboxsep=-\fboxrule\!\!\!\fbox{\strut}\!\!\!}
% From SO: https://tex.stackexchange.com/a/146730/180993
% patch gauss macros for doing their work in `align'
% and other amsmath environments; see
% http://tex.stackexchange.com/questions/146532/
\usepackage{etoolbox}
\makeatletter
\patchcmd\g@matrix
{\vbox\bgroup}
{\vbox\bgroup\normalbaselines}% restore the standard baselineskip
{}{}
\makeatother
\newcommand{\BAR}{%
\hspace{-\arraycolsep}%
\strut\vrule % the `\vrule` is as high and deep as a strut
\hspace{-\arraycolsep}%
}
% Taken from the SO answer: https://tex.stackexchange.com/a/100553/180993
\newcommand{\verteq}{\rotatebox{90}{$\,=$}}
\newcommand{\equalto}[2]{\underset{\scriptstyle\overset{\mkern4mu\verteq}{#2}}{#1}}
% Taken from the SO answer: https://tex.stackexchange.com/a/12914/180993
\newcommand*{\vertbar}{\rule[-1ex]{0.5pt}{2.5ex}}
\newcommand*{\horzbar}{\rule[.5ex]{2.5ex}{0.5pt}}
% Taken from the SO answer: https://tex.stackexchange.com/a/69665/180993
\expandafter\def\expandafter\normalsize\expandafter{%
\normalsize
\setlength\abovedisplayskip{3pt}
\setlength\belowdisplayskip{3pt}
\setlength\abovedisplayshortskip{3pt}
\setlength\belowdisplayshortskip{3pt}
}
% ======================================================================
% Begin
% ======================================================================
\begin{document}
\subfile{lectures/lec01_the-geometry-of-linear-equations}
\subfile{lectures/lec02_elimination-with-matrices}
\subfile{lectures/lec03_multiplication-and-inverse-matrices}
\subfile{lectures/lec04_factorization-into-a-equals-lu}
% ======================================================================
% End
% ======================================================================
\end{document}