Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Loïc Barrault
supports_cours
Commits
20a997f7
Commit
20a997f7
authored
Dec 16, 2019
by
Loïc Barrault
Browse files
updated macros
parent
c77d4da9
Changes
2
Hide whitespace changes
Inline
Side-by-side
macros.tex
View file @
20a997f7
...
...
@@ -37,6 +37,7 @@
\newcommand
{
\vm
}
[1]
{
\mathbf
{
#1
}}
\newcommand
{
\va
}{{
\bf
a
}}
\newcommand
{
\vb
}{{
\bf
b
}}
\newcommand
{
\vc
}{
\mathbf
{
c
}}
\newcommand
{
\vo
}{{
\bf
o
}}
\newcommand
{
\vr
}{{
\bf
r
}}
\newcommand
{
\vt
}{{
\bf
t
}}
...
...
@@ -45,6 +46,9 @@
\newcommand
{
\vy
}{{
\bf
y
}}
\newcommand
{
\vz
}{{
\bf
z
}}
\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}
}
...
...
mycolors.tex
View file @
20a997f7
...
...
@@ -24,8 +24,8 @@
\definecolor
{
liumlightgray
}{
rgb
}{
0.9,0.9,0.9
}
\newcommand
{
\liumlightgray
}
[1]
{{
\color
{
liumlightgray
}
#1
}}
\newcommand
{
\myemph
}
[1]
{
\liumcyan
{
\textbf
{
#1
}}}
\newcommand
{
\myemphb
}
[1]
{
\orange
{
\textbf
{
#1
}}}
\newcommand
<>
{
\myemph
}
[1]
{
\
alt
#2
{
\
liumcyan
{
\textbf
{
#1
}}}
{
#1
}}
\newcommand
<>
{
\myemphb
}
[1]
{
\
alt
#2
{
\
orange
{
\textbf
{
#1
}}}
{
#1
}}
\newcommand
<>
{
\mycolor
}
[2]
{
%
\alt
#3
{{
\color
{
#1
}{
#2
}}}{
#2
}
%
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment