How to write capital alpha?What is the “correct” way of embedding text into math mode?Which package includes Rho? (Big rho)Can I typeset greek letters in text mode using Latin Modern Fonts?Changing the Greek math font with mathspecHow to use `mathrm` with capital greek letter and `newtx` package?Charter and Helvetica with greek letters in LaTeX or XeLaTeXnon-italic Greek lettersUse smart greek letters recognizing mathrm with mathastext-packageHow to tell XeLaTeX to use one font for italic math and another font for bold math?mtpro2 + baskerville in mathExport Greek font (italic, upright, bold) from 'newtxmath' package with libertine option
What are the characteristics of a typeless programming language?
Converting a sprinkler system's 24V AC outputs to 3.3V DC logic inputs
Pre-plastic human skin alternative
How to limit Drive Letters Windows assigns to new removable USB drives
Pulling the rope with one hand is as heavy as with two hands?
What is the most expensive material in the world that could be used to create Pun-Pun's lute?
Multiple options vs single option UI
Is there any official lore on the Far Realm?
Implications of cigar-shaped bodies having rings?
How to denote matrix elements succinctly?
Why do games have consumables?
A strange hotel
Why must Chinese maps be obfuscated?
How to not starve gigantic beasts
Aligning equation numbers vertically
Was there a Viking Exchange as well as a Columbian one?
Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?
Extension of 2-adic valuation to the real numbers
Checks user level and limit the data before saving it to mongoDB
If a planet has 3 moons, is it possible to have triple Full/New Moons at once?
How to fry ground beef so it is well-browned
Two field separators (colon and space) in awk
A Note on N!
Elements other than carbon that can form many different compounds by bonding to themselves?
How to write capital alpha?
What is the “correct” way of embedding text into math mode?Which package includes Rho? (Big rho)Can I typeset greek letters in text mode using Latin Modern Fonts?Changing the Greek math font with mathspecHow to use `mathrm` with capital greek letter and `newtx` package?Charter and Helvetica with greek letters in LaTeX or XeLaTeXnon-italic Greek lettersUse smart greek letters recognizing mathrm with mathastext-packageHow to tell XeLaTeX to use one font for italic math and another font for bold math?mtpro2 + baskerville in mathExport Greek font (italic, upright, bold) from 'newtxmath' package with libertine option
Unfortunately, the command Alpha
does not produce capital version of alpha
(as one might expect in analogy with how, say, Pi
produces capital pi
). It so happens that the capital alpha looks rather similar to A
, but that doesn't mean that there aren't situations where I would like to use capital alpha in a formula. For instance, suppose I already have pi
which belongs to a set Pi
, and then alpha
comes along and I need a name for the set of its possible values.
What is the best way to write capital alpha?
The obvious first attempt is to just write A
. But it's not right - A
produces italic A
, while Greek letters are by default not italic. Would mathrmA
do the trick, or is there some subtle issue I'm not noticing? Is there a package that will save me the work of defining all capital letters by hand?
fonts greek
add a comment |
Unfortunately, the command Alpha
does not produce capital version of alpha
(as one might expect in analogy with how, say, Pi
produces capital pi
). It so happens that the capital alpha looks rather similar to A
, but that doesn't mean that there aren't situations where I would like to use capital alpha in a formula. For instance, suppose I already have pi
which belongs to a set Pi
, and then alpha
comes along and I need a name for the set of its possible values.
What is the best way to write capital alpha?
The obvious first attempt is to just write A
. But it's not right - A
produces italic A
, while Greek letters are by default not italic. Would mathrmA
do the trick, or is there some subtle issue I'm not noticing? Is there a package that will save me the work of defining all capital letters by hand?
fonts greek
6
Yes, it ismathrmA
.
– JouleV
Apr 19 at 13:21
Slight correction: uppercase Greek letters are by default not italic in math, but lowercase ones are.
– Especially Lime
Apr 20 at 8:27
3
How will your readers distinguish between Alpha and A?
– egreg
Apr 20 at 10:02
1
@egreg - With any luck, Alpha and A will not appear anywhere close to one another. And even if they do, one will be italic and the other one won't.
– Jakub Konieczny
Apr 20 at 20:53
add a comment |
Unfortunately, the command Alpha
does not produce capital version of alpha
(as one might expect in analogy with how, say, Pi
produces capital pi
). It so happens that the capital alpha looks rather similar to A
, but that doesn't mean that there aren't situations where I would like to use capital alpha in a formula. For instance, suppose I already have pi
which belongs to a set Pi
, and then alpha
comes along and I need a name for the set of its possible values.
What is the best way to write capital alpha?
The obvious first attempt is to just write A
. But it's not right - A
produces italic A
, while Greek letters are by default not italic. Would mathrmA
do the trick, or is there some subtle issue I'm not noticing? Is there a package that will save me the work of defining all capital letters by hand?
fonts greek
Unfortunately, the command Alpha
does not produce capital version of alpha
(as one might expect in analogy with how, say, Pi
produces capital pi
). It so happens that the capital alpha looks rather similar to A
, but that doesn't mean that there aren't situations where I would like to use capital alpha in a formula. For instance, suppose I already have pi
which belongs to a set Pi
, and then alpha
comes along and I need a name for the set of its possible values.
What is the best way to write capital alpha?
The obvious first attempt is to just write A
. But it's not right - A
produces italic A
, while Greek letters are by default not italic. Would mathrmA
do the trick, or is there some subtle issue I'm not noticing? Is there a package that will save me the work of defining all capital letters by hand?
fonts greek
fonts greek
edited Apr 19 at 13:27
Sigur
26.3k457143
26.3k457143
asked Apr 19 at 13:17
Jakub KoniecznyJakub Konieczny
322212
322212
6
Yes, it ismathrmA
.
– JouleV
Apr 19 at 13:21
Slight correction: uppercase Greek letters are by default not italic in math, but lowercase ones are.
– Especially Lime
Apr 20 at 8:27
3
How will your readers distinguish between Alpha and A?
– egreg
Apr 20 at 10:02
1
@egreg - With any luck, Alpha and A will not appear anywhere close to one another. And even if they do, one will be italic and the other one won't.
– Jakub Konieczny
Apr 20 at 20:53
add a comment |
6
Yes, it ismathrmA
.
– JouleV
Apr 19 at 13:21
Slight correction: uppercase Greek letters are by default not italic in math, but lowercase ones are.
– Especially Lime
Apr 20 at 8:27
3
How will your readers distinguish between Alpha and A?
– egreg
Apr 20 at 10:02
1
@egreg - With any luck, Alpha and A will not appear anywhere close to one another. And even if they do, one will be italic and the other one won't.
– Jakub Konieczny
Apr 20 at 20:53
6
6
Yes, it is
mathrmA
.– JouleV
Apr 19 at 13:21
Yes, it is
mathrmA
.– JouleV
Apr 19 at 13:21
Slight correction: uppercase Greek letters are by default not italic in math, but lowercase ones are.
– Especially Lime
Apr 20 at 8:27
Slight correction: uppercase Greek letters are by default not italic in math, but lowercase ones are.
– Especially Lime
Apr 20 at 8:27
3
3
How will your readers distinguish between Alpha and A?
– egreg
Apr 20 at 10:02
How will your readers distinguish between Alpha and A?
– egreg
Apr 20 at 10:02
1
1
@egreg - With any luck, Alpha and A will not appear anywhere close to one another. And even if they do, one will be italic and the other one won't.
– Jakub Konieczny
Apr 20 at 20:53
@egreg - With any luck, Alpha and A will not appear anywhere close to one another. And even if they do, one will be italic and the other one won't.
– Jakub Konieczny
Apr 20 at 20:53
add a comment |
4 Answers
4
active
oldest
votes
If you're using LuaLaTeX or XeLaTeX, you can use the unicode-math
package. It defines all uppercase Greek letters:
documentclassarticle
usepackageunicode-math
begindocument
$Alpha+Beta=Gamma$.
enddocument
The result is:
This way has an advantage in that one can change the style of the letters by altering the unicode-math
options. For example usepackage[math-style=ISO]unicode-math
without any other changes yields:
Also, this way alpha can be copied&pasted from the resulting PDF.
1
-1 for dependence on IDE/engine.
– Rosie F
Apr 19 at 17:37
26
@RosieF There’s no dependence on IDE. Posting a solution that uses newer technology does not merit a downvote unless it fails to answer the question, i.e. ignoring the specified requirements. This site should encourage posting alternative solutions, some of which use LuaLaTeX or XeLaTeX.
– Davislor
Apr 19 at 18:45
11
@RosieF It is impossible to use TeX without using some specific TeX engine. If commonly used implementations behave differently (which may be unfortunate, but is a fact of life) understanding the differences is an important part of the answer.
– alephzero
Apr 19 at 20:19
6
+1: @RosieF I also no not see any reason for a downvote at all.
– Dr. Manuel Kuehner
Apr 19 at 21:25
6
@RosieF By the same logic, all questions that depend on LaTeX instead of just base TeX should be downvoted, since that is an extremely large dependence!
– AJFarmar
Apr 20 at 14:33
|
show 2 more comments
Screenshot from lshort.pdf
(The Not So Short Introduction to LaTeX2e):
So it is simply mathrmA
.
documentclassstandalone
newcommandAlphamathrmA
begindocument
$Alpha+Pi=Gamma$
enddocument
3
+1 for independence from IDE/engine.
– Rosie F
Apr 19 at 17:36
add a comment |
I would recommend unicode-math
and Sergei Golovan’s solution if you are able to use it. Fewer and fewer publishers force you to use PDFTeX.
Here is a PDFTeX-compatible solution that produces a Greek Α and Β instead of a Latin A and B:
documentclass[varwidth]standalone
usepackage[LGR, T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern, amsmath
newcommandmupAlphamathordtext%
fontencodingLGRupshapeselectfont textAlpha
newcommandmupBetamathordtext%
fontencodingLGRupshapeselectfont textBeta
begindocument
( mupAlpha + mupBeta = Gamma )
enddocument
I chose the names mupAlpha
and mupBeta
, which are compatible with unicode-math
, because they always produce a regular-weight, upright letter. It would also be possible to define italic mitAlpha
and bold mbfAlpha
by inserting itshape
or bfseries
. Or you could call it Alpha
.
Another alternative is to declare LGR-encoded symbol alphabets and DeclareMathSymbol
, but be careful you don’t run out of math alphabets, which are a limited resource in the legacy toolchain. There are a number of packages that define Greek math-mode fonts, including upgreek
. Both mathastext
and isomath
have options to load a LGR font for your Greek letters in math mode.
In theory, you could try the alphabeta
package to use commands such as Alpha
in either text or math mode, and also insert the Unicode characters in math mode. However, it produces inconsistent results: Α + Β = Γ. In practice, if you want to mix different scripts, you’re much better off with Unicode and the modern toolchain designed for that.
Did you try$x_mupAlpha$
?
– egreg
Apr 20 at 9:50
@egreg Oof! Thanks for the reminder.
– Davislor
Apr 20 at 10:11
add a comment |
This works with the default Computer Modern fonts. A different font family should be chosen if the font is different (and it should have support for the LGR encoding).
I redefined also Delta
because the correspondence when copying maps the standard Delta
to U+2206 INCREMENT.
documentclassarticle
usepackage[LGR,T1]fontenc % or OT1
DeclareSymbolFontupgreekLGRcmrmn
SetSymbolFontupgreekboldLGRcmrbxn
DeclareMathSymbolAlphamathordupgreek`A
DeclareMathSymbolBetamathordupgreek`B
DeclareMathSymbolDeltamathordupgreek`D
DeclareMathSymbolEpsilonmathordupgreek`E
DeclareMathSymbolZetamathordupgreek`Z
DeclareMathSymbolEtamathordupgreek`H
DeclareMathSymbolIotamathordupgreek`I
DeclareMathSymbolKappamathordupgreek`K
DeclareMathSymbolMumathordupgreek`M
DeclareMathSymbolNumathordupgreek`N
DeclareMathSymbolOmicronmathordupgreek`O
DeclareMathSymbolRhomathordupgreek`R
DeclareMathSymbolTaumathordupgreek`T
DeclareMathSymbolChimathordupgreek`Q
begindocument
$AlphaBetaGammaDeltaEpsilonZetaEtaThetaIotaKappaLambdaMu$
$NuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsiOmega$
mathversionbold$AlphaBetaGammaDelta$
enddocument
You could also avoid the dependency from LGR
, but in this case you have to set up a font family in the U encoding.
Below what I get by copy-paste:
ΑΒΓΔΕΖΗΘΙΚΛΜ ΝΞΟΠΡΣΤΥΦΧΨΩ ΑΒΓΔ
If you define Alpha
as mathrmA
you just get the same glyph, but upon copying it would be A.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485593%2fhow-to-write-capital-alpha%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you're using LuaLaTeX or XeLaTeX, you can use the unicode-math
package. It defines all uppercase Greek letters:
documentclassarticle
usepackageunicode-math
begindocument
$Alpha+Beta=Gamma$.
enddocument
The result is:
This way has an advantage in that one can change the style of the letters by altering the unicode-math
options. For example usepackage[math-style=ISO]unicode-math
without any other changes yields:
Also, this way alpha can be copied&pasted from the resulting PDF.
1
-1 for dependence on IDE/engine.
– Rosie F
Apr 19 at 17:37
26
@RosieF There’s no dependence on IDE. Posting a solution that uses newer technology does not merit a downvote unless it fails to answer the question, i.e. ignoring the specified requirements. This site should encourage posting alternative solutions, some of which use LuaLaTeX or XeLaTeX.
– Davislor
Apr 19 at 18:45
11
@RosieF It is impossible to use TeX without using some specific TeX engine. If commonly used implementations behave differently (which may be unfortunate, but is a fact of life) understanding the differences is an important part of the answer.
– alephzero
Apr 19 at 20:19
6
+1: @RosieF I also no not see any reason for a downvote at all.
– Dr. Manuel Kuehner
Apr 19 at 21:25
6
@RosieF By the same logic, all questions that depend on LaTeX instead of just base TeX should be downvoted, since that is an extremely large dependence!
– AJFarmar
Apr 20 at 14:33
|
show 2 more comments
If you're using LuaLaTeX or XeLaTeX, you can use the unicode-math
package. It defines all uppercase Greek letters:
documentclassarticle
usepackageunicode-math
begindocument
$Alpha+Beta=Gamma$.
enddocument
The result is:
This way has an advantage in that one can change the style of the letters by altering the unicode-math
options. For example usepackage[math-style=ISO]unicode-math
without any other changes yields:
Also, this way alpha can be copied&pasted from the resulting PDF.
1
-1 for dependence on IDE/engine.
– Rosie F
Apr 19 at 17:37
26
@RosieF There’s no dependence on IDE. Posting a solution that uses newer technology does not merit a downvote unless it fails to answer the question, i.e. ignoring the specified requirements. This site should encourage posting alternative solutions, some of which use LuaLaTeX or XeLaTeX.
– Davislor
Apr 19 at 18:45
11
@RosieF It is impossible to use TeX without using some specific TeX engine. If commonly used implementations behave differently (which may be unfortunate, but is a fact of life) understanding the differences is an important part of the answer.
– alephzero
Apr 19 at 20:19
6
+1: @RosieF I also no not see any reason for a downvote at all.
– Dr. Manuel Kuehner
Apr 19 at 21:25
6
@RosieF By the same logic, all questions that depend on LaTeX instead of just base TeX should be downvoted, since that is an extremely large dependence!
– AJFarmar
Apr 20 at 14:33
|
show 2 more comments
If you're using LuaLaTeX or XeLaTeX, you can use the unicode-math
package. It defines all uppercase Greek letters:
documentclassarticle
usepackageunicode-math
begindocument
$Alpha+Beta=Gamma$.
enddocument
The result is:
This way has an advantage in that one can change the style of the letters by altering the unicode-math
options. For example usepackage[math-style=ISO]unicode-math
without any other changes yields:
Also, this way alpha can be copied&pasted from the resulting PDF.
If you're using LuaLaTeX or XeLaTeX, you can use the unicode-math
package. It defines all uppercase Greek letters:
documentclassarticle
usepackageunicode-math
begindocument
$Alpha+Beta=Gamma$.
enddocument
The result is:
This way has an advantage in that one can change the style of the letters by altering the unicode-math
options. For example usepackage[math-style=ISO]unicode-math
without any other changes yields:
Also, this way alpha can be copied&pasted from the resulting PDF.
answered Apr 19 at 14:00
Sergei GolovanSergei Golovan
4,8331716
4,8331716
1
-1 for dependence on IDE/engine.
– Rosie F
Apr 19 at 17:37
26
@RosieF There’s no dependence on IDE. Posting a solution that uses newer technology does not merit a downvote unless it fails to answer the question, i.e. ignoring the specified requirements. This site should encourage posting alternative solutions, some of which use LuaLaTeX or XeLaTeX.
– Davislor
Apr 19 at 18:45
11
@RosieF It is impossible to use TeX without using some specific TeX engine. If commonly used implementations behave differently (which may be unfortunate, but is a fact of life) understanding the differences is an important part of the answer.
– alephzero
Apr 19 at 20:19
6
+1: @RosieF I also no not see any reason for a downvote at all.
– Dr. Manuel Kuehner
Apr 19 at 21:25
6
@RosieF By the same logic, all questions that depend on LaTeX instead of just base TeX should be downvoted, since that is an extremely large dependence!
– AJFarmar
Apr 20 at 14:33
|
show 2 more comments
1
-1 for dependence on IDE/engine.
– Rosie F
Apr 19 at 17:37
26
@RosieF There’s no dependence on IDE. Posting a solution that uses newer technology does not merit a downvote unless it fails to answer the question, i.e. ignoring the specified requirements. This site should encourage posting alternative solutions, some of which use LuaLaTeX or XeLaTeX.
– Davislor
Apr 19 at 18:45
11
@RosieF It is impossible to use TeX without using some specific TeX engine. If commonly used implementations behave differently (which may be unfortunate, but is a fact of life) understanding the differences is an important part of the answer.
– alephzero
Apr 19 at 20:19
6
+1: @RosieF I also no not see any reason for a downvote at all.
– Dr. Manuel Kuehner
Apr 19 at 21:25
6
@RosieF By the same logic, all questions that depend on LaTeX instead of just base TeX should be downvoted, since that is an extremely large dependence!
– AJFarmar
Apr 20 at 14:33
1
1
-1 for dependence on IDE/engine.
– Rosie F
Apr 19 at 17:37
-1 for dependence on IDE/engine.
– Rosie F
Apr 19 at 17:37
26
26
@RosieF There’s no dependence on IDE. Posting a solution that uses newer technology does not merit a downvote unless it fails to answer the question, i.e. ignoring the specified requirements. This site should encourage posting alternative solutions, some of which use LuaLaTeX or XeLaTeX.
– Davislor
Apr 19 at 18:45
@RosieF There’s no dependence on IDE. Posting a solution that uses newer technology does not merit a downvote unless it fails to answer the question, i.e. ignoring the specified requirements. This site should encourage posting alternative solutions, some of which use LuaLaTeX or XeLaTeX.
– Davislor
Apr 19 at 18:45
11
11
@RosieF It is impossible to use TeX without using some specific TeX engine. If commonly used implementations behave differently (which may be unfortunate, but is a fact of life) understanding the differences is an important part of the answer.
– alephzero
Apr 19 at 20:19
@RosieF It is impossible to use TeX without using some specific TeX engine. If commonly used implementations behave differently (which may be unfortunate, but is a fact of life) understanding the differences is an important part of the answer.
– alephzero
Apr 19 at 20:19
6
6
+1: @RosieF I also no not see any reason for a downvote at all.
– Dr. Manuel Kuehner
Apr 19 at 21:25
+1: @RosieF I also no not see any reason for a downvote at all.
– Dr. Manuel Kuehner
Apr 19 at 21:25
6
6
@RosieF By the same logic, all questions that depend on LaTeX instead of just base TeX should be downvoted, since that is an extremely large dependence!
– AJFarmar
Apr 20 at 14:33
@RosieF By the same logic, all questions that depend on LaTeX instead of just base TeX should be downvoted, since that is an extremely large dependence!
– AJFarmar
Apr 20 at 14:33
|
show 2 more comments
Screenshot from lshort.pdf
(The Not So Short Introduction to LaTeX2e):
So it is simply mathrmA
.
documentclassstandalone
newcommandAlphamathrmA
begindocument
$Alpha+Pi=Gamma$
enddocument
3
+1 for independence from IDE/engine.
– Rosie F
Apr 19 at 17:36
add a comment |
Screenshot from lshort.pdf
(The Not So Short Introduction to LaTeX2e):
So it is simply mathrmA
.
documentclassstandalone
newcommandAlphamathrmA
begindocument
$Alpha+Pi=Gamma$
enddocument
3
+1 for independence from IDE/engine.
– Rosie F
Apr 19 at 17:36
add a comment |
Screenshot from lshort.pdf
(The Not So Short Introduction to LaTeX2e):
So it is simply mathrmA
.
documentclassstandalone
newcommandAlphamathrmA
begindocument
$Alpha+Pi=Gamma$
enddocument
Screenshot from lshort.pdf
(The Not So Short Introduction to LaTeX2e):
So it is simply mathrmA
.
documentclassstandalone
newcommandAlphamathrmA
begindocument
$Alpha+Pi=Gamma$
enddocument
answered Apr 19 at 13:26
JouleVJouleV
16.1k22667
16.1k22667
3
+1 for independence from IDE/engine.
– Rosie F
Apr 19 at 17:36
add a comment |
3
+1 for independence from IDE/engine.
– Rosie F
Apr 19 at 17:36
3
3
+1 for independence from IDE/engine.
– Rosie F
Apr 19 at 17:36
+1 for independence from IDE/engine.
– Rosie F
Apr 19 at 17:36
add a comment |
I would recommend unicode-math
and Sergei Golovan’s solution if you are able to use it. Fewer and fewer publishers force you to use PDFTeX.
Here is a PDFTeX-compatible solution that produces a Greek Α and Β instead of a Latin A and B:
documentclass[varwidth]standalone
usepackage[LGR, T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern, amsmath
newcommandmupAlphamathordtext%
fontencodingLGRupshapeselectfont textAlpha
newcommandmupBetamathordtext%
fontencodingLGRupshapeselectfont textBeta
begindocument
( mupAlpha + mupBeta = Gamma )
enddocument
I chose the names mupAlpha
and mupBeta
, which are compatible with unicode-math
, because they always produce a regular-weight, upright letter. It would also be possible to define italic mitAlpha
and bold mbfAlpha
by inserting itshape
or bfseries
. Or you could call it Alpha
.
Another alternative is to declare LGR-encoded symbol alphabets and DeclareMathSymbol
, but be careful you don’t run out of math alphabets, which are a limited resource in the legacy toolchain. There are a number of packages that define Greek math-mode fonts, including upgreek
. Both mathastext
and isomath
have options to load a LGR font for your Greek letters in math mode.
In theory, you could try the alphabeta
package to use commands such as Alpha
in either text or math mode, and also insert the Unicode characters in math mode. However, it produces inconsistent results: Α + Β = Γ. In practice, if you want to mix different scripts, you’re much better off with Unicode and the modern toolchain designed for that.
Did you try$x_mupAlpha$
?
– egreg
Apr 20 at 9:50
@egreg Oof! Thanks for the reminder.
– Davislor
Apr 20 at 10:11
add a comment |
I would recommend unicode-math
and Sergei Golovan’s solution if you are able to use it. Fewer and fewer publishers force you to use PDFTeX.
Here is a PDFTeX-compatible solution that produces a Greek Α and Β instead of a Latin A and B:
documentclass[varwidth]standalone
usepackage[LGR, T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern, amsmath
newcommandmupAlphamathordtext%
fontencodingLGRupshapeselectfont textAlpha
newcommandmupBetamathordtext%
fontencodingLGRupshapeselectfont textBeta
begindocument
( mupAlpha + mupBeta = Gamma )
enddocument
I chose the names mupAlpha
and mupBeta
, which are compatible with unicode-math
, because they always produce a regular-weight, upright letter. It would also be possible to define italic mitAlpha
and bold mbfAlpha
by inserting itshape
or bfseries
. Or you could call it Alpha
.
Another alternative is to declare LGR-encoded symbol alphabets and DeclareMathSymbol
, but be careful you don’t run out of math alphabets, which are a limited resource in the legacy toolchain. There are a number of packages that define Greek math-mode fonts, including upgreek
. Both mathastext
and isomath
have options to load a LGR font for your Greek letters in math mode.
In theory, you could try the alphabeta
package to use commands such as Alpha
in either text or math mode, and also insert the Unicode characters in math mode. However, it produces inconsistent results: Α + Β = Γ. In practice, if you want to mix different scripts, you’re much better off with Unicode and the modern toolchain designed for that.
Did you try$x_mupAlpha$
?
– egreg
Apr 20 at 9:50
@egreg Oof! Thanks for the reminder.
– Davislor
Apr 20 at 10:11
add a comment |
I would recommend unicode-math
and Sergei Golovan’s solution if you are able to use it. Fewer and fewer publishers force you to use PDFTeX.
Here is a PDFTeX-compatible solution that produces a Greek Α and Β instead of a Latin A and B:
documentclass[varwidth]standalone
usepackage[LGR, T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern, amsmath
newcommandmupAlphamathordtext%
fontencodingLGRupshapeselectfont textAlpha
newcommandmupBetamathordtext%
fontencodingLGRupshapeselectfont textBeta
begindocument
( mupAlpha + mupBeta = Gamma )
enddocument
I chose the names mupAlpha
and mupBeta
, which are compatible with unicode-math
, because they always produce a regular-weight, upright letter. It would also be possible to define italic mitAlpha
and bold mbfAlpha
by inserting itshape
or bfseries
. Or you could call it Alpha
.
Another alternative is to declare LGR-encoded symbol alphabets and DeclareMathSymbol
, but be careful you don’t run out of math alphabets, which are a limited resource in the legacy toolchain. There are a number of packages that define Greek math-mode fonts, including upgreek
. Both mathastext
and isomath
have options to load a LGR font for your Greek letters in math mode.
In theory, you could try the alphabeta
package to use commands such as Alpha
in either text or math mode, and also insert the Unicode characters in math mode. However, it produces inconsistent results: Α + Β = Γ. In practice, if you want to mix different scripts, you’re much better off with Unicode and the modern toolchain designed for that.
I would recommend unicode-math
and Sergei Golovan’s solution if you are able to use it. Fewer and fewer publishers force you to use PDFTeX.
Here is a PDFTeX-compatible solution that produces a Greek Α and Β instead of a Latin A and B:
documentclass[varwidth]standalone
usepackage[LGR, T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern, amsmath
newcommandmupAlphamathordtext%
fontencodingLGRupshapeselectfont textAlpha
newcommandmupBetamathordtext%
fontencodingLGRupshapeselectfont textBeta
begindocument
( mupAlpha + mupBeta = Gamma )
enddocument
I chose the names mupAlpha
and mupBeta
, which are compatible with unicode-math
, because they always produce a regular-weight, upright letter. It would also be possible to define italic mitAlpha
and bold mbfAlpha
by inserting itshape
or bfseries
. Or you could call it Alpha
.
Another alternative is to declare LGR-encoded symbol alphabets and DeclareMathSymbol
, but be careful you don’t run out of math alphabets, which are a limited resource in the legacy toolchain. There are a number of packages that define Greek math-mode fonts, including upgreek
. Both mathastext
and isomath
have options to load a LGR font for your Greek letters in math mode.
In theory, you could try the alphabeta
package to use commands such as Alpha
in either text or math mode, and also insert the Unicode characters in math mode. However, it produces inconsistent results: Α + Β = Γ. In practice, if you want to mix different scripts, you’re much better off with Unicode and the modern toolchain designed for that.
edited Apr 20 at 10:10
answered Apr 19 at 19:52
DavislorDavislor
7,6691433
7,6691433
Did you try$x_mupAlpha$
?
– egreg
Apr 20 at 9:50
@egreg Oof! Thanks for the reminder.
– Davislor
Apr 20 at 10:11
add a comment |
Did you try$x_mupAlpha$
?
– egreg
Apr 20 at 9:50
@egreg Oof! Thanks for the reminder.
– Davislor
Apr 20 at 10:11
Did you try
$x_mupAlpha$
?– egreg
Apr 20 at 9:50
Did you try
$x_mupAlpha$
?– egreg
Apr 20 at 9:50
@egreg Oof! Thanks for the reminder.
– Davislor
Apr 20 at 10:11
@egreg Oof! Thanks for the reminder.
– Davislor
Apr 20 at 10:11
add a comment |
This works with the default Computer Modern fonts. A different font family should be chosen if the font is different (and it should have support for the LGR encoding).
I redefined also Delta
because the correspondence when copying maps the standard Delta
to U+2206 INCREMENT.
documentclassarticle
usepackage[LGR,T1]fontenc % or OT1
DeclareSymbolFontupgreekLGRcmrmn
SetSymbolFontupgreekboldLGRcmrbxn
DeclareMathSymbolAlphamathordupgreek`A
DeclareMathSymbolBetamathordupgreek`B
DeclareMathSymbolDeltamathordupgreek`D
DeclareMathSymbolEpsilonmathordupgreek`E
DeclareMathSymbolZetamathordupgreek`Z
DeclareMathSymbolEtamathordupgreek`H
DeclareMathSymbolIotamathordupgreek`I
DeclareMathSymbolKappamathordupgreek`K
DeclareMathSymbolMumathordupgreek`M
DeclareMathSymbolNumathordupgreek`N
DeclareMathSymbolOmicronmathordupgreek`O
DeclareMathSymbolRhomathordupgreek`R
DeclareMathSymbolTaumathordupgreek`T
DeclareMathSymbolChimathordupgreek`Q
begindocument
$AlphaBetaGammaDeltaEpsilonZetaEtaThetaIotaKappaLambdaMu$
$NuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsiOmega$
mathversionbold$AlphaBetaGammaDelta$
enddocument
You could also avoid the dependency from LGR
, but in this case you have to set up a font family in the U encoding.
Below what I get by copy-paste:
ΑΒΓΔΕΖΗΘΙΚΛΜ ΝΞΟΠΡΣΤΥΦΧΨΩ ΑΒΓΔ
If you define Alpha
as mathrmA
you just get the same glyph, but upon copying it would be A.
add a comment |
This works with the default Computer Modern fonts. A different font family should be chosen if the font is different (and it should have support for the LGR encoding).
I redefined also Delta
because the correspondence when copying maps the standard Delta
to U+2206 INCREMENT.
documentclassarticle
usepackage[LGR,T1]fontenc % or OT1
DeclareSymbolFontupgreekLGRcmrmn
SetSymbolFontupgreekboldLGRcmrbxn
DeclareMathSymbolAlphamathordupgreek`A
DeclareMathSymbolBetamathordupgreek`B
DeclareMathSymbolDeltamathordupgreek`D
DeclareMathSymbolEpsilonmathordupgreek`E
DeclareMathSymbolZetamathordupgreek`Z
DeclareMathSymbolEtamathordupgreek`H
DeclareMathSymbolIotamathordupgreek`I
DeclareMathSymbolKappamathordupgreek`K
DeclareMathSymbolMumathordupgreek`M
DeclareMathSymbolNumathordupgreek`N
DeclareMathSymbolOmicronmathordupgreek`O
DeclareMathSymbolRhomathordupgreek`R
DeclareMathSymbolTaumathordupgreek`T
DeclareMathSymbolChimathordupgreek`Q
begindocument
$AlphaBetaGammaDeltaEpsilonZetaEtaThetaIotaKappaLambdaMu$
$NuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsiOmega$
mathversionbold$AlphaBetaGammaDelta$
enddocument
You could also avoid the dependency from LGR
, but in this case you have to set up a font family in the U encoding.
Below what I get by copy-paste:
ΑΒΓΔΕΖΗΘΙΚΛΜ ΝΞΟΠΡΣΤΥΦΧΨΩ ΑΒΓΔ
If you define Alpha
as mathrmA
you just get the same glyph, but upon copying it would be A.
add a comment |
This works with the default Computer Modern fonts. A different font family should be chosen if the font is different (and it should have support for the LGR encoding).
I redefined also Delta
because the correspondence when copying maps the standard Delta
to U+2206 INCREMENT.
documentclassarticle
usepackage[LGR,T1]fontenc % or OT1
DeclareSymbolFontupgreekLGRcmrmn
SetSymbolFontupgreekboldLGRcmrbxn
DeclareMathSymbolAlphamathordupgreek`A
DeclareMathSymbolBetamathordupgreek`B
DeclareMathSymbolDeltamathordupgreek`D
DeclareMathSymbolEpsilonmathordupgreek`E
DeclareMathSymbolZetamathordupgreek`Z
DeclareMathSymbolEtamathordupgreek`H
DeclareMathSymbolIotamathordupgreek`I
DeclareMathSymbolKappamathordupgreek`K
DeclareMathSymbolMumathordupgreek`M
DeclareMathSymbolNumathordupgreek`N
DeclareMathSymbolOmicronmathordupgreek`O
DeclareMathSymbolRhomathordupgreek`R
DeclareMathSymbolTaumathordupgreek`T
DeclareMathSymbolChimathordupgreek`Q
begindocument
$AlphaBetaGammaDeltaEpsilonZetaEtaThetaIotaKappaLambdaMu$
$NuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsiOmega$
mathversionbold$AlphaBetaGammaDelta$
enddocument
You could also avoid the dependency from LGR
, but in this case you have to set up a font family in the U encoding.
Below what I get by copy-paste:
ΑΒΓΔΕΖΗΘΙΚΛΜ ΝΞΟΠΡΣΤΥΦΧΨΩ ΑΒΓΔ
If you define Alpha
as mathrmA
you just get the same glyph, but upon copying it would be A.
This works with the default Computer Modern fonts. A different font family should be chosen if the font is different (and it should have support for the LGR encoding).
I redefined also Delta
because the correspondence when copying maps the standard Delta
to U+2206 INCREMENT.
documentclassarticle
usepackage[LGR,T1]fontenc % or OT1
DeclareSymbolFontupgreekLGRcmrmn
SetSymbolFontupgreekboldLGRcmrbxn
DeclareMathSymbolAlphamathordupgreek`A
DeclareMathSymbolBetamathordupgreek`B
DeclareMathSymbolDeltamathordupgreek`D
DeclareMathSymbolEpsilonmathordupgreek`E
DeclareMathSymbolZetamathordupgreek`Z
DeclareMathSymbolEtamathordupgreek`H
DeclareMathSymbolIotamathordupgreek`I
DeclareMathSymbolKappamathordupgreek`K
DeclareMathSymbolMumathordupgreek`M
DeclareMathSymbolNumathordupgreek`N
DeclareMathSymbolOmicronmathordupgreek`O
DeclareMathSymbolRhomathordupgreek`R
DeclareMathSymbolTaumathordupgreek`T
DeclareMathSymbolChimathordupgreek`Q
begindocument
$AlphaBetaGammaDeltaEpsilonZetaEtaThetaIotaKappaLambdaMu$
$NuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsiOmega$
mathversionbold$AlphaBetaGammaDelta$
enddocument
You could also avoid the dependency from LGR
, but in this case you have to set up a font family in the U encoding.
Below what I get by copy-paste:
ΑΒΓΔΕΖΗΘΙΚΛΜ ΝΞΟΠΡΣΤΥΦΧΨΩ ΑΒΓΔ
If you define Alpha
as mathrmA
you just get the same glyph, but upon copying it would be A.
answered Apr 20 at 21:56
egregegreg
737k8919373265
737k8919373265
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485593%2fhow-to-write-capital-alpha%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
6
Yes, it is
mathrmA
.– JouleV
Apr 19 at 13:21
Slight correction: uppercase Greek letters are by default not italic in math, but lowercase ones are.
– Especially Lime
Apr 20 at 8:27
3
How will your readers distinguish between Alpha and A?
– egreg
Apr 20 at 10:02
1
@egreg - With any luck, Alpha and A will not appear anywhere close to one another. And even if they do, one will be italic and the other one won't.
– Jakub Konieczny
Apr 20 at 20:53