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

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}}