Use sans serif math operators with Roboto
Thanks to @HenriMenke, I know how to use Roboto font in math for letters (including Greek) and digits. Now, I'd like to use a sans serif font for math operators as well (say int
or sum
). AFAIK, Roboto does not provide such glyphs.
How can I do (I mostly use lualatex
but I can use xelatex
if necessary)?
fonts mathspec kpfonts math-fonts
add a comment |
Thanks to @HenriMenke, I know how to use Roboto font in math for letters (including Greek) and digits. Now, I'd like to use a sans serif font for math operators as well (say int
or sum
). AFAIK, Roboto does not provide such glyphs.
How can I do (I mostly use lualatex
but I can use xelatex
if necessary)?
fonts mathspec kpfonts math-fonts
add a comment |
Thanks to @HenriMenke, I know how to use Roboto font in math for letters (including Greek) and digits. Now, I'd like to use a sans serif font for math operators as well (say int
or sum
). AFAIK, Roboto does not provide such glyphs.
How can I do (I mostly use lualatex
but I can use xelatex
if necessary)?
fonts mathspec kpfonts math-fonts
Thanks to @HenriMenke, I know how to use Roboto font in math for letters (including Greek) and digits. Now, I'd like to use a sans serif font for math operators as well (say int
or sum
). AFAIK, Roboto does not provide such glyphs.
How can I do (I mostly use lualatex
but I can use xelatex
if necessary)?
fonts mathspec kpfonts math-fonts
fonts mathspec kpfonts math-fonts
edited Feb 8 at 11:40
cjorssen
asked Mar 29 '18 at 14:48
cjorssencjorssen
5,990225104
5,990225104
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You could use e.g. Fira Math:
documentclass[12pt]{article}
usepackage[sfdefault]{roboto}
usepackage{amsmath}
usepackage{unicode-math}
setmathfont{Fira Math}
setmathfont[range=up]{Roboto}
setmathfont[range=it]{Roboto-Italic}
setmathfont[range=int]{Fira Math}
begin{document}
Hello world! 12345 $12345$
textit{abcdef} $abcdef$
$gamma = G$
[int sum a^2 + b^2 = c^2 ]
end{document}
Great (+1), thanks. That's clearly a very good alternative I did not think of at that time. But what's the problem with kpfonts? Is it too complex with non otf fonts?
– cjorssen
Feb 6 at 20:17
Why should I spent a lot of time trying to figure out how to at best mix legacy math fonts (kpfonts) with opentype font (roboto) when there exist sans-serif math fonts now?
– Ulrike Fischer
Feb 6 at 21:20
Sorry. No offense intented. So I guess the answer is: yes it is complex to mix legacy fonts and otf. It does not worth it. Thanks again.
– cjorssen
Feb 7 at 10:21
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%2f423877%2fuse-sans-serif-math-operators-with-roboto%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You could use e.g. Fira Math:
documentclass[12pt]{article}
usepackage[sfdefault]{roboto}
usepackage{amsmath}
usepackage{unicode-math}
setmathfont{Fira Math}
setmathfont[range=up]{Roboto}
setmathfont[range=it]{Roboto-Italic}
setmathfont[range=int]{Fira Math}
begin{document}
Hello world! 12345 $12345$
textit{abcdef} $abcdef$
$gamma = G$
[int sum a^2 + b^2 = c^2 ]
end{document}
Great (+1), thanks. That's clearly a very good alternative I did not think of at that time. But what's the problem with kpfonts? Is it too complex with non otf fonts?
– cjorssen
Feb 6 at 20:17
Why should I spent a lot of time trying to figure out how to at best mix legacy math fonts (kpfonts) with opentype font (roboto) when there exist sans-serif math fonts now?
– Ulrike Fischer
Feb 6 at 21:20
Sorry. No offense intented. So I guess the answer is: yes it is complex to mix legacy fonts and otf. It does not worth it. Thanks again.
– cjorssen
Feb 7 at 10:21
add a comment |
You could use e.g. Fira Math:
documentclass[12pt]{article}
usepackage[sfdefault]{roboto}
usepackage{amsmath}
usepackage{unicode-math}
setmathfont{Fira Math}
setmathfont[range=up]{Roboto}
setmathfont[range=it]{Roboto-Italic}
setmathfont[range=int]{Fira Math}
begin{document}
Hello world! 12345 $12345$
textit{abcdef} $abcdef$
$gamma = G$
[int sum a^2 + b^2 = c^2 ]
end{document}
Great (+1), thanks. That's clearly a very good alternative I did not think of at that time. But what's the problem with kpfonts? Is it too complex with non otf fonts?
– cjorssen
Feb 6 at 20:17
Why should I spent a lot of time trying to figure out how to at best mix legacy math fonts (kpfonts) with opentype font (roboto) when there exist sans-serif math fonts now?
– Ulrike Fischer
Feb 6 at 21:20
Sorry. No offense intented. So I guess the answer is: yes it is complex to mix legacy fonts and otf. It does not worth it. Thanks again.
– cjorssen
Feb 7 at 10:21
add a comment |
You could use e.g. Fira Math:
documentclass[12pt]{article}
usepackage[sfdefault]{roboto}
usepackage{amsmath}
usepackage{unicode-math}
setmathfont{Fira Math}
setmathfont[range=up]{Roboto}
setmathfont[range=it]{Roboto-Italic}
setmathfont[range=int]{Fira Math}
begin{document}
Hello world! 12345 $12345$
textit{abcdef} $abcdef$
$gamma = G$
[int sum a^2 + b^2 = c^2 ]
end{document}
You could use e.g. Fira Math:
documentclass[12pt]{article}
usepackage[sfdefault]{roboto}
usepackage{amsmath}
usepackage{unicode-math}
setmathfont{Fira Math}
setmathfont[range=up]{Roboto}
setmathfont[range=it]{Roboto-Italic}
setmathfont[range=int]{Fira Math}
begin{document}
Hello world! 12345 $12345$
textit{abcdef} $abcdef$
$gamma = G$
[int sum a^2 + b^2 = c^2 ]
end{document}
answered Feb 6 at 17:28
Ulrike FischerUlrike Fischer
192k8301682
192k8301682
Great (+1), thanks. That's clearly a very good alternative I did not think of at that time. But what's the problem with kpfonts? Is it too complex with non otf fonts?
– cjorssen
Feb 6 at 20:17
Why should I spent a lot of time trying to figure out how to at best mix legacy math fonts (kpfonts) with opentype font (roboto) when there exist sans-serif math fonts now?
– Ulrike Fischer
Feb 6 at 21:20
Sorry. No offense intented. So I guess the answer is: yes it is complex to mix legacy fonts and otf. It does not worth it. Thanks again.
– cjorssen
Feb 7 at 10:21
add a comment |
Great (+1), thanks. That's clearly a very good alternative I did not think of at that time. But what's the problem with kpfonts? Is it too complex with non otf fonts?
– cjorssen
Feb 6 at 20:17
Why should I spent a lot of time trying to figure out how to at best mix legacy math fonts (kpfonts) with opentype font (roboto) when there exist sans-serif math fonts now?
– Ulrike Fischer
Feb 6 at 21:20
Sorry. No offense intented. So I guess the answer is: yes it is complex to mix legacy fonts and otf. It does not worth it. Thanks again.
– cjorssen
Feb 7 at 10:21
Great (+1), thanks. That's clearly a very good alternative I did not think of at that time. But what's the problem with kpfonts? Is it too complex with non otf fonts?
– cjorssen
Feb 6 at 20:17
Great (+1), thanks. That's clearly a very good alternative I did not think of at that time. But what's the problem with kpfonts? Is it too complex with non otf fonts?
– cjorssen
Feb 6 at 20:17
Why should I spent a lot of time trying to figure out how to at best mix legacy math fonts (kpfonts) with opentype font (roboto) when there exist sans-serif math fonts now?
– Ulrike Fischer
Feb 6 at 21:20
Why should I spent a lot of time trying to figure out how to at best mix legacy math fonts (kpfonts) with opentype font (roboto) when there exist sans-serif math fonts now?
– Ulrike Fischer
Feb 6 at 21:20
Sorry. No offense intented. So I guess the answer is: yes it is complex to mix legacy fonts and otf. It does not worth it. Thanks again.
– cjorssen
Feb 7 at 10:21
Sorry. No offense intented. So I guess the answer is: yes it is complex to mix legacy fonts and otf. It does not worth it. Thanks again.
– cjorssen
Feb 7 at 10:21
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%2f423877%2fuse-sans-serif-math-operators-with-roboto%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