summaryrefslogtreecommitdiffstats
path: root/intro.tex
diff options
context:
space:
mode:
authortanyaionova <isaqtm@gmail.com>2019-11-16 21:35:30 +0300
committertanyaionova <isaqtm@gmail.com>2019-11-16 21:35:30 +0300
commit7360c0ae23653ff0fddec16f91f5eaed88529dfb (patch)
treed7b497075673a37c73a49caef381efc763d31b2c /intro.tex
downloadalg2-7360c0ae23653ff0fddec16f91f5eaed88529dfb.tar.gz
First bunch
Diffstat (limited to 'intro.tex')
-rw-r--r--intro.tex68
1 files changed, 68 insertions, 0 deletions
diff --git a/intro.tex b/intro.tex
new file mode 100644
index 0000000..f718571
--- /dev/null
+++ b/intro.tex
@@ -0,0 +1,68 @@
+\usepackage[sfdefault,condensed,scaled=0.85]{roboto}
+\usepackage{inconsolata}
+\setmonofont[Scale=0.85]{Inconsolata}
+
+\setlength\headheight{13.6pt}
+
+\usepackage{
+ amsmath, amsthm, amssymb, mathtools,
+ graphicx, subfig, float,
+ listings, xcolor,
+ fancyhdr, sectsty, hyperref, enumerate, framed,
+ comment
+}
+\usepackage[shortlabels]{enumitem}
+
+\flushbottom % Uncomment to make text fill the entire page
+\usepackage[bottom]{footmisc} % Anchor footnotes to bottom of page
+\renewcommand{\baselinestretch}{1.06} % Adjust line spacing
+%\setlength\parindent{0pt} % Remove paragraph indentation
+\usepackage{geometry}\geometry{letterpaper, % Set page margins
+ left=0.7in, right=0.7in,
+ top=0.8in, bottom=0.9in,
+ headsep=.1in
+}
+
+
+\setlength\FrameSep{0.75em}
+\setlength\OuterFrameSep{\partopsep}
+
+\newenvironment{cframed}[1][gray]
+ {\def\FrameCommand{\fboxsep=\FrameSep\fcolorbox{#1}{white}}%
+ \MakeFramed {\advance\hsize-\width \FrameRestore}}
+ {\endMakeFramed}
+
+\newcommand{\question}[2]{
+ \doubleskip\begin{cframed}
+ \noindent \textbf{#1}
+ #2
+ \end{cframed}
+}
+
+\newcommand{\braced}[1]{\left( #1 \right)}
+
+\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
+\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
+
+\DeclareMathOperator{\tg}{tg}
+\DeclareMathOperator{\ctg}{ctg}
+
+\newcommand{\sinx}{\sin x}
+\newcommand{\cosx}{\cos x}
+\newcommand{\tgx}{\tg x}
+
+\newcommand{\doubleskip}{\bigskip \bigskip}
+\newcommand{\osmall}[1]{\overline{o}\left( #1 \right)}
+
+\DeclareRobustCommand{\rchi}{{\mathpalette\irchi\relax}}
+\newcommand{\irchi}[2]{\raisebox{\depth}{$#1\chi$}} % inner command, used by \rchi
+
+\hypersetup{colorlinks=true, linkcolor=magenta}
+
+% -- Left/right header text and footer (to appear on every page) --
+\pagestyle{fancy}
+\renewcommand{\footrulewidth}{0.4pt}
+\renewcommand{\headrulewidth}{0.4pt}
+
+\cfoot{}
+\rfoot{\thepage} \ No newline at end of file