How do I select the style of a lowercase gamma?












4














It is traditional in Physics to use a lowercase gamma that looks like a Y. Without going into the question of whether that tradition is wrong, how do I differentiate in math mode Latex markup between a Gamma that looks like a Y and a Gamma with a loop?



No, I do not mean either capital or upright.



I'd prefer avoiding Unicode unless ArXiV now supports xetex.



I don't know how to insert the PDF as an image, but http://mason.gmu.edu/~smetz3/humor/dirac.pdf is generated from



documentclass{article}
usepackage{bm}
usepackage[paperheight=10in,paperwidth=10in,top=0.75in, bottom=0in, left=0in, right=0in]{geometry}
usepackage{graphicx}
begin{document}
pagestyle{empty}

vspace{.5in}

begin{center}
{Huge bfseries Which part of}
end{center}

vspace{1.75in}

{Huge
[
bm{(gamma^{mu } (ihbar partial _{mu } - {frac {e}{c}}A_{mu })-mc) psi =0}
]
}

vspace{1.75in}

begin{center}
{Huge bfseries don't you understand?}
end{center}
end{document}









share|improve this question
























  • What is a "gamma with a loop"?
    – Sebastiano
    Dec 26 '18 at 21:53










  • Do you mean gammaup? This is mainly a matter of the used font
    – Christian Hupfer
    Dec 26 '18 at 21:58












  • I think you try to distinguish btw. a small gamma (γ) and a capital one (Γ), which would be gamma and Gamma respectively.
    – Stefan Schroeder
    Dec 26 '18 at 21:59






  • 1




    @StefanSchroeder: there is no loop in Gamma ....
    – Christian Hupfer
    Dec 26 '18 at 22:00










  • haha, sure, but perhaps the question was just inaccurate. It's just a comment, mind you.
    – Stefan Schroeder
    Dec 26 '18 at 22:02
















4














It is traditional in Physics to use a lowercase gamma that looks like a Y. Without going into the question of whether that tradition is wrong, how do I differentiate in math mode Latex markup between a Gamma that looks like a Y and a Gamma with a loop?



No, I do not mean either capital or upright.



I'd prefer avoiding Unicode unless ArXiV now supports xetex.



I don't know how to insert the PDF as an image, but http://mason.gmu.edu/~smetz3/humor/dirac.pdf is generated from



documentclass{article}
usepackage{bm}
usepackage[paperheight=10in,paperwidth=10in,top=0.75in, bottom=0in, left=0in, right=0in]{geometry}
usepackage{graphicx}
begin{document}
pagestyle{empty}

vspace{.5in}

begin{center}
{Huge bfseries Which part of}
end{center}

vspace{1.75in}

{Huge
[
bm{(gamma^{mu } (ihbar partial _{mu } - {frac {e}{c}}A_{mu })-mc) psi =0}
]
}

vspace{1.75in}

begin{center}
{Huge bfseries don't you understand?}
end{center}
end{document}









share|improve this question
























  • What is a "gamma with a loop"?
    – Sebastiano
    Dec 26 '18 at 21:53










  • Do you mean gammaup? This is mainly a matter of the used font
    – Christian Hupfer
    Dec 26 '18 at 21:58












  • I think you try to distinguish btw. a small gamma (γ) and a capital one (Γ), which would be gamma and Gamma respectively.
    – Stefan Schroeder
    Dec 26 '18 at 21:59






  • 1




    @StefanSchroeder: there is no loop in Gamma ....
    – Christian Hupfer
    Dec 26 '18 at 22:00










  • haha, sure, but perhaps the question was just inaccurate. It's just a comment, mind you.
    – Stefan Schroeder
    Dec 26 '18 at 22:02














4












4








4


0





It is traditional in Physics to use a lowercase gamma that looks like a Y. Without going into the question of whether that tradition is wrong, how do I differentiate in math mode Latex markup between a Gamma that looks like a Y and a Gamma with a loop?



No, I do not mean either capital or upright.



I'd prefer avoiding Unicode unless ArXiV now supports xetex.



I don't know how to insert the PDF as an image, but http://mason.gmu.edu/~smetz3/humor/dirac.pdf is generated from



documentclass{article}
usepackage{bm}
usepackage[paperheight=10in,paperwidth=10in,top=0.75in, bottom=0in, left=0in, right=0in]{geometry}
usepackage{graphicx}
begin{document}
pagestyle{empty}

vspace{.5in}

begin{center}
{Huge bfseries Which part of}
end{center}

vspace{1.75in}

{Huge
[
bm{(gamma^{mu } (ihbar partial _{mu } - {frac {e}{c}}A_{mu })-mc) psi =0}
]
}

vspace{1.75in}

begin{center}
{Huge bfseries don't you understand?}
end{center}
end{document}









share|improve this question















It is traditional in Physics to use a lowercase gamma that looks like a Y. Without going into the question of whether that tradition is wrong, how do I differentiate in math mode Latex markup between a Gamma that looks like a Y and a Gamma with a loop?



No, I do not mean either capital or upright.



I'd prefer avoiding Unicode unless ArXiV now supports xetex.



I don't know how to insert the PDF as an image, but http://mason.gmu.edu/~smetz3/humor/dirac.pdf is generated from



documentclass{article}
usepackage{bm}
usepackage[paperheight=10in,paperwidth=10in,top=0.75in, bottom=0in, left=0in, right=0in]{geometry}
usepackage{graphicx}
begin{document}
pagestyle{empty}

vspace{.5in}

begin{center}
{Huge bfseries Which part of}
end{center}

vspace{1.75in}

{Huge
[
bm{(gamma^{mu } (ihbar partial _{mu } - {frac {e}{c}}A_{mu })-mc) psi =0}
]
}

vspace{1.75in}

begin{center}
{Huge bfseries don't you understand?}
end{center}
end{document}






fonts symbols greek






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 28 '18 at 21:30

























asked Dec 26 '18 at 21:50









shmuel

460211




460211












  • What is a "gamma with a loop"?
    – Sebastiano
    Dec 26 '18 at 21:53










  • Do you mean gammaup? This is mainly a matter of the used font
    – Christian Hupfer
    Dec 26 '18 at 21:58












  • I think you try to distinguish btw. a small gamma (γ) and a capital one (Γ), which would be gamma and Gamma respectively.
    – Stefan Schroeder
    Dec 26 '18 at 21:59






  • 1




    @StefanSchroeder: there is no loop in Gamma ....
    – Christian Hupfer
    Dec 26 '18 at 22:00










  • haha, sure, but perhaps the question was just inaccurate. It's just a comment, mind you.
    – Stefan Schroeder
    Dec 26 '18 at 22:02


















  • What is a "gamma with a loop"?
    – Sebastiano
    Dec 26 '18 at 21:53










  • Do you mean gammaup? This is mainly a matter of the used font
    – Christian Hupfer
    Dec 26 '18 at 21:58












  • I think you try to distinguish btw. a small gamma (γ) and a capital one (Γ), which would be gamma and Gamma respectively.
    – Stefan Schroeder
    Dec 26 '18 at 21:59






  • 1




    @StefanSchroeder: there is no loop in Gamma ....
    – Christian Hupfer
    Dec 26 '18 at 22:00










  • haha, sure, but perhaps the question was just inaccurate. It's just a comment, mind you.
    – Stefan Schroeder
    Dec 26 '18 at 22:02
















What is a "gamma with a loop"?
– Sebastiano
Dec 26 '18 at 21:53




What is a "gamma with a loop"?
– Sebastiano
Dec 26 '18 at 21:53












Do you mean gammaup? This is mainly a matter of the used font
– Christian Hupfer
Dec 26 '18 at 21:58






Do you mean gammaup? This is mainly a matter of the used font
– Christian Hupfer
Dec 26 '18 at 21:58














I think you try to distinguish btw. a small gamma (γ) and a capital one (Γ), which would be gamma and Gamma respectively.
– Stefan Schroeder
Dec 26 '18 at 21:59




I think you try to distinguish btw. a small gamma (γ) and a capital one (Γ), which would be gamma and Gamma respectively.
– Stefan Schroeder
Dec 26 '18 at 21:59




1




1




@StefanSchroeder: there is no loop in Gamma ....
– Christian Hupfer
Dec 26 '18 at 22:00




@StefanSchroeder: there is no loop in Gamma ....
– Christian Hupfer
Dec 26 '18 at 22:00












haha, sure, but perhaps the question was just inaccurate. It's just a comment, mind you.
– Stefan Schroeder
Dec 26 '18 at 22:02




haha, sure, but perhaps the question was just inaccurate. It's just a comment, mind you.
– Stefan Schroeder
Dec 26 '18 at 22:02










2 Answers
2






active

oldest

votes


















7














Please choose one of these.



documentclass[a4paper]{article}
usepackage{tipa}
usepackage{upgreek}
begin{document}

begin{tabular}{rl}
tipa: & textbabygamma\
upgreek: & $upgamma$\
tipa: & textgamma\
tipa: & textramshorns\
default: & $gamma$\
end{tabular}

end{document}



enter image description here







share|improve this answer





















  • You made me at least smile a little.
    – Sebastiano
    Dec 27 '18 at 21:23










  • The isomath package has a pretty comprehensive list of the OML math alphabets available. There are around 50, plus LGR fonts and fonts like AMS Euler and Fourier with unique encodings.
    – Davislor
    Dec 27 '18 at 22:06





















4














In the Modern Toolchain



usepackage{unicode-math}, then check the list of Unicode-math symbols for a font specimen of all the math symbols in a half-dozen Unicode math fonts. Pick a font you like.



If you want to change only the Greek letters to another Unicode font, including any of the fonts on your desktop, add setmathfont{Latin Modern Math}, as your default, then setmathfont[range=it/{Greek,greek}, Scale=MatchLowercase]{Artemisia} (for example).



In general, write your new documents for the new toolchain if you can, and the legacy toolchain if you have to.



With Legacy Math Fonts



Load isomath and pick one of the Greek alphabets it supports. This package and mathalfa give you the closest thing the NFSS ecosystem has to a standard interface for selecting the math alphabets of your choice.



With Legacy Greek Text Fonts



You can use LGR-encoded legacy NFSS fonts in math mode through mathastext. This example loads GFS Bodoni:



usepackage[LGR,T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc}
%usepackage{amsmath}
usepackage{alphabeta}
usepackage{gfsbodoni}
usepackage[italic, LGRgreek, itgreek]{mathastext} % or upgreek, or upGreek.


If you want to write actual Greek words, also load babel.



If You Really Want Just that One Letter



Look up the encoding of the legacy font whose symbol you want, and declare it as a symbol alphabet. This example typesets the Euler-Mascheroni constant with the γ from the font AMS Euler, in ISO style. The constant is unslanted, not italic, and I give it the de facto standard name upgamma. The other symbols are taken from newpx, a clone of Palatino, another font by Hermann Zapf that goes well with his AMS Euler.



documentclass[varwidth]{standalone}
usepackage[T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc} % The default since 2018.
usepackage{newpxtext, newpxmath}

DeclareSymbolFont{eulerup}{U}{zeur}{m}{n}
DeclareMathSymbol{upgamma}{mathord}{eulerup}{"0D}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}


The Euler Constant



By the way, if you like this setup, here is how you get it with the modern toolchain (after downloading Khaled Hosny’s font Neo Euler from GitHub):



documentclass[varwidth]{standalone}
usepackage[math-style=ISO]{unicode-math}

defaultfontfeatures{Scale=MatchLowercase}
setmainfont{TeX Gyre Pagella}[
Scale = 1.0 ,
Ligatures = {Common, TeX} ]
setmonofont{Inconsolata}
% A good matching sans serif, should you want one, is Optima. A free clone
% is URW Classico.
setmathfont{TeX Gyre Pagella Math}
% Neo Euler by Khaled Hosny, based on AMS Euler by Hermann Zapf:
% https://github.com/khaledhosny/euler-otf
setmathfont[range=up/{latin,Latin,greek,Greek},
script-style={},
sscript-style={}]{Neo Euler}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}





share|improve this answer























  • No, I do not mean capital Gamma; I mean lower case Gamma in Math mode, with one of two styles: the more correct form with a loop and the more traditional form (in Physics) with a tail. I'm trying to avoid Unicode because ArXiV doesn't support XeTeX and I don't want to get into the habit of doing anything that won't work with pdfLaTeX.
    – shmuel
    Dec 27 '18 at 20:12












  • @shmuel: You can get a good help from the community here if you post an image.
    – AboAmmar
    Dec 27 '18 at 21:35










  • @shmuel That makes sense. All of those solutions work for a lowercase gamma in math mode, and all but the first work in PDFLaTeX.
    – Davislor
    Dec 27 '18 at 21:49










  • @AboAmmar What is the markup to render a block of TeX, and can I do it within a comment or only in the base message or an answer?
    – shmuel
    Dec 28 '18 at 20:57












  • @Davislor I thought that symbols beginning with text were only for use in text mode. I only mentioned capital Gamma because of a comment by Stefan Schroeder; what I want is a lower case slanted Gamma.
    – shmuel
    Dec 28 '18 at 21:06











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467452%2fhow-do-i-select-the-style-of-a-lowercase-gamma%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














Please choose one of these.



documentclass[a4paper]{article}
usepackage{tipa}
usepackage{upgreek}
begin{document}

begin{tabular}{rl}
tipa: & textbabygamma\
upgreek: & $upgamma$\
tipa: & textgamma\
tipa: & textramshorns\
default: & $gamma$\
end{tabular}

end{document}



enter image description here







share|improve this answer





















  • You made me at least smile a little.
    – Sebastiano
    Dec 27 '18 at 21:23










  • The isomath package has a pretty comprehensive list of the OML math alphabets available. There are around 50, plus LGR fonts and fonts like AMS Euler and Fourier with unique encodings.
    – Davislor
    Dec 27 '18 at 22:06


















7














Please choose one of these.



documentclass[a4paper]{article}
usepackage{tipa}
usepackage{upgreek}
begin{document}

begin{tabular}{rl}
tipa: & textbabygamma\
upgreek: & $upgamma$\
tipa: & textgamma\
tipa: & textramshorns\
default: & $gamma$\
end{tabular}

end{document}



enter image description here







share|improve this answer





















  • You made me at least smile a little.
    – Sebastiano
    Dec 27 '18 at 21:23










  • The isomath package has a pretty comprehensive list of the OML math alphabets available. There are around 50, plus LGR fonts and fonts like AMS Euler and Fourier with unique encodings.
    – Davislor
    Dec 27 '18 at 22:06
















7












7








7






Please choose one of these.



documentclass[a4paper]{article}
usepackage{tipa}
usepackage{upgreek}
begin{document}

begin{tabular}{rl}
tipa: & textbabygamma\
upgreek: & $upgamma$\
tipa: & textgamma\
tipa: & textramshorns\
default: & $gamma$\
end{tabular}

end{document}



enter image description here







share|improve this answer












Please choose one of these.



documentclass[a4paper]{article}
usepackage{tipa}
usepackage{upgreek}
begin{document}

begin{tabular}{rl}
tipa: & textbabygamma\
upgreek: & $upgamma$\
tipa: & textgamma\
tipa: & textramshorns\
default: & $gamma$\
end{tabular}

end{document}



enter image description here








share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 26 '18 at 22:53









AboAmmar

33.3k22882




33.3k22882












  • You made me at least smile a little.
    – Sebastiano
    Dec 27 '18 at 21:23










  • The isomath package has a pretty comprehensive list of the OML math alphabets available. There are around 50, plus LGR fonts and fonts like AMS Euler and Fourier with unique encodings.
    – Davislor
    Dec 27 '18 at 22:06




















  • You made me at least smile a little.
    – Sebastiano
    Dec 27 '18 at 21:23










  • The isomath package has a pretty comprehensive list of the OML math alphabets available. There are around 50, plus LGR fonts and fonts like AMS Euler and Fourier with unique encodings.
    – Davislor
    Dec 27 '18 at 22:06


















You made me at least smile a little.
– Sebastiano
Dec 27 '18 at 21:23




You made me at least smile a little.
– Sebastiano
Dec 27 '18 at 21:23












The isomath package has a pretty comprehensive list of the OML math alphabets available. There are around 50, plus LGR fonts and fonts like AMS Euler and Fourier with unique encodings.
– Davislor
Dec 27 '18 at 22:06






The isomath package has a pretty comprehensive list of the OML math alphabets available. There are around 50, plus LGR fonts and fonts like AMS Euler and Fourier with unique encodings.
– Davislor
Dec 27 '18 at 22:06













4














In the Modern Toolchain



usepackage{unicode-math}, then check the list of Unicode-math symbols for a font specimen of all the math symbols in a half-dozen Unicode math fonts. Pick a font you like.



If you want to change only the Greek letters to another Unicode font, including any of the fonts on your desktop, add setmathfont{Latin Modern Math}, as your default, then setmathfont[range=it/{Greek,greek}, Scale=MatchLowercase]{Artemisia} (for example).



In general, write your new documents for the new toolchain if you can, and the legacy toolchain if you have to.



With Legacy Math Fonts



Load isomath and pick one of the Greek alphabets it supports. This package and mathalfa give you the closest thing the NFSS ecosystem has to a standard interface for selecting the math alphabets of your choice.



With Legacy Greek Text Fonts



You can use LGR-encoded legacy NFSS fonts in math mode through mathastext. This example loads GFS Bodoni:



usepackage[LGR,T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc}
%usepackage{amsmath}
usepackage{alphabeta}
usepackage{gfsbodoni}
usepackage[italic, LGRgreek, itgreek]{mathastext} % or upgreek, or upGreek.


If you want to write actual Greek words, also load babel.



If You Really Want Just that One Letter



Look up the encoding of the legacy font whose symbol you want, and declare it as a symbol alphabet. This example typesets the Euler-Mascheroni constant with the γ from the font AMS Euler, in ISO style. The constant is unslanted, not italic, and I give it the de facto standard name upgamma. The other symbols are taken from newpx, a clone of Palatino, another font by Hermann Zapf that goes well with his AMS Euler.



documentclass[varwidth]{standalone}
usepackage[T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc} % The default since 2018.
usepackage{newpxtext, newpxmath}

DeclareSymbolFont{eulerup}{U}{zeur}{m}{n}
DeclareMathSymbol{upgamma}{mathord}{eulerup}{"0D}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}


The Euler Constant



By the way, if you like this setup, here is how you get it with the modern toolchain (after downloading Khaled Hosny’s font Neo Euler from GitHub):



documentclass[varwidth]{standalone}
usepackage[math-style=ISO]{unicode-math}

defaultfontfeatures{Scale=MatchLowercase}
setmainfont{TeX Gyre Pagella}[
Scale = 1.0 ,
Ligatures = {Common, TeX} ]
setmonofont{Inconsolata}
% A good matching sans serif, should you want one, is Optima. A free clone
% is URW Classico.
setmathfont{TeX Gyre Pagella Math}
% Neo Euler by Khaled Hosny, based on AMS Euler by Hermann Zapf:
% https://github.com/khaledhosny/euler-otf
setmathfont[range=up/{latin,Latin,greek,Greek},
script-style={},
sscript-style={}]{Neo Euler}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}





share|improve this answer























  • No, I do not mean capital Gamma; I mean lower case Gamma in Math mode, with one of two styles: the more correct form with a loop and the more traditional form (in Physics) with a tail. I'm trying to avoid Unicode because ArXiV doesn't support XeTeX and I don't want to get into the habit of doing anything that won't work with pdfLaTeX.
    – shmuel
    Dec 27 '18 at 20:12












  • @shmuel: You can get a good help from the community here if you post an image.
    – AboAmmar
    Dec 27 '18 at 21:35










  • @shmuel That makes sense. All of those solutions work for a lowercase gamma in math mode, and all but the first work in PDFLaTeX.
    – Davislor
    Dec 27 '18 at 21:49










  • @AboAmmar What is the markup to render a block of TeX, and can I do it within a comment or only in the base message or an answer?
    – shmuel
    Dec 28 '18 at 20:57












  • @Davislor I thought that symbols beginning with text were only for use in text mode. I only mentioned capital Gamma because of a comment by Stefan Schroeder; what I want is a lower case slanted Gamma.
    – shmuel
    Dec 28 '18 at 21:06
















4














In the Modern Toolchain



usepackage{unicode-math}, then check the list of Unicode-math symbols for a font specimen of all the math symbols in a half-dozen Unicode math fonts. Pick a font you like.



If you want to change only the Greek letters to another Unicode font, including any of the fonts on your desktop, add setmathfont{Latin Modern Math}, as your default, then setmathfont[range=it/{Greek,greek}, Scale=MatchLowercase]{Artemisia} (for example).



In general, write your new documents for the new toolchain if you can, and the legacy toolchain if you have to.



With Legacy Math Fonts



Load isomath and pick one of the Greek alphabets it supports. This package and mathalfa give you the closest thing the NFSS ecosystem has to a standard interface for selecting the math alphabets of your choice.



With Legacy Greek Text Fonts



You can use LGR-encoded legacy NFSS fonts in math mode through mathastext. This example loads GFS Bodoni:



usepackage[LGR,T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc}
%usepackage{amsmath}
usepackage{alphabeta}
usepackage{gfsbodoni}
usepackage[italic, LGRgreek, itgreek]{mathastext} % or upgreek, or upGreek.


If you want to write actual Greek words, also load babel.



If You Really Want Just that One Letter



Look up the encoding of the legacy font whose symbol you want, and declare it as a symbol alphabet. This example typesets the Euler-Mascheroni constant with the γ from the font AMS Euler, in ISO style. The constant is unslanted, not italic, and I give it the de facto standard name upgamma. The other symbols are taken from newpx, a clone of Palatino, another font by Hermann Zapf that goes well with his AMS Euler.



documentclass[varwidth]{standalone}
usepackage[T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc} % The default since 2018.
usepackage{newpxtext, newpxmath}

DeclareSymbolFont{eulerup}{U}{zeur}{m}{n}
DeclareMathSymbol{upgamma}{mathord}{eulerup}{"0D}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}


The Euler Constant



By the way, if you like this setup, here is how you get it with the modern toolchain (after downloading Khaled Hosny’s font Neo Euler from GitHub):



documentclass[varwidth]{standalone}
usepackage[math-style=ISO]{unicode-math}

defaultfontfeatures{Scale=MatchLowercase}
setmainfont{TeX Gyre Pagella}[
Scale = 1.0 ,
Ligatures = {Common, TeX} ]
setmonofont{Inconsolata}
% A good matching sans serif, should you want one, is Optima. A free clone
% is URW Classico.
setmathfont{TeX Gyre Pagella Math}
% Neo Euler by Khaled Hosny, based on AMS Euler by Hermann Zapf:
% https://github.com/khaledhosny/euler-otf
setmathfont[range=up/{latin,Latin,greek,Greek},
script-style={},
sscript-style={}]{Neo Euler}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}





share|improve this answer























  • No, I do not mean capital Gamma; I mean lower case Gamma in Math mode, with one of two styles: the more correct form with a loop and the more traditional form (in Physics) with a tail. I'm trying to avoid Unicode because ArXiV doesn't support XeTeX and I don't want to get into the habit of doing anything that won't work with pdfLaTeX.
    – shmuel
    Dec 27 '18 at 20:12












  • @shmuel: You can get a good help from the community here if you post an image.
    – AboAmmar
    Dec 27 '18 at 21:35










  • @shmuel That makes sense. All of those solutions work for a lowercase gamma in math mode, and all but the first work in PDFLaTeX.
    – Davislor
    Dec 27 '18 at 21:49










  • @AboAmmar What is the markup to render a block of TeX, and can I do it within a comment or only in the base message or an answer?
    – shmuel
    Dec 28 '18 at 20:57












  • @Davislor I thought that symbols beginning with text were only for use in text mode. I only mentioned capital Gamma because of a comment by Stefan Schroeder; what I want is a lower case slanted Gamma.
    – shmuel
    Dec 28 '18 at 21:06














4












4








4






In the Modern Toolchain



usepackage{unicode-math}, then check the list of Unicode-math symbols for a font specimen of all the math symbols in a half-dozen Unicode math fonts. Pick a font you like.



If you want to change only the Greek letters to another Unicode font, including any of the fonts on your desktop, add setmathfont{Latin Modern Math}, as your default, then setmathfont[range=it/{Greek,greek}, Scale=MatchLowercase]{Artemisia} (for example).



In general, write your new documents for the new toolchain if you can, and the legacy toolchain if you have to.



With Legacy Math Fonts



Load isomath and pick one of the Greek alphabets it supports. This package and mathalfa give you the closest thing the NFSS ecosystem has to a standard interface for selecting the math alphabets of your choice.



With Legacy Greek Text Fonts



You can use LGR-encoded legacy NFSS fonts in math mode through mathastext. This example loads GFS Bodoni:



usepackage[LGR,T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc}
%usepackage{amsmath}
usepackage{alphabeta}
usepackage{gfsbodoni}
usepackage[italic, LGRgreek, itgreek]{mathastext} % or upgreek, or upGreek.


If you want to write actual Greek words, also load babel.



If You Really Want Just that One Letter



Look up the encoding of the legacy font whose symbol you want, and declare it as a symbol alphabet. This example typesets the Euler-Mascheroni constant with the γ from the font AMS Euler, in ISO style. The constant is unslanted, not italic, and I give it the de facto standard name upgamma. The other symbols are taken from newpx, a clone of Palatino, another font by Hermann Zapf that goes well with his AMS Euler.



documentclass[varwidth]{standalone}
usepackage[T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc} % The default since 2018.
usepackage{newpxtext, newpxmath}

DeclareSymbolFont{eulerup}{U}{zeur}{m}{n}
DeclareMathSymbol{upgamma}{mathord}{eulerup}{"0D}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}


The Euler Constant



By the way, if you like this setup, here is how you get it with the modern toolchain (after downloading Khaled Hosny’s font Neo Euler from GitHub):



documentclass[varwidth]{standalone}
usepackage[math-style=ISO]{unicode-math}

defaultfontfeatures{Scale=MatchLowercase}
setmainfont{TeX Gyre Pagella}[
Scale = 1.0 ,
Ligatures = {Common, TeX} ]
setmonofont{Inconsolata}
% A good matching sans serif, should you want one, is Optima. A free clone
% is URW Classico.
setmathfont{TeX Gyre Pagella Math}
% Neo Euler by Khaled Hosny, based on AMS Euler by Hermann Zapf:
% https://github.com/khaledhosny/euler-otf
setmathfont[range=up/{latin,Latin,greek,Greek},
script-style={},
sscript-style={}]{Neo Euler}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}





share|improve this answer














In the Modern Toolchain



usepackage{unicode-math}, then check the list of Unicode-math symbols for a font specimen of all the math symbols in a half-dozen Unicode math fonts. Pick a font you like.



If you want to change only the Greek letters to another Unicode font, including any of the fonts on your desktop, add setmathfont{Latin Modern Math}, as your default, then setmathfont[range=it/{Greek,greek}, Scale=MatchLowercase]{Artemisia} (for example).



In general, write your new documents for the new toolchain if you can, and the legacy toolchain if you have to.



With Legacy Math Fonts



Load isomath and pick one of the Greek alphabets it supports. This package and mathalfa give you the closest thing the NFSS ecosystem has to a standard interface for selecting the math alphabets of your choice.



With Legacy Greek Text Fonts



You can use LGR-encoded legacy NFSS fonts in math mode through mathastext. This example loads GFS Bodoni:



usepackage[LGR,T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc}
%usepackage{amsmath}
usepackage{alphabeta}
usepackage{gfsbodoni}
usepackage[italic, LGRgreek, itgreek]{mathastext} % or upgreek, or upGreek.


If you want to write actual Greek words, also load babel.



If You Really Want Just that One Letter



Look up the encoding of the legacy font whose symbol you want, and declare it as a symbol alphabet. This example typesets the Euler-Mascheroni constant with the γ from the font AMS Euler, in ISO style. The constant is unslanted, not italic, and I give it the de facto standard name upgamma. The other symbols are taken from newpx, a clone of Palatino, another font by Hermann Zapf that goes well with his AMS Euler.



documentclass[varwidth]{standalone}
usepackage[T1]{fontenc}
usepackage{textcomp}
usepackage[utf8]{inputenc} % The default since 2018.
usepackage{newpxtext, newpxmath}

DeclareSymbolFont{eulerup}{U}{zeur}{m}{n}
DeclareMathSymbol{upgamma}{mathord}{eulerup}{"0D}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}


The Euler Constant



By the way, if you like this setup, here is how you get it with the modern toolchain (after downloading Khaled Hosny’s font Neo Euler from GitHub):



documentclass[varwidth]{standalone}
usepackage[math-style=ISO]{unicode-math}

defaultfontfeatures{Scale=MatchLowercase}
setmainfont{TeX Gyre Pagella}[
Scale = 1.0 ,
Ligatures = {Common, TeX} ]
setmonofont{Inconsolata}
% A good matching sans serif, should you want one, is Optima. A free clone
% is URW Classico.
setmathfont{TeX Gyre Pagella Math}
% Neo Euler by Khaled Hosny, based on AMS Euler by Hermann Zapf:
% https://github.com/khaledhosny/euler-otf
setmathfont[range=up/{latin,Latin,greek,Greek},
script-style={},
sscript-style={}]{Neo Euler}

begin{document}
begin{minipage}{10cm}
[ upgamma = lim_{n to infty} left(
- ln n + sum_{k=1}^n frac{1}{k}
right) ]
end{minipage}
end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 28 '18 at 11:36









JPi

9,57721450




9,57721450










answered Dec 27 '18 at 5:28









Davislor

4,8321024




4,8321024












  • No, I do not mean capital Gamma; I mean lower case Gamma in Math mode, with one of two styles: the more correct form with a loop and the more traditional form (in Physics) with a tail. I'm trying to avoid Unicode because ArXiV doesn't support XeTeX and I don't want to get into the habit of doing anything that won't work with pdfLaTeX.
    – shmuel
    Dec 27 '18 at 20:12












  • @shmuel: You can get a good help from the community here if you post an image.
    – AboAmmar
    Dec 27 '18 at 21:35










  • @shmuel That makes sense. All of those solutions work for a lowercase gamma in math mode, and all but the first work in PDFLaTeX.
    – Davislor
    Dec 27 '18 at 21:49










  • @AboAmmar What is the markup to render a block of TeX, and can I do it within a comment or only in the base message or an answer?
    – shmuel
    Dec 28 '18 at 20:57












  • @Davislor I thought that symbols beginning with text were only for use in text mode. I only mentioned capital Gamma because of a comment by Stefan Schroeder; what I want is a lower case slanted Gamma.
    – shmuel
    Dec 28 '18 at 21:06


















  • No, I do not mean capital Gamma; I mean lower case Gamma in Math mode, with one of two styles: the more correct form with a loop and the more traditional form (in Physics) with a tail. I'm trying to avoid Unicode because ArXiV doesn't support XeTeX and I don't want to get into the habit of doing anything that won't work with pdfLaTeX.
    – shmuel
    Dec 27 '18 at 20:12












  • @shmuel: You can get a good help from the community here if you post an image.
    – AboAmmar
    Dec 27 '18 at 21:35










  • @shmuel That makes sense. All of those solutions work for a lowercase gamma in math mode, and all but the first work in PDFLaTeX.
    – Davislor
    Dec 27 '18 at 21:49










  • @AboAmmar What is the markup to render a block of TeX, and can I do it within a comment or only in the base message or an answer?
    – shmuel
    Dec 28 '18 at 20:57












  • @Davislor I thought that symbols beginning with text were only for use in text mode. I only mentioned capital Gamma because of a comment by Stefan Schroeder; what I want is a lower case slanted Gamma.
    – shmuel
    Dec 28 '18 at 21:06
















No, I do not mean capital Gamma; I mean lower case Gamma in Math mode, with one of two styles: the more correct form with a loop and the more traditional form (in Physics) with a tail. I'm trying to avoid Unicode because ArXiV doesn't support XeTeX and I don't want to get into the habit of doing anything that won't work with pdfLaTeX.
– shmuel
Dec 27 '18 at 20:12






No, I do not mean capital Gamma; I mean lower case Gamma in Math mode, with one of two styles: the more correct form with a loop and the more traditional form (in Physics) with a tail. I'm trying to avoid Unicode because ArXiV doesn't support XeTeX and I don't want to get into the habit of doing anything that won't work with pdfLaTeX.
– shmuel
Dec 27 '18 at 20:12














@shmuel: You can get a good help from the community here if you post an image.
– AboAmmar
Dec 27 '18 at 21:35




@shmuel: You can get a good help from the community here if you post an image.
– AboAmmar
Dec 27 '18 at 21:35












@shmuel That makes sense. All of those solutions work for a lowercase gamma in math mode, and all but the first work in PDFLaTeX.
– Davislor
Dec 27 '18 at 21:49




@shmuel That makes sense. All of those solutions work for a lowercase gamma in math mode, and all but the first work in PDFLaTeX.
– Davislor
Dec 27 '18 at 21:49












@AboAmmar What is the markup to render a block of TeX, and can I do it within a comment or only in the base message or an answer?
– shmuel
Dec 28 '18 at 20:57






@AboAmmar What is the markup to render a block of TeX, and can I do it within a comment or only in the base message or an answer?
– shmuel
Dec 28 '18 at 20:57














@Davislor I thought that symbols beginning with text were only for use in text mode. I only mentioned capital Gamma because of a comment by Stefan Schroeder; what I want is a lower case slanted Gamma.
– shmuel
Dec 28 '18 at 21:06




@Davislor I thought that symbols beginning with text were only for use in text mode. I only mentioned capital Gamma because of a comment by Stefan Schroeder; what I want is a lower case slanted Gamma.
– shmuel
Dec 28 '18 at 21:06


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467452%2fhow-do-i-select-the-style-of-a-lowercase-gamma%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?