summaryrefslogtreecommitdiff
path: root/physics-ng.sty
diff options
context:
space:
mode:
authoreqkter <thyro@gmx.ru>2022-12-09 00:01:46 +0100
committereqkter <thyro@gmx.ru>2022-12-09 00:01:46 +0100
commit99dc3eb86824477d94728164b5f4baaeb971950e (patch)
tree4495feca9466938e17675c0b2f3dee55371a27b8 /physics-ng.sty
parentee70b7a2646b215dc38b46510e3edac921785f03 (diff)
1st bug hunting and a READMEHEADmaster
Diffstat (limited to 'physics-ng.sty')
-rw-r--r--physics-ng.sty13
1 files changed, 9 insertions, 4 deletions
diff --git a/physics-ng.sty b/physics-ng.sty
index 763a687..3859428 100644
--- a/physics-ng.sty
+++ b/physics-ng.sty
@@ -7,17 +7,19 @@
% The derivative part and the Dirac brakets are respectively taken of by the
% diffcoeff and braket packages.
% It depends on asm ecosystem, siunitx, and esvect (for black board vector notation)
-% design for Fourier mathtype-font with sloped setting
+% Designed for Fourier mathtype-font with sloped setting, following ISO 80000-2 notations
+% If you do not want to use the Fourier math font, or follow this ISO norm, this package
+% is not yet ready for you
%
% Created by Alexis Draussin
% Updated on December 8, 2022
% Uploaded on December 20, 2022
+\RequirePackage{xparse} % only for \dd and \nqty commands, copied from the old physics, to be replaced
\RequirePackage{amsmath}
-\RequirePackage{fourier}
-\RequirePackage{bm}
-\RequirePackage{siunitx}
+\RequirePackage{fourier, bm}
\RequirePackage{esvect}
+\RequirePackage{siunitx}
\DeclareOption{bb}{\let\arrowopt = 1}
\DeclareOption{nobb}{\let\arrowopt = 0} % default
@@ -27,6 +29,9 @@
% incertitude command, using siunitx
\newcommand{\incert}[3]{\left(\num{#1}\pm\num{#2}\right)~\si{#3}}
+% text between elements of equation
+\newcommand{\qq}[1]{\ensuremath{\quad\text{#1}\quad}}
+
% transforms: Laplace, Fourier and Z
\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n} % fourier overwrite the mathcal alpabet
\newcommand{\LT}[1]{\ensuremath{\pazocal{L}\left\lbrace#1\right\rbrace}}