This commit is contained in:
Jeff Lance 2021-02-18 23:08:40 +01:00
parent dfa07105fb
commit f2e3b8708e
3 changed files with 64 additions and 6 deletions

View File

@ -73,7 +73,7 @@
% maths
\RequirePackage{amsmath, amsthm, amsfonts, amssymb}
\RequirePackage{tkz-euclide}
\usetikzlibrary{snakes, shadows}
\usetikzlibrary{arrows, calc, positioning, shapes.geometric, shadows, snakes, tikzmark}
\RequirePackage{calc}
% \RequirePackage{pgffor,pgfmath} % loaded by tikz
\RequirePackage{pgfplots}
@ -164,6 +164,11 @@
%
%
%
% Tikz
%
\tikzstyle{arrow} = [thick,->,>=stealth]
% Tableau
% Alignment commands of the content in the column with a defined width.
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
@ -395,7 +400,6 @@
\newfontfamily\Architects[Ligatures=TeX]{Architects Daughter}
\newfontfamily\Bristol[Ligatures=TeX]{Bristol}
\newfontfamily\ChelseaMarket[Ligatures=TeX]{Chelsea Market}
% \newfontfamily\Comic[Ligatures=TeX]{Comic Sans MS}
\newfontfamily\DejaVuSans[Ligatures=TeX]{DejaVu Sans}
\newfontfamily\dominofont[Ligatures=TeX]{DejaVu Sans}
\newfontfamily\Delius[Ligatures=TeX]{Delius}

View File

@ -217,7 +217,7 @@
\NewDocumentCommand \consignes{ }{
\begin{center}
\fbox{
\parbox{.9\textwidth}{
\parbox{.97\linewidth}{
\small
\centering
Le prêt de matériel et de documents personnels sont interdits.\\

View File

@ -56,6 +56,11 @@
%%
\newcommand{\bt}{\begin{tasks}}
\newcommand{\et}{\end{tasks}}
%% minipage
%%
% \newcommand{\bm}{\begin{minipage}}
% \newcommand{\em}{\end{minipage}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -126,6 +131,18 @@
\NewDocumentCommand \fg { }{
>>
}
% column sep rule
%%
\NewDocumentCommand \filet { G{0} } {
\setlength{\columnseprule}{#1}
}
% \num shortcut
%%
\NewDocumentCommand \n { g } {
\num{#1}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -137,7 +154,7 @@
%
%
%% i & j vectors
%% i, j & k vectors
%%
\NewDocumentCommand \veci { } {
\ensuremath{ \vec{\imath} }
@ -145,6 +162,9 @@
\NewDocumentCommand \vecj { } {
\ensuremath{ \vec{\jmath} }
}
\NewDocumentCommand \veck { } {
\ensuremath{ \vec{k} }
}
%% basis (i,j)
%%
@ -152,12 +172,24 @@
\ensuremath{ \left(\vec{\imath}\; ;\; \vec{\jmath}\right) }
}
%% basis (i,j,k)
%%
\NewDocumentCommand \ijk { } {
\ensuremath{ \left(\vec{\imath}\; ;\; \vec{\jmath}\ ;\ \vec{k}\right) }
}
%% frame (O;i;j)
%%
\NewDocumentCommand \oij { } {
\ensuremath{ \left(O\; ;\; \vec{\imath}\; ;\; \vec{\jmath}\right) }
}
%% frame (O;i;j;k)
%%
\NewDocumentCommand \oijk { } {
\ensuremath{ \left(O\; ;\; \vec{\imath}\; ;\; \vec{\jmath}\ ;\ \vec{k}\right) }
}
%% frame (O;I;I)
%%
\NewDocumentCommand \OIJ { } {
@ -180,6 +212,16 @@
\ensuremath{ \overrightarrow{#1\vphantom(} }
}
%% coordinates
%%
\NewDocumentCommand \coord { s m }{
\IfBooleanTF { #1 } {
\uplet*{#1}
}{
\uplet{#1}
}
}
%% positional notation
%%
\newcommand{\base}[2]{
@ -314,8 +356,8 @@
%% math letter used as curve name
%%
\NewDocumentCommand \mscr{ G{f} } {
$ \mathscr{#1} $
\NewDocumentCommand \ronde{ G{f} } {
\ensuremath{\mathscr{#1}}
}
%% point
@ -342,6 +384,18 @@
\nicefrac{#1}{#2}
}
%% limits
%%
\NewDocumentCommand \limite{ G{f(x)} G{x \to +\infty} }{
\ensuremath{\lim\limits_{ #2 } #1}
}
%%% l
%%%
%\RenewDocumentCommand \l { } {
% \ensuremath{\ell}
%}
% %% renewed \bar command
% %%
% \renewcommand{\bar}[1]{\overline{#1}}