diff --git a/jl-cours/mdframed.tex b/jl-cours/mdframed.tex index 684d6a6..b25b90f 100644 --- a/jl-cours/mdframed.tex +++ b/jl-cours/mdframed.tex @@ -76,7 +76,7 @@ tikzsetting={draw=black,line width=.5pt},% leftmargin=2pt,rightmargin=0,% innertopmargin=1em,innerbottommargin=1em,% - innerleftmargin=.5em,innerrightmargin=.5em,% + innerleftmargin=.75em,innerrightmargin=.5em,% skipabove=0,skipbelow=0,% frametitlerule=false,% frametitlebackgroundcolor=white!0,% diff --git a/shortcuts/shortcuts.sty b/shortcuts/shortcuts.sty index 6de6345..c591a4b 100644 --- a/shortcuts/shortcuts.sty +++ b/shortcuts/shortcuts.sty @@ -141,6 +141,12 @@ \ensuremath{ \vec{\jmath} } } +%% basis (i,j) +%% +\RenewDocumentCommand \ij { } { + \ensuremath{ \left(\vec{\imath}\; ;\; \vec{\jmath}\right) } +} + %% frame (O;i;j) %% \NewDocumentCommand \oij { } { @@ -162,7 +168,11 @@ %% vector arrow redefinition %% \renewcommand{\Vec}[1]{ - \overrightarrow{#1\vphantom(} + \ensuremath{ \overrightarrow{#1\vphantom(} } +} + +\renewcommand{\vec}[1]{ + \ensuremath{ \overrightarrow{#1\vphantom(} } } %% positional notation