%%%%%%%%%%%%%% SI Units %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{upgreek}%

%%%%%%%%%%%%% General
\DeclareMathOperator*{\ppm}{ppm} %parts per million

%%%%%%%%%%%%% Mole
\DeclareMathOperator{\mol}{mol}

%%%%%%%%%%%%% Temperature
\DeclareMathOperator{\pK}{pK}\DeclareMathOperator{\nK}{nK}\DeclareMathOperator{\muK}{\upmu K}
\DeclareMathOperator{\mK}{mK}\DeclareMathOperator{\Kelvin}{K}
\DeclareMathOperator{\degC}{^{\circ}{\rm C}}

%%%%%%%%%%%%% Energy
\DeclareMathOperator{\mueV}{\upmu eV}\DeclareMathOperator{\meV}{meV}%
\DeclareMathOperator{\eV}{eV}\DeclareMathOperator{\keV}{keV}\DeclareMathOperator{\MeV}{MeV}
\DeclareMathOperator{\GeV}{GeV}

\DeclareMathOperator{\mJ}{mJ}\DeclareMathOperator{\Joule}{J}\DeclareMathOperator{\kJ}{kJ}\DeclareMathOperator{\PJ}{PJ}

\DeclareMathOperator{\kcal}{kcal}

\DeclareMathOperator{\kWh}{kWh}\DeclareMathOperator{\TWh}{TWh}

%%%%%%%%%%%%% Power
\DeclareMathOperator{\mW}{mW}\DeclareMathOperator{\Watt}{W}
\DeclareMathOperator{\kW}{kW}\DeclareMathOperator{\MW}{MW}\DeclareMathOperator{\GW}{GW}

%%%%%%%%%%%%% Force

\DeclareMathOperator{\Newton}{N}
\DeclareMathOperator{\dyn}{dyn}

%%%%%%%%%%%%% Pressure
\DeclareMathOperator{\Pa}{Pa}
\DeclareMathOperator{\hPa}{hPa}
\DeclareMathOperator{\kPa}{kPa}
\DeclareMathOperator{\BAR}{bar}\DeclareMathOperator{\mbar}{mbar}\DeclareMathOperator{\atm}{atm}

%%%%%%%%%%%%% Length
\DeclareMathOperator{\am}{am}\DeclareMathOperator{\fm}{fm}\DeclareMathOperator{\pico}{pm}
\DeclareMathOperator{\Angst}{\mathring{A}}\DeclareMathOperator{\nm}{nm}
\DeclareMathOperator{\mum}{\upmu m}\DeclareMathOperator{\mm}{mm}
\DeclareMathOperator{\cm}{cm}\DeclareMathOperator{\meter}{m}\DeclareMathOperator{\km}{km}
\DeclareMathOperator{\ua}{ua}
\DeclareMathOperator{\litre}{L}

%%%%%%%%%%%%% Cross section
\DeclareMathOperator{\barn}{b}
\DeclareMathOperator{\ebarn}{eb}

%%%%%%%%%%%%% Time
\DeclareMathOperator{\as}{as}\DeclareMathOperator{\fs}{fs}\DeclareMathOperator{\ps}{ps} \DeclareMathOperator{\ms}{ms}
\DeclareMathOperator{\ns}{ns}\DeclareMathOperator{\mus}{\upmu s}
\DeclareMathOperator{\se}{s}
\DeclareMathOperator{\minute}{min}
\DeclareMathOperator{\hora}{h}
\DeclareMathOperator{\dies}{d} \DeclareMathOperator{\annus}{a}

%%%%%%%%%%%%% Electric
\DeclareMathOperator{\Ohm}{\Omega}\DeclareMathOperator{\MOhm}{M\Omega}\DeclareMathOperator{\Coul}{C}\DeclareMathOperator{\Debye}{D}
\DeclareMathOperator{\Far}{F}
\DeclareMathOperator{\Volt}{V}\DeclareMathOperator{\kV}{kV}
\DeclareMathOperator{\pA}{pA} \DeclareMathOperator{\muA}{\upmu A}\DeclareMathOperator{\mA}{mA}\DeclareMathOperator{\Amp}{A}%

\DeclareMathOperator{\mT}{mT}\DeclareMathOperator{\Tesla}{T}

%%%%%%%%%%%%% Mass
\DeclareMathOperator{\gram}{g}\DeclareMathOperator{\kg}{kg}\DeclareMathOperator{\ton}{t}
\DeclareMathOperator{\uu}{u}\DeclareMathOperator{\mg}{mg}\DeclareMathOperator{\mug}{\upmu g}

%%%%%%%%%%%%% Frequency
\DeclareMathOperator{\Hz}{Hz}\DeclareMathOperator{\kHz}{kHz}\DeclareMathOperator{\MHz}{MHz}
\DeclareMathOperator{\THz}{THz}\DeclareMathOperator{\GHz}{GHz}


%%%%%%%%%%%%% Angle
\DeclareMathOperator{\mas}{mas} % milliarcsecond
\DeclareMathOperator{\mrad}{mrad}
\DeclareMathOperator{\rad}{rad}
\DeclareMathOperator{\srad}{sr}
\DeclareMathOperator{\degr}{^{\circ}}

%%%%%%%%%%%  Light
\DeclareMathOperator{\cd}{cd}\DeclareMathOperator{\lm}{lm}\DeclareMathOperator{\lx}{lx}

%%%%% Exponential function
%%%%  Is already built into some Classes or Packages. If not, remove % in the following line
%\DeclareMathOperator{\E}{\rm e}
