forked from bdemeshev/coursera_metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemetrix_preamble.tex
executable file
·40 lines (31 loc) · 1.06 KB
/
emetrix_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
\def \useR{$[$R$]$ }
%% эконометрические сокращения
\def \hb{\hat{\beta}}
\def \hs{\hat{\sigma}}
\def \hy{\hat{y}}
\def \hY{\hat{Y}}
\def \v1{\vec{1}}
\def \e{\varepsilon}
\def \he{\hat{\e}}
\def \z{z}
\def \hVar{\widehat{\Var}}
\def \hCorr{\widehat{\Corr}}
\def \hCov{\widehat{\Cov}}
%% лаг
\renewcommand{\L}{\mathrm{L}}
%% алая и белая розы
%% запускается так: \WhiteRose[масштаб], например, \WhiteRose[0.5]
\newcommand{\WhiteRose}[1]{\begingroup
\setbox0=\hbox{\includegraphics[scale=#1]{/home/boris/science/econometrix/em301/roses/Yorkshire_rose.pdf}}%
\parbox{\wd0}{\box0}\endgroup}
\newcommand{\RedRose}[1]{\begingroup
\setbox0=\hbox{\includegraphics[scale=#1]{/home/boris/science/econometrix/em301/roses/Lancashire_rose.pdf}}%
\parbox{\wd0}{\box0}\endgroup}
\newcommand{\WhiteRoseLine}{
\begin{center}
\WhiteRose{0.3} Версия Белой Розы \WhiteRose{0.3}
\end{center}}
\newcommand{\RedRoseLine}{
\begin{center}
\RedRose{0.3} Версия Алой Розы \RedRose{0.3}
\end{center}}