Math equation in non italic fontblackboard italic fontNon italic text in theorems, definitions, examplesIs there a way to set math mode font non-italic?Is there a bold italic sigma and a sans serif bold italic sigma?How to make a vector bold and italic inside an equationNon italic math mode symbols?Upright math in italic lemmaMath modes non-italic and arial fontlatin modern math italic fontNon italic text in equations
Violin - Can double stops be played when the strings are not next to each other?
Print a physical multiplication table
How to terminate ping <dest> &
What is the significance behind "40 days" that often appears in the Bible?
How to write cleanly even if my character uses expletive language?
Simplify an interface for flexibly applying rules to periods of time
Why does overlay work only on the first tcolorbox?
Bacteria contamination inside a thermos bottle
Recruiter wants very extensive technical details about all of my previous work
Is there a symmetric-key algorithm which we can use for creating a signature?
New passport but visa is in old (lost) passport
Why do tuner card drivers fail to build after kernel update to 4.4.0-143-generic?
Non-trivial topology where only open sets are closed
Relationship between sampajanna definitions in SN 47.2 and SN 47.35
What options are left, if Britain cannot decide?
Is it good practice to use Linear Least-Squares with SMA?
Why do newer 737s use two different styles of split winglets?
While on vacation my taxi took a longer route, possibly to scam me out of money. How can I deal with this?
The German vowel “a” changes to the English “i”
Professor being mistaken for a grad student
Different outputs for `w`, `who`, `whoami` and `id`
Happy pi day, everyone!
Could the Saturn V actually have launched astronauts around Venus?
Does multi-classing into Fighter give you heavy armor proficiency?
Math equation in non italic font
blackboard italic fontNon italic text in theorems, definitions, examplesIs there a way to set math mode font non-italic?Is there a bold italic sigma and a sans serif bold italic sigma?How to make a vector bold and italic inside an equationNon italic math mode symbols?Upright math in italic lemmaMath modes non-italic and arial fontlatin modern math italic fontNon italic text in equations
I am trying to write the following $T_E$
but it appears in italic font. I tried also $textT_E$
but LaTeX gives me error.
math-mode italic
New contributor
add a comment |
I am trying to write the following $T_E$
but it appears in italic font. I tried also $textT_E$
but LaTeX gives me error.
math-mode italic
New contributor
Welcome to TeX.SE! Can you explain what you want to do? Can you show a short compilable code you have so far?
– Kurt
8 hours ago
1
Do you want all math in upright font or only this specific expression?
– samcarter
8 hours ago
add a comment |
I am trying to write the following $T_E$
but it appears in italic font. I tried also $textT_E$
but LaTeX gives me error.
math-mode italic
New contributor
I am trying to write the following $T_E$
but it appears in italic font. I tried also $textT_E$
but LaTeX gives me error.
math-mode italic
math-mode italic
New contributor
New contributor
edited 8 hours ago
Kurt
39.4k850164
39.4k850164
New contributor
asked 9 hours ago
GinaGina
61
61
New contributor
New contributor
Welcome to TeX.SE! Can you explain what you want to do? Can you show a short compilable code you have so far?
– Kurt
8 hours ago
1
Do you want all math in upright font or only this specific expression?
– samcarter
8 hours ago
add a comment |
Welcome to TeX.SE! Can you explain what you want to do? Can you show a short compilable code you have so far?
– Kurt
8 hours ago
1
Do you want all math in upright font or only this specific expression?
– samcarter
8 hours ago
Welcome to TeX.SE! Can you explain what you want to do? Can you show a short compilable code you have so far?
– Kurt
8 hours ago
Welcome to TeX.SE! Can you explain what you want to do? Can you show a short compilable code you have so far?
– Kurt
8 hours ago
1
1
Do you want all math in upright font or only this specific expression?
– samcarter
8 hours ago
Do you want all math in upright font or only this specific expression?
– samcarter
8 hours ago
add a comment |
3 Answers
3
active
oldest
votes
Depending of if you are actually writing math or text:
documentclassarticle
begindocument
$mathrmT_mathrmE$ or TtextsubscriptE
enddocument
add a comment |
The following examples illustrates several possible solutions.
documentclassscrartcl
usepackageamsmath
newcommandtestlineText $mathrmT_mathrmE$ or $textT_textE$ or $textupT_textupE$ or Ttextsubscript E
begindocument
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
rmfamilyupshapebfseries%as before but bold
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
enddocument
Observe that some of them adopt the style and font of the text.
I'd rather usemathrm
– Bernard
8 hours ago
1
It works!! Thanks a lot :)
– Gina
8 hours ago
@Gina: Just out of curiosity: must all your capital letters in formulæ be in uprightshape?
– Bernard
8 hours ago
1
@Gina You are welcome. Please consider to upvote one or both answers and accept one of the two.
– CampanIgnis
8 hours ago
add a comment |
With the Modern Toolchain
With the unicode-math
package (which I personally recommend, although not everyone agrees), mathrm
is still supported for backwards compatibility, but so is the synonym mathup
, and the closely-related symup
.
If you use symup
, you can specify a different upright font from the regular text font, and from operator names like log
, sin
and lim
. My go-to example is setting Euler’s identity in ISO style, that is, with symbolic constants set in an upright font, with the constants e, π and i in Euler and everything else in Palatino. It’s a good example of why you might want a different upright font for math variables.
documentclass[varwidth, preview]standalone
usepackagemathtools
usepackage[math-style=ISO]unicode-math
setmainfontTeX Gyre Pagella
defaultfontfeaturesScale=MatchLowercase
setmathfontAsana Math
setmathfont[range=up/Latin,latin,Greek,greek,
bfup/Latin,latin,Greek,greek,
script-features=, sscript-features=
]Neo Euler
newcommandupesymupe
newcommandupisymupi
begindocument
beginalign*
upe^upi x &= cosx + upi sinx \
upe^upi uppi + 1 &= 0
endalign*
enddocument
(If you want to do something like this with the default font, you can try either Latin Modern Roman Unslanted or CMU Serif Upright Italic. Here’s a sample of the latter:
documentclass[varwidth, preview]standalone
usepackageamsmath
usepackage[math-style=ISO]unicode-math
setmathfontLatin Modern Math
setmathfont[range=up/Latin,latin,Greek,greek]CMU Serif Upright Italic
begindocument
beginalign*
symupe^symupi x &= cosx + symupi sinx \
symupe^symupi pi + 1 &= 0
endalign*
enddocument
The symup
command is intended to be used this way. The mathrm
and mathup
commands are more for words in equations, like naming variables TIME and ENERGY. Another good alternative for whole words is to use operatorname
from amsmath
. This formats the text like log
or sin
, that is, inserts spacing like 2 log x rather than 2logx.
There are similarly mathtt
and mathsfup
for monospaced and sans-serif letters.
You could also, for example, do newcommandTIMEmathopmboxscshape time
to get TIME in small caps, with the spacing of an operator.
You can make upright math variables the default by loading the package with usepackage[math-style=upright]unicode-math
.
With the Legacy Toolchain
The eulerpx
package implements the popular combination of Euler math variables and Palatino text, along with symbols from newpxmath
. If you want upright letters in PDFLaTeX, this in my opinion is the most attractive package for them.
The cfr-lm
package makes upright italics easily available; with this package, you could write DeclareRobusTCommandmathui[1]mboxuishape #1
to get upright italics. The example I gave earlier with scshape
for small-caps would work as well.
To format a variable name in the default font, operatorname
from amsmath
is a good option.
For a more complicated use case, there are DeclareMathAlphabet
and DeclareMathSymbol
.
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
);
);
Gina is a new contributor. Be nice, and check out our Code of Conduct.
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%2f479833%2fmath-equation-in-non-italic-font%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Depending of if you are actually writing math or text:
documentclassarticle
begindocument
$mathrmT_mathrmE$ or TtextsubscriptE
enddocument
add a comment |
Depending of if you are actually writing math or text:
documentclassarticle
begindocument
$mathrmT_mathrmE$ or TtextsubscriptE
enddocument
add a comment |
Depending of if you are actually writing math or text:
documentclassarticle
begindocument
$mathrmT_mathrmE$ or TtextsubscriptE
enddocument
Depending of if you are actually writing math or text:
documentclassarticle
begindocument
$mathrmT_mathrmE$ or TtextsubscriptE
enddocument
answered 8 hours ago
Ulrike FischerUlrike Fischer
195k8302689
195k8302689
add a comment |
add a comment |
The following examples illustrates several possible solutions.
documentclassscrartcl
usepackageamsmath
newcommandtestlineText $mathrmT_mathrmE$ or $textT_textE$ or $textupT_textupE$ or Ttextsubscript E
begindocument
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
rmfamilyupshapebfseries%as before but bold
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
enddocument
Observe that some of them adopt the style and font of the text.
I'd rather usemathrm
– Bernard
8 hours ago
1
It works!! Thanks a lot :)
– Gina
8 hours ago
@Gina: Just out of curiosity: must all your capital letters in formulæ be in uprightshape?
– Bernard
8 hours ago
1
@Gina You are welcome. Please consider to upvote one or both answers and accept one of the two.
– CampanIgnis
8 hours ago
add a comment |
The following examples illustrates several possible solutions.
documentclassscrartcl
usepackageamsmath
newcommandtestlineText $mathrmT_mathrmE$ or $textT_textE$ or $textupT_textupE$ or Ttextsubscript E
begindocument
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
rmfamilyupshapebfseries%as before but bold
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
enddocument
Observe that some of them adopt the style and font of the text.
I'd rather usemathrm
– Bernard
8 hours ago
1
It works!! Thanks a lot :)
– Gina
8 hours ago
@Gina: Just out of curiosity: must all your capital letters in formulæ be in uprightshape?
– Bernard
8 hours ago
1
@Gina You are welcome. Please consider to upvote one or both answers and accept one of the two.
– CampanIgnis
8 hours ago
add a comment |
The following examples illustrates several possible solutions.
documentclassscrartcl
usepackageamsmath
newcommandtestlineText $mathrmT_mathrmE$ or $textT_textE$ or $textupT_textupE$ or Ttextsubscript E
begindocument
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
rmfamilyupshapebfseries%as before but bold
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
enddocument
Observe that some of them adopt the style and font of the text.
The following examples illustrates several possible solutions.
documentclassscrartcl
usepackageamsmath
newcommandtestlineText $mathrmT_mathrmE$ or $textT_textE$ or $textupT_textupE$ or Ttextsubscript E
begindocument
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
rmfamilyupshapebfseries%as before but bold
testline
itshapetestline
sffamilyupshapetestline
itshapetestline
enddocument
Observe that some of them adopt the style and font of the text.
edited 6 hours ago
answered 9 hours ago
CampanIgnisCampanIgnis
2,7642932
2,7642932
I'd rather usemathrm
– Bernard
8 hours ago
1
It works!! Thanks a lot :)
– Gina
8 hours ago
@Gina: Just out of curiosity: must all your capital letters in formulæ be in uprightshape?
– Bernard
8 hours ago
1
@Gina You are welcome. Please consider to upvote one or both answers and accept one of the two.
– CampanIgnis
8 hours ago
add a comment |
I'd rather usemathrm
– Bernard
8 hours ago
1
It works!! Thanks a lot :)
– Gina
8 hours ago
@Gina: Just out of curiosity: must all your capital letters in formulæ be in uprightshape?
– Bernard
8 hours ago
1
@Gina You are welcome. Please consider to upvote one or both answers and accept one of the two.
– CampanIgnis
8 hours ago
I'd rather use
mathrm
– Bernard
8 hours ago
I'd rather use
mathrm
– Bernard
8 hours ago
1
1
It works!! Thanks a lot :)
– Gina
8 hours ago
It works!! Thanks a lot :)
– Gina
8 hours ago
@Gina: Just out of curiosity: must all your capital letters in formulæ be in uprightshape?
– Bernard
8 hours ago
@Gina: Just out of curiosity: must all your capital letters in formulæ be in uprightshape?
– Bernard
8 hours ago
1
1
@Gina You are welcome. Please consider to upvote one or both answers and accept one of the two.
– CampanIgnis
8 hours ago
@Gina You are welcome. Please consider to upvote one or both answers and accept one of the two.
– CampanIgnis
8 hours ago
add a comment |
With the Modern Toolchain
With the unicode-math
package (which I personally recommend, although not everyone agrees), mathrm
is still supported for backwards compatibility, but so is the synonym mathup
, and the closely-related symup
.
If you use symup
, you can specify a different upright font from the regular text font, and from operator names like log
, sin
and lim
. My go-to example is setting Euler’s identity in ISO style, that is, with symbolic constants set in an upright font, with the constants e, π and i in Euler and everything else in Palatino. It’s a good example of why you might want a different upright font for math variables.
documentclass[varwidth, preview]standalone
usepackagemathtools
usepackage[math-style=ISO]unicode-math
setmainfontTeX Gyre Pagella
defaultfontfeaturesScale=MatchLowercase
setmathfontAsana Math
setmathfont[range=up/Latin,latin,Greek,greek,
bfup/Latin,latin,Greek,greek,
script-features=, sscript-features=
]Neo Euler
newcommandupesymupe
newcommandupisymupi
begindocument
beginalign*
upe^upi x &= cosx + upi sinx \
upe^upi uppi + 1 &= 0
endalign*
enddocument
(If you want to do something like this with the default font, you can try either Latin Modern Roman Unslanted or CMU Serif Upright Italic. Here’s a sample of the latter:
documentclass[varwidth, preview]standalone
usepackageamsmath
usepackage[math-style=ISO]unicode-math
setmathfontLatin Modern Math
setmathfont[range=up/Latin,latin,Greek,greek]CMU Serif Upright Italic
begindocument
beginalign*
symupe^symupi x &= cosx + symupi sinx \
symupe^symupi pi + 1 &= 0
endalign*
enddocument
The symup
command is intended to be used this way. The mathrm
and mathup
commands are more for words in equations, like naming variables TIME and ENERGY. Another good alternative for whole words is to use operatorname
from amsmath
. This formats the text like log
or sin
, that is, inserts spacing like 2 log x rather than 2logx.
There are similarly mathtt
and mathsfup
for monospaced and sans-serif letters.
You could also, for example, do newcommandTIMEmathopmboxscshape time
to get TIME in small caps, with the spacing of an operator.
You can make upright math variables the default by loading the package with usepackage[math-style=upright]unicode-math
.
With the Legacy Toolchain
The eulerpx
package implements the popular combination of Euler math variables and Palatino text, along with symbols from newpxmath
. If you want upright letters in PDFLaTeX, this in my opinion is the most attractive package for them.
The cfr-lm
package makes upright italics easily available; with this package, you could write DeclareRobusTCommandmathui[1]mboxuishape #1
to get upright italics. The example I gave earlier with scshape
for small-caps would work as well.
To format a variable name in the default font, operatorname
from amsmath
is a good option.
For a more complicated use case, there are DeclareMathAlphabet
and DeclareMathSymbol
.
add a comment |
With the Modern Toolchain
With the unicode-math
package (which I personally recommend, although not everyone agrees), mathrm
is still supported for backwards compatibility, but so is the synonym mathup
, and the closely-related symup
.
If you use symup
, you can specify a different upright font from the regular text font, and from operator names like log
, sin
and lim
. My go-to example is setting Euler’s identity in ISO style, that is, with symbolic constants set in an upright font, with the constants e, π and i in Euler and everything else in Palatino. It’s a good example of why you might want a different upright font for math variables.
documentclass[varwidth, preview]standalone
usepackagemathtools
usepackage[math-style=ISO]unicode-math
setmainfontTeX Gyre Pagella
defaultfontfeaturesScale=MatchLowercase
setmathfontAsana Math
setmathfont[range=up/Latin,latin,Greek,greek,
bfup/Latin,latin,Greek,greek,
script-features=, sscript-features=
]Neo Euler
newcommandupesymupe
newcommandupisymupi
begindocument
beginalign*
upe^upi x &= cosx + upi sinx \
upe^upi uppi + 1 &= 0
endalign*
enddocument
(If you want to do something like this with the default font, you can try either Latin Modern Roman Unslanted or CMU Serif Upright Italic. Here’s a sample of the latter:
documentclass[varwidth, preview]standalone
usepackageamsmath
usepackage[math-style=ISO]unicode-math
setmathfontLatin Modern Math
setmathfont[range=up/Latin,latin,Greek,greek]CMU Serif Upright Italic
begindocument
beginalign*
symupe^symupi x &= cosx + symupi sinx \
symupe^symupi pi + 1 &= 0
endalign*
enddocument
The symup
command is intended to be used this way. The mathrm
and mathup
commands are more for words in equations, like naming variables TIME and ENERGY. Another good alternative for whole words is to use operatorname
from amsmath
. This formats the text like log
or sin
, that is, inserts spacing like 2 log x rather than 2logx.
There are similarly mathtt
and mathsfup
for monospaced and sans-serif letters.
You could also, for example, do newcommandTIMEmathopmboxscshape time
to get TIME in small caps, with the spacing of an operator.
You can make upright math variables the default by loading the package with usepackage[math-style=upright]unicode-math
.
With the Legacy Toolchain
The eulerpx
package implements the popular combination of Euler math variables and Palatino text, along with symbols from newpxmath
. If you want upright letters in PDFLaTeX, this in my opinion is the most attractive package for them.
The cfr-lm
package makes upright italics easily available; with this package, you could write DeclareRobusTCommandmathui[1]mboxuishape #1
to get upright italics. The example I gave earlier with scshape
for small-caps would work as well.
To format a variable name in the default font, operatorname
from amsmath
is a good option.
For a more complicated use case, there are DeclareMathAlphabet
and DeclareMathSymbol
.
add a comment |
With the Modern Toolchain
With the unicode-math
package (which I personally recommend, although not everyone agrees), mathrm
is still supported for backwards compatibility, but so is the synonym mathup
, and the closely-related symup
.
If you use symup
, you can specify a different upright font from the regular text font, and from operator names like log
, sin
and lim
. My go-to example is setting Euler’s identity in ISO style, that is, with symbolic constants set in an upright font, with the constants e, π and i in Euler and everything else in Palatino. It’s a good example of why you might want a different upright font for math variables.
documentclass[varwidth, preview]standalone
usepackagemathtools
usepackage[math-style=ISO]unicode-math
setmainfontTeX Gyre Pagella
defaultfontfeaturesScale=MatchLowercase
setmathfontAsana Math
setmathfont[range=up/Latin,latin,Greek,greek,
bfup/Latin,latin,Greek,greek,
script-features=, sscript-features=
]Neo Euler
newcommandupesymupe
newcommandupisymupi
begindocument
beginalign*
upe^upi x &= cosx + upi sinx \
upe^upi uppi + 1 &= 0
endalign*
enddocument
(If you want to do something like this with the default font, you can try either Latin Modern Roman Unslanted or CMU Serif Upright Italic. Here’s a sample of the latter:
documentclass[varwidth, preview]standalone
usepackageamsmath
usepackage[math-style=ISO]unicode-math
setmathfontLatin Modern Math
setmathfont[range=up/Latin,latin,Greek,greek]CMU Serif Upright Italic
begindocument
beginalign*
symupe^symupi x &= cosx + symupi sinx \
symupe^symupi pi + 1 &= 0
endalign*
enddocument
The symup
command is intended to be used this way. The mathrm
and mathup
commands are more for words in equations, like naming variables TIME and ENERGY. Another good alternative for whole words is to use operatorname
from amsmath
. This formats the text like log
or sin
, that is, inserts spacing like 2 log x rather than 2logx.
There are similarly mathtt
and mathsfup
for monospaced and sans-serif letters.
You could also, for example, do newcommandTIMEmathopmboxscshape time
to get TIME in small caps, with the spacing of an operator.
You can make upright math variables the default by loading the package with usepackage[math-style=upright]unicode-math
.
With the Legacy Toolchain
The eulerpx
package implements the popular combination of Euler math variables and Palatino text, along with symbols from newpxmath
. If you want upright letters in PDFLaTeX, this in my opinion is the most attractive package for them.
The cfr-lm
package makes upright italics easily available; with this package, you could write DeclareRobusTCommandmathui[1]mboxuishape #1
to get upright italics. The example I gave earlier with scshape
for small-caps would work as well.
To format a variable name in the default font, operatorname
from amsmath
is a good option.
For a more complicated use case, there are DeclareMathAlphabet
and DeclareMathSymbol
.
With the Modern Toolchain
With the unicode-math
package (which I personally recommend, although not everyone agrees), mathrm
is still supported for backwards compatibility, but so is the synonym mathup
, and the closely-related symup
.
If you use symup
, you can specify a different upright font from the regular text font, and from operator names like log
, sin
and lim
. My go-to example is setting Euler’s identity in ISO style, that is, with symbolic constants set in an upright font, with the constants e, π and i in Euler and everything else in Palatino. It’s a good example of why you might want a different upright font for math variables.
documentclass[varwidth, preview]standalone
usepackagemathtools
usepackage[math-style=ISO]unicode-math
setmainfontTeX Gyre Pagella
defaultfontfeaturesScale=MatchLowercase
setmathfontAsana Math
setmathfont[range=up/Latin,latin,Greek,greek,
bfup/Latin,latin,Greek,greek,
script-features=, sscript-features=
]Neo Euler
newcommandupesymupe
newcommandupisymupi
begindocument
beginalign*
upe^upi x &= cosx + upi sinx \
upe^upi uppi + 1 &= 0
endalign*
enddocument
(If you want to do something like this with the default font, you can try either Latin Modern Roman Unslanted or CMU Serif Upright Italic. Here’s a sample of the latter:
documentclass[varwidth, preview]standalone
usepackageamsmath
usepackage[math-style=ISO]unicode-math
setmathfontLatin Modern Math
setmathfont[range=up/Latin,latin,Greek,greek]CMU Serif Upright Italic
begindocument
beginalign*
symupe^symupi x &= cosx + symupi sinx \
symupe^symupi pi + 1 &= 0
endalign*
enddocument
The symup
command is intended to be used this way. The mathrm
and mathup
commands are more for words in equations, like naming variables TIME and ENERGY. Another good alternative for whole words is to use operatorname
from amsmath
. This formats the text like log
or sin
, that is, inserts spacing like 2 log x rather than 2logx.
There are similarly mathtt
and mathsfup
for monospaced and sans-serif letters.
You could also, for example, do newcommandTIMEmathopmboxscshape time
to get TIME in small caps, with the spacing of an operator.
You can make upright math variables the default by loading the package with usepackage[math-style=upright]unicode-math
.
With the Legacy Toolchain
The eulerpx
package implements the popular combination of Euler math variables and Palatino text, along with symbols from newpxmath
. If you want upright letters in PDFLaTeX, this in my opinion is the most attractive package for them.
The cfr-lm
package makes upright italics easily available; with this package, you could write DeclareRobusTCommandmathui[1]mboxuishape #1
to get upright italics. The example I gave earlier with scshape
for small-caps would work as well.
To format a variable name in the default font, operatorname
from amsmath
is a good option.
For a more complicated use case, there are DeclareMathAlphabet
and DeclareMathSymbol
.
edited 7 hours ago
answered 7 hours ago
DavislorDavislor
6,6871429
6,6871429
add a comment |
add a comment |
Gina is a new contributor. Be nice, and check out our Code of Conduct.
Gina is a new contributor. Be nice, and check out our Code of Conduct.
Gina is a new contributor. Be nice, and check out our Code of Conduct.
Gina is a new contributor. Be nice, and check out our Code of Conduct.
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%2f479833%2fmath-equation-in-non-italic-font%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
Welcome to TeX.SE! Can you explain what you want to do? Can you show a short compilable code you have so far?
– Kurt
8 hours ago
1
Do you want all math in upright font or only this specific expression?
– samcarter
8 hours ago