Wednesday , July 24 2019
Home / Uncategorized / math mode – how to create this gamma symbol – TeX

math mode – how to create this gamma symbol – TeX



WARNING: Some long time ago there was some package for this, I do not remember the details. I guess it was somehow related to this thingy. And I cannot really tell you why this was dropped, perhaps this discussion helps you.

Anyway, I kept excerpts of this on my machine and usually do something like this

documentclass{article}
newcommand{bbfamily}{fontencoding{U}fontfamily{bbold}selectfont}
DeclareMathAlphabet{mathbb}{U}{bbold}{m}{n}
DeclareSymbolFont{bbold}{U}{bbold}{m}{n}
SetSymbolFont{bbold}{bold}{U}{bbold}{m}{n}
DeclareMathSymbol{bbGamma}{mathord}{bbold}{'000}
DeclareMathSymbol{bbDelta}{mathord}{bbold}{'001}
DeclareMathSymbol{bbVarTheta}{mathord}{bbold}{'002}
DeclareMathSymbol{bbLambda}{mathord}{bbold}{'003}
DeclareMathSymbol{bbTheta}{mathord}{bbold}{'004}
DeclareMathSymbol{bbPi}{mathord}{bbold}{'005}
DeclareMathSymbol{bbSigma}{mathord}{bbold}{'006}
DeclareMathSymbol{bbUpsilon}{mathord}{bbold}{'007}
DeclareMathSymbol{bbPhi}{mathord}{bbold}{'010}
DeclareMathSymbol{bbPsi}{mathord}{bbold}{'011}
DeclareMathSymbol{bbOmega}{mathord}{bbold}{'012}
DeclareMathSymbol{bbalpha}{mathord}{bbold}{"0B}
DeclareMathSymbol{bbbeta}{mathord}{bbold}{"0C}
DeclareMathSymbol{bbgamma}{mathord}{bbold}{"0D}
DeclareMathSymbol{bbdelta}{mathord}{bbold}{"0E}
DeclareMathSymbol{bbespilon}{mathord}{bbold}{"0F}
DeclareMathSymbol{bbzeta}{mathord}{bbold}{"10}
DeclareMathSymbol{bbeta}{mathord}{bbold}{"11}
DeclareMathSymbol{bbtheta}{mathord}{bbold}{"12}
DeclareMathSymbol{bbiota}{mathord}{bbold}{"13}
DeclareMathSymbol{bbkappa}{mathord}{bbold}{"14}
DeclareMathSymbol{bblambda}{mathord}{bbold}{"15}
DeclareMathSymbol{bbmu}{mathord}{bbold}{"16}
DeclareMathSymbol{bbnu}{mathord}{bbold}{"17}
DeclareMathSymbol{bbxi}{mathord}{bbold}{"18}
DeclareMathSymbol{bbpi}{mathord}{bbold}{"19}
DeclareMathSymbol{bbrho}{mathord}{bbold}{"1A}
DeclareMathSymbol{bbsigma}{mathord}{bbold}{"1B}
DeclareMathSymbol{bbtau}{mathord}{bbold}{"1C}
DeclareMathSymbol{bbupsilon}{mathord}{bbold}{"1D}
DeclareMathSymbol{bbphi}{mathord}{bbold}{"1E}
DeclareMathSymbol{bbchi}{mathord}{bbold}{"1F}
DeclareMathSymbol{bbpsi}{mathord}{bbold}{"20}
DeclareMathSymbol{bbomega}{mathord}{bbold}{"7F}
DeclareMathSymbol{bbell}{mathord}{bbold}{"40}
newcommand{BBsymbol}[1]{%
ifcat#1amathbbm{#1}else
    ifx#1GammabbGammafi
    ifx#1DeltabbDeltafi
    ifx#1VarThetabbVarThetafi
    ifx#1LambdabbLambdafi
    ifx#1ThetabbThetafi
    ifx#1PibbPifi
    ifx#1SigmabbSigmafi
    ifx#1UpsilonbbUpsilonfi
    ifx#1PhibbPhifi
    ifx#1PsibbPsifi
    ifx#1OmegabbOmegafi
    ifx#1alphabbalphafi
    ifx#1betabbbetafi
    ifx#1gammabbgammafi
    ifx#1deltabbdeltafi
    ifx#1espilonbbespilonfi
    ifx#1zetabbzetafi
    ifx#1etabbetafi
    ifx#1thetabbthetafi
    ifx#1iotabbiotafi
    ifx#1kappabbkappafi
    ifx#1lambdabblambdafi
    ifx#1mubbmufi
    ifx#1nubbnufi
    ifx#1xibbxifi
    ifx#1pibbpifi
    ifx#1rhobbrhofi
    ifx#1sigmabbsigmafi
    ifx#1taubbtaufi
    ifx#1upsilonbbupsilonfi
    ifx#1phibbphifi
    ifx#1chibbchifi
    ifx#1psibbpsifi
    ifx#1omegabbomegafi
    ifx#1ellbbellfi
fi
}

begin{document}
$BBsymbol{Gamma}BBsymbol{alpha}$
end{document}

enter image description here

And of course the outcome is not as nice as in egreg’s answer but here you have double stroke letters for all Greek letters. (And those who feel like they need to shout at me: this post starts with a big disclaimer… 😉


Source link

Leave a Reply

Your email address will not be published.