From 99dc3eb86824477d94728164b5f4baaeb971950e Mon Sep 17 00:00:00 2001 From: eqkter Date: Fri, 9 Dec 2022 00:01:46 +0100 Subject: 1st bug hunting and a README --- physics-ng.sty | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'physics-ng.sty') 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}} -- cgit v1.2.3