\usepackage{arev}

%% See: https://tex.stackexchange.com/questions/362714/latex-arev-package-and-nonfunctioning-nmid-macro

%% fix the bug in ams-mdbch.sty
\DeclareFontFamily{U}{mdbchbmb}{}
\DeclareFontShape{U}{mdbchbmb}{b}{n}{<-> s*[0.96]mdbchbmb}{}
\DeclareSymbolFont{mathdesignB}{U}{mdbchbmb}{b}{n}

    \DeclareMathSymbol{\lvertneqq}    {\mathrel}{mathdesignB}{"00}
    \DeclareMathSymbol{\gvertneqq}    {\mathrel}{mathdesignB}{"01}
    \DeclareMathSymbol{\nleq}         {\mathrel}{mathdesignB}{"02}
    \DeclareMathSymbol{\ngeq}         {\mathrel}{mathdesignB}{"03}
    \DeclareMathSymbol{\nless}        {\mathrel}{mathdesignB}{"04}
    \DeclareMathSymbol{\ngtr}         {\mathrel}{mathdesignB}{"05}
    \DeclareMathSymbol{\nprec}        {\mathrel}{mathdesignB}{"06}
    \DeclareMathSymbol{\nsucc}        {\mathrel}{mathdesignB}{"07}
    \DeclareMathSymbol{\lneqq}        {\mathrel}{mathdesignB}{"08}
    \DeclareMathSymbol{\gneqq}        {\mathrel}{mathdesignB}{"09}
    \DeclareMathSymbol{\nleqslant}    {\mathrel}{mathdesignB}{"0A}
    \DeclareMathSymbol{\ngeqslant}    {\mathrel}{mathdesignB}{"0B}
    \DeclareMathSymbol{\lneq}         {\mathrel}{mathdesignB}{"0C}
    \DeclareMathSymbol{\gneq}         {\mathrel}{mathdesignB}{"0D}
    \DeclareMathSymbol{\npreceq}      {\mathrel}{mathdesignB}{"0E}
    \DeclareMathSymbol{\nsucceq}      {\mathrel}{mathdesignB}{"0F}
    \DeclareMathSymbol{\precnsim}     {\mathrel}{mathdesignB}{"10}
    \DeclareMathSymbol{\succnsim}     {\mathrel}{mathdesignB}{"11}
    \DeclareMathSymbol{\lnsim}        {\mathrel}{mathdesignB}{"12}
    \DeclareMathSymbol{\gnsim}        {\mathrel}{mathdesignB}{"13}
    \DeclareMathSymbol{\nleqq}        {\mathrel}{mathdesignB}{"14}
    \DeclareMathSymbol{\ngeqq}        {\mathrel}{mathdesignB}{"15}
    \DeclareMathSymbol{\precneqq}     {\mathrel}{mathdesignB}{"16}
    \DeclareMathSymbol{\succneqq}     {\mathrel}{mathdesignB}{"17}
    \DeclareMathSymbol{\precnapprox}  {\mathrel}{mathdesignB}{"18}
    \DeclareMathSymbol{\succnapprox}  {\mathrel}{mathdesignB}{"19}
    \DeclareMathSymbol{\lnapprox}     {\mathrel}{mathdesignB}{"1A}
    \DeclareMathSymbol{\gnapprox}     {\mathrel}{mathdesignB}{"1B}
    \DeclareMathSymbol{\nsim}         {\mathrel}{mathdesignB}{"1C}
    \DeclareMathSymbol{\ncong}        {\mathrel}{mathdesignB}{"1D}
    \DeclareMathSymbol{\diagup}       {\mathord}{mathdesignB}{"1E}
    \DeclareMathSymbol{\diagdown}     {\mathord}{mathdesignB}{"1F}
    \DeclareMathSymbol{\varsubsetneq}   {\mathrel}{mathdesignB}{"20}
    \DeclareMathSymbol{\varsupsetneq}   {\mathrel}{mathdesignB}{"21}
    \DeclareMathSymbol{\nsubseteqq}     {\mathrel}{mathdesignB}{"22}
    \DeclareMathSymbol{\nsupseteqq}     {\mathrel}{mathdesignB}{"23}
    \DeclareMathSymbol{\subsetneqq}     {\mathrel}{mathdesignB}{"24}
    \DeclareMathSymbol{\supsetneqq}     {\mathrel}{mathdesignB}{"25}
    \DeclareMathSymbol{\varsubsetneqq}  {\mathrel}{mathdesignB}{"26}
    \DeclareMathSymbol{\varsupsetneqq}  {\mathrel}{mathdesignB}{"27}
    \DeclareMathSymbol{\subsetneq}      {\mathrel}{mathdesignB}{"28}
    \DeclareMathSymbol{\supsetneq}      {\mathrel}{mathdesignB}{"29}
    \DeclareMathSymbol{\nsubseteq}      {\mathrel}{mathdesignB}{"2A}
    \DeclareMathSymbol{\nsupseteq}      {\mathrel}{mathdesignB}{"2B}
    \DeclareMathSymbol{\nparallel}      {\mathrel}{mathdesignB}{"2C}
    \DeclareMathSymbol{\nmid}           {\mathrel}{mathdesignB}{"2D}
    \DeclareMathSymbol{\nshortmid}      {\mathrel}{mathdesignB}{"2E}
    \DeclareMathSymbol{\nshortparallel} {\mathrel}{mathdesignB}{"2F}
    \DeclareMathSymbol{\nvdash}         {\mathrel}{mathdesignB}{"30}
    \DeclareMathSymbol{\nVdash}         {\mathrel}{mathdesignB}{"31}
    \DeclareMathSymbol{\nvDash}         {\mathrel}{mathdesignB}{"32}
    \DeclareMathSymbol{\nVDash}         {\mathrel}{mathdesignB}{"33}
    \DeclareMathSymbol{\ntrianglerighteq}{\mathrel}{mathdesignB}{"34}
    \DeclareMathSymbol{\ntrianglelefteq}{\mathrel}{mathdesignB}{"35}
    \DeclareMathSymbol{\ntriangleleft}  {\mathrel}{mathdesignB}{"36}
    \DeclareMathSymbol{\ntriangleright} {\mathrel}{mathdesignB}{"37}
    \DeclareMathSymbol{\nleftarrow}     {\mathrel}{mathdesignB}{"38}
    \DeclareMathSymbol{\nrightarrow}    {\mathrel}{mathdesignB}{"39}
    \DeclareMathSymbol{\nLeftarrow}     {\mathrel}{mathdesignB}{"3A}
    \DeclareMathSymbol{\nRightarrow}    {\mathrel}{mathdesignB}{"3B}
    \DeclareMathSymbol{\nLeftrightarrow}{\mathrel}{mathdesignB}{"3C}
    \DeclareMathSymbol{\nleftrightarrow}{\mathrel}{mathdesignB}{"3D}
%% end of fix

