Commit 20a997f7 authored by Loïc Barrault's avatar Loïc Barrault
Browse files

updated macros

parent c77d4da9
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
\newcommand{\vm}[1]{ \mathbf{#1}} \newcommand{\vm}[1]{ \mathbf{#1}}
\newcommand{\va}{{\bf a}} \newcommand{\va}{{\bf a}}
\newcommand{\vb}{{\bf b}} \newcommand{\vb}{{\bf b}}
\newcommand{\vc}{\mathbf{c}}
\newcommand{\vo}{{\bf o}} \newcommand{\vo}{{\bf o}}
\newcommand{\vr}{{\bf r}} \newcommand{\vr}{{\bf r}}
\newcommand{\vt}{{\bf t}} \newcommand{\vt}{{\bf t}}
...@@ -45,6 +46,9 @@ ...@@ -45,6 +46,9 @@
\newcommand{\vy}{{\bf y}} \newcommand{\vy}{{\bf y}}
\newcommand{\vz}{{\bf z}} \newcommand{\vz}{{\bf z}}
\newcommand{\vmu}{{\bf \mu}} \newcommand{\vmu}{{\bf \mu}}
\newcommand{\wij}{w_{ij}} % poids w_ij
\newcommand{\half}{\frac{1}{2}} % fraction un demi
\newcommand*\colvec[1]{\begin{bmatrix}#1\end{bmatrix}} \newcommand*\colvec[1]{\begin{bmatrix}#1\end{bmatrix}}
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
\definecolor{liumlightgray}{rgb}{0.9,0.9,0.9} \definecolor{liumlightgray}{rgb}{0.9,0.9,0.9}
\newcommand{\liumlightgray}[1]{{\color{liumlightgray} #1}} \newcommand{\liumlightgray}[1]{{\color{liumlightgray} #1}}
\newcommand{\myemph}[1]{\liumcyan{\textbf{#1}}} \newcommand<>{\myemph}[1]{\alt#2{\liumcyan{\textbf{#1}}}{#1}}
\newcommand{\myemphb}[1]{\orange{\textbf{#1}}} \newcommand<>{\myemphb}[1]{\alt#2{\orange{\textbf{#1}}}{#1}}
\newcommand<>{\mycolor}[2]{% \newcommand<>{\mycolor}[2]{%
\alt#3{{\color{#1}{#2}}}{#2}% \alt#3{{\color{#1}{#2}}}{#2}%
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment