/
preamble.tex
152 lines (110 loc) · 4.45 KB
/
preamble.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
\documentclass[a5paper,oneside,10pt]{extbook}
\usepackage[left=1.3cm,right=1.3cm,top=1cm,bottom=1.5cm]{geometry}
\usepackage{emptypage}
\usepackage{cmap}
\usepackage{type1ec}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage{xcolor}
\definecolor{darkblue}{rgb}{0,0,.6}
\usepackage{epigraph}
\usepackage{tikz}
\usepackage{pgffor}
\usepackage{calc}
\usepackage{cancel}
\usepackage{upgreek}
\usepackage{bm}
\usepackage{amsmath,amsthm,amstext,amssymb,amscd} % AMS Math Package
\usepackage{mathtools}
\usepackage{mathrsfs}
\usepackage{indentfirst} % включить отступ у первого абзаца
\usepackage{dsfont} % окружение \mathds для единичного оператора
\usepackage[normalem]{ulem}
\renewcommand\underline{\bgroup\markoverwith{{\rule[-0.3ex]{2pt}{0.4pt}}}\ULon}
%\usepackage[pdftex]{graphicx}
\usepackage[pdftex,hyperindex,unicode]{hyperref}
%% Окружения списков задачи и упражнений из заданий
\usepackage{enumitem}
\newlist{exercise}{enumerate}{1}
\setlist[exercise,1]{label=У\arabic{chapter}.\arabic{section}.\arabic*}
\newlist{problem}{enumerate}{1}
\setlist[problem,1]{label=З\arabic{chapter}.\arabic{section}.\arabic*}
\usepackage[nameinlink]{cleveref}
\crefname{exercisei}{}{exercises}
\crefname{problemi}{}{problems}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[nodayofweek]{datetime}
\newcommand{\todayiso}{\twodigit\day.\twodigit\month.\the\year}
\hypersetup{
pdftitle = {Lectures on quantum machanics},
pdfauthor = {Maxim Kuznetsov, Elena Limonova},
pdfsubject = {},
pdfstartview = {FitH},
pdfborder = {0 0 0},
bookmarksopen = true,
bookmarksnumbered = true,
bookmarksopenlevel = 2,
colorlinks = true, linkcolor = darkblue,
citecolor = darkblue, filecolor = darkblue,
menucolor = darkblue, urlcolor = darkblue
}
\pdfcompresslevel=9 % сжимать PDF
\pdfobjcompresslevel=9
\usepackage{wrapfig} % Вставка рисунков с обтеканием текста
\graphicspath{{./figs//}}
\DeclareGraphicsExtensions{.pdf,.png,.jpg}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
%% L/C/R denote left/center/right header (or footer) elements
%% E/O denote even/odd pages
%% \leftmark, \rightmark are chapter/section headings generated by the
%% book document class
\fancyhf{}
\fancyfoot[C]{\thepage}
% \fancyfoot[LE,RO]{\input{version}}
% \fancyfoot[RE,LO]{\url{http://j.mp/quantum_mechanics}}
% Пока мы пишем названия глав и номера страниц сверху, горизонтальная
% черта не нужна
\renewcommand{\headrulewidth}{0pt}
% Названия глав и подглав вверху страниц. Можно будет применить, если получится
% адекватно сократить названия подглав.
% \fancyhead{}
% \fancyhf{}
% \lhead[\rm\thepage]{\fancyplain{}{\slshape\nouppercase{\rightmark}}}
% \rhead[\fancyplain{}{\slshape\nouppercase{\leftmark}}]{\rm\thepage}
\setlength{\headheight}{15pt}
\renewcommand{\qedsymbol}{$\blacksquare$}
\numberwithin{equation}{section}
\renewcommand{\thesection}{\textsection\arabic{section}.}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
\renewcommand{\theequation}{\arabic{chapter}.\arabic{section}.\arabic{equation}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{defn}{Определение}
\newtheorem{exmpl}{Пример}
\newtheorem*{exmpl*}{Пример}
\newtheorem{thm}{Теорема}
\newtheorem{note}{Замечание}
\newtheorem{stmt}{Утверждение}
\newtheorem*{stmt*}{Утверждение}
\newtheorem{excr}{Упражнение}
\numberwithin{defn}{section}
\renewcommand{\thedefn}{\arabic{defn}}
\numberwithin{exmpl}{section}
\renewcommand{\theexmpl}{\arabic{exmpl}}
\numberwithin{thm}{section}
\renewcommand{\thethm}{\arabic{thm}}
\numberwithin{note}{section}
\renewcommand{\thenote}{\arabic{note}}
\numberwithin{stmt}{section}
\renewcommand{\thestmt}{\arabic{stmt}}
\numberwithin{excr}{section}
\renewcommand{\theexcr}{\arabic{excr}}
\addto\extrasrussian{\providecommand{\excrautorefname}{Упр.}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{macros} % Макросы для формул
\pagestyle{plain}
\sloppy
\ifdefined\n
\includeonly{chapters/chapter\n}
\fi