super and subscripts on stackrel variableBetter looking nested subscripts and superscriptsAutomatically...
Output a Super Mario Image
What is the mathematical notation for rounding a given number to the nearest integer?
How do I say "quirky" in German without sounding derogatory?
Can Feather bring back a spell with Jump-Start?
What next step can I take in solving this sudoku?
Why is the year in this ISO timestamp not 2019?
ColorFunction based on array index in ListLinePlot
super and subscripts on stackrel variable
Why does the speed of sound decrease at high altitudes although the air density decreases?
Has SHA256 been broken by Treadwell Stanton DuPont?
A Mainer Expression
Is "you will become a subject matter expert" code for "you'll be working on your own 100% of the time"?
How much advanced notice is expected for faculty interviews?
What is this gigantic dish at Ben Gurion airport?
Bit one of the Intel 8080's Flags register
How would you control supersoldiers in a late iron-age society?
Is は a particle in こんにちは and こんばんは?
Are there any rules about taking damage whilst holding your breath in combat?
Is there a tool to measure the "maturity" of a code in Git?
Which is the current decimal separator?
Amortized Loans seem to benefit the bank more than the customer
What are these things that surround museum exhibits called?
Where is it? - The Google Earth Challenge Ep. 2
Is there any benefit to riders on the front of a paceline?
super and subscripts on stackrel variable
Better looking nested subscripts and superscriptsAutomatically Raising SubscriptsSuper and subscripts with DeclarePairedDelimiterEtiquette for math subscripts and superscriptsKerning super- and subscripts “semantically”Redefine hbar to work in super- or subscriptsUsing printeranswers environment, how to print solutions in the box without the title “Solutions”
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
How I am trying to put a label above a variable omega. That works well but I cant find a better way to have the sub- and superscripts belonging to omega itself without a gap. using the superscripts on stackrel itself places them way to high
documentclass[]{scrreprt}
usepackage{eurosym,bm,amsmath} % Mathematische Notationen
usepackage{scalerel}
begin{document}
$stackrel{scaleto{f}{5pt}}{omega}{}^{(i)}_{kl}$
end{document}
math-mode subscripts superscripts stacking-symbols
add a comment
|
How I am trying to put a label above a variable omega. That works well but I cant find a better way to have the sub- and superscripts belonging to omega itself without a gap. using the superscripts on stackrel itself places them way to high
documentclass[]{scrreprt}
usepackage{eurosym,bm,amsmath} % Mathematische Notationen
usepackage{scalerel}
begin{document}
$stackrel{scaleto{f}{5pt}}{omega}{}^{(i)}_{kl}$
end{document}
math-mode subscripts superscripts stacking-symbols
add a comment
|
How I am trying to put a label above a variable omega. That works well but I cant find a better way to have the sub- and superscripts belonging to omega itself without a gap. using the superscripts on stackrel itself places them way to high
documentclass[]{scrreprt}
usepackage{eurosym,bm,amsmath} % Mathematische Notationen
usepackage{scalerel}
begin{document}
$stackrel{scaleto{f}{5pt}}{omega}{}^{(i)}_{kl}$
end{document}
math-mode subscripts superscripts stacking-symbols
How I am trying to put a label above a variable omega. That works well but I cant find a better way to have the sub- and superscripts belonging to omega itself without a gap. using the superscripts on stackrel itself places them way to high
documentclass[]{scrreprt}
usepackage{eurosym,bm,amsmath} % Mathematische Notationen
usepackage{scalerel}
begin{document}
$stackrel{scaleto{f}{5pt}}{omega}{}^{(i)}_{kl}$
end{document}
math-mode subscripts superscripts stacking-symbols
math-mode subscripts superscripts stacking-symbols
edited 8 hours ago
Bernard
191k8 gold badges86 silver badges226 bronze badges
191k8 gold badges86 silver badges226 bronze badges
asked 9 hours ago
QuastiatQuastiat
666 bronze badges
666 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
Something like this?
Note the use of ,
(thinspace) to nudge the "f" superscript to the right, to improve its centering above the omega
character.
documentclass{scrreprt}
usepackage{amsmath} % for smash[t]{...} macro
usepackage{scalerel} % for stackrel macro
begin{document}
$smash[t]{stackrel{,scaleto{f}{5pt}}{omega}}^{(i)}_{kl}$
end{document}
Addendum to address the OP's follow-up question: Since the macro lstmw
will only be encountered in math mode, I'd define it as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{#2}{5pt}}{#1}}^{(i)}_{#3}}
and write $lstmw{omega}{,f}{kl}$
in the body of the document.
In fact, to make the superscript term (here: f
) look a little bit less skinny and brittle, I'd define the macro as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{scriptscriptstyle #2}{5pt}}{#1}}^{(i)}_{#3}}
This "works" because TeX's math glyphs are optically sized, rather than just linearly scaled versions of the "standard size" glyphs.
1
thanks yeah thats exactly what i was hoping for :)
– Quastiat
8 hours ago
1
I am quite new to designing my own commands, but wouldn't i create one out of this like the following:newcommand{lstmw}[3]{$smash[t]{,stackrel{scaleto{ #2 }{5pt}}{ #1 }}^{(i)}_{ #3 }$}
? Using that in math mode gets me running into missing } errors...
– Quastiat
8 hours ago
@Quastiat - Please see the addendum I just posted.
– Mico
8 hours ago
1
thanks again that works just as expected, scaleto causes some issues with some letters but thats fine for me :)
– Quastiat
7 hours ago
add a comment
|
The accentset
command is another possibility. By default, the accent letter is in scriptscriptstyle, but you might be interested in having it in scriptstyle
:
documentclass{scrreprt}
usepackage{accents}
begin{document}
$ accentset{mkern2muscriptstyle f}{omega}^{(i)}_{kl}qquad accentset{mkern1mu f}{omega}^{(i)}_{kl}$
end{document}
thanks for the input the works as well!
– Quastiat
7 hours ago
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/4.0/"u003ecc by-sa 4.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%2f508204%2fsuper-and-subscripts-on-stackrel-variable%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
Something like this?
Note the use of ,
(thinspace) to nudge the "f" superscript to the right, to improve its centering above the omega
character.
documentclass{scrreprt}
usepackage{amsmath} % for smash[t]{...} macro
usepackage{scalerel} % for stackrel macro
begin{document}
$smash[t]{stackrel{,scaleto{f}{5pt}}{omega}}^{(i)}_{kl}$
end{document}
Addendum to address the OP's follow-up question: Since the macro lstmw
will only be encountered in math mode, I'd define it as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{#2}{5pt}}{#1}}^{(i)}_{#3}}
and write $lstmw{omega}{,f}{kl}$
in the body of the document.
In fact, to make the superscript term (here: f
) look a little bit less skinny and brittle, I'd define the macro as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{scriptscriptstyle #2}{5pt}}{#1}}^{(i)}_{#3}}
This "works" because TeX's math glyphs are optically sized, rather than just linearly scaled versions of the "standard size" glyphs.
1
thanks yeah thats exactly what i was hoping for :)
– Quastiat
8 hours ago
1
I am quite new to designing my own commands, but wouldn't i create one out of this like the following:newcommand{lstmw}[3]{$smash[t]{,stackrel{scaleto{ #2 }{5pt}}{ #1 }}^{(i)}_{ #3 }$}
? Using that in math mode gets me running into missing } errors...
– Quastiat
8 hours ago
@Quastiat - Please see the addendum I just posted.
– Mico
8 hours ago
1
thanks again that works just as expected, scaleto causes some issues with some letters but thats fine for me :)
– Quastiat
7 hours ago
add a comment
|
Something like this?
Note the use of ,
(thinspace) to nudge the "f" superscript to the right, to improve its centering above the omega
character.
documentclass{scrreprt}
usepackage{amsmath} % for smash[t]{...} macro
usepackage{scalerel} % for stackrel macro
begin{document}
$smash[t]{stackrel{,scaleto{f}{5pt}}{omega}}^{(i)}_{kl}$
end{document}
Addendum to address the OP's follow-up question: Since the macro lstmw
will only be encountered in math mode, I'd define it as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{#2}{5pt}}{#1}}^{(i)}_{#3}}
and write $lstmw{omega}{,f}{kl}$
in the body of the document.
In fact, to make the superscript term (here: f
) look a little bit less skinny and brittle, I'd define the macro as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{scriptscriptstyle #2}{5pt}}{#1}}^{(i)}_{#3}}
This "works" because TeX's math glyphs are optically sized, rather than just linearly scaled versions of the "standard size" glyphs.
1
thanks yeah thats exactly what i was hoping for :)
– Quastiat
8 hours ago
1
I am quite new to designing my own commands, but wouldn't i create one out of this like the following:newcommand{lstmw}[3]{$smash[t]{,stackrel{scaleto{ #2 }{5pt}}{ #1 }}^{(i)}_{ #3 }$}
? Using that in math mode gets me running into missing } errors...
– Quastiat
8 hours ago
@Quastiat - Please see the addendum I just posted.
– Mico
8 hours ago
1
thanks again that works just as expected, scaleto causes some issues with some letters but thats fine for me :)
– Quastiat
7 hours ago
add a comment
|
Something like this?
Note the use of ,
(thinspace) to nudge the "f" superscript to the right, to improve its centering above the omega
character.
documentclass{scrreprt}
usepackage{amsmath} % for smash[t]{...} macro
usepackage{scalerel} % for stackrel macro
begin{document}
$smash[t]{stackrel{,scaleto{f}{5pt}}{omega}}^{(i)}_{kl}$
end{document}
Addendum to address the OP's follow-up question: Since the macro lstmw
will only be encountered in math mode, I'd define it as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{#2}{5pt}}{#1}}^{(i)}_{#3}}
and write $lstmw{omega}{,f}{kl}$
in the body of the document.
In fact, to make the superscript term (here: f
) look a little bit less skinny and brittle, I'd define the macro as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{scriptscriptstyle #2}{5pt}}{#1}}^{(i)}_{#3}}
This "works" because TeX's math glyphs are optically sized, rather than just linearly scaled versions of the "standard size" glyphs.
Something like this?
Note the use of ,
(thinspace) to nudge the "f" superscript to the right, to improve its centering above the omega
character.
documentclass{scrreprt}
usepackage{amsmath} % for smash[t]{...} macro
usepackage{scalerel} % for stackrel macro
begin{document}
$smash[t]{stackrel{,scaleto{f}{5pt}}{omega}}^{(i)}_{kl}$
end{document}
Addendum to address the OP's follow-up question: Since the macro lstmw
will only be encountered in math mode, I'd define it as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{#2}{5pt}}{#1}}^{(i)}_{#3}}
and write $lstmw{omega}{,f}{kl}$
in the body of the document.
In fact, to make the superscript term (here: f
) look a little bit less skinny and brittle, I'd define the macro as follows:
newcommand{lstmw}[3]{%
smash[t]{stackrel{scaleto{scriptscriptstyle #2}{5pt}}{#1}}^{(i)}_{#3}}
This "works" because TeX's math glyphs are optically sized, rather than just linearly scaled versions of the "standard size" glyphs.
edited 8 hours ago
answered 9 hours ago
MicoMico
305k33 gold badges420 silver badges829 bronze badges
305k33 gold badges420 silver badges829 bronze badges
1
thanks yeah thats exactly what i was hoping for :)
– Quastiat
8 hours ago
1
I am quite new to designing my own commands, but wouldn't i create one out of this like the following:newcommand{lstmw}[3]{$smash[t]{,stackrel{scaleto{ #2 }{5pt}}{ #1 }}^{(i)}_{ #3 }$}
? Using that in math mode gets me running into missing } errors...
– Quastiat
8 hours ago
@Quastiat - Please see the addendum I just posted.
– Mico
8 hours ago
1
thanks again that works just as expected, scaleto causes some issues with some letters but thats fine for me :)
– Quastiat
7 hours ago
add a comment
|
1
thanks yeah thats exactly what i was hoping for :)
– Quastiat
8 hours ago
1
I am quite new to designing my own commands, but wouldn't i create one out of this like the following:newcommand{lstmw}[3]{$smash[t]{,stackrel{scaleto{ #2 }{5pt}}{ #1 }}^{(i)}_{ #3 }$}
? Using that in math mode gets me running into missing } errors...
– Quastiat
8 hours ago
@Quastiat - Please see the addendum I just posted.
– Mico
8 hours ago
1
thanks again that works just as expected, scaleto causes some issues with some letters but thats fine for me :)
– Quastiat
7 hours ago
1
1
thanks yeah thats exactly what i was hoping for :)
– Quastiat
8 hours ago
thanks yeah thats exactly what i was hoping for :)
– Quastiat
8 hours ago
1
1
I am quite new to designing my own commands, but wouldn't i create one out of this like the following:
newcommand{lstmw}[3]{$smash[t]{,stackrel{scaleto{ #2 }{5pt}}{ #1 }}^{(i)}_{ #3 }$}
? Using that in math mode gets me running into missing } errors...– Quastiat
8 hours ago
I am quite new to designing my own commands, but wouldn't i create one out of this like the following:
newcommand{lstmw}[3]{$smash[t]{,stackrel{scaleto{ #2 }{5pt}}{ #1 }}^{(i)}_{ #3 }$}
? Using that in math mode gets me running into missing } errors...– Quastiat
8 hours ago
@Quastiat - Please see the addendum I just posted.
– Mico
8 hours ago
@Quastiat - Please see the addendum I just posted.
– Mico
8 hours ago
1
1
thanks again that works just as expected, scaleto causes some issues with some letters but thats fine for me :)
– Quastiat
7 hours ago
thanks again that works just as expected, scaleto causes some issues with some letters but thats fine for me :)
– Quastiat
7 hours ago
add a comment
|
The accentset
command is another possibility. By default, the accent letter is in scriptscriptstyle, but you might be interested in having it in scriptstyle
:
documentclass{scrreprt}
usepackage{accents}
begin{document}
$ accentset{mkern2muscriptstyle f}{omega}^{(i)}_{kl}qquad accentset{mkern1mu f}{omega}^{(i)}_{kl}$
end{document}
thanks for the input the works as well!
– Quastiat
7 hours ago
add a comment
|
The accentset
command is another possibility. By default, the accent letter is in scriptscriptstyle, but you might be interested in having it in scriptstyle
:
documentclass{scrreprt}
usepackage{accents}
begin{document}
$ accentset{mkern2muscriptstyle f}{omega}^{(i)}_{kl}qquad accentset{mkern1mu f}{omega}^{(i)}_{kl}$
end{document}
thanks for the input the works as well!
– Quastiat
7 hours ago
add a comment
|
The accentset
command is another possibility. By default, the accent letter is in scriptscriptstyle, but you might be interested in having it in scriptstyle
:
documentclass{scrreprt}
usepackage{accents}
begin{document}
$ accentset{mkern2muscriptstyle f}{omega}^{(i)}_{kl}qquad accentset{mkern1mu f}{omega}^{(i)}_{kl}$
end{document}
The accentset
command is another possibility. By default, the accent letter is in scriptscriptstyle, but you might be interested in having it in scriptstyle
:
documentclass{scrreprt}
usepackage{accents}
begin{document}
$ accentset{mkern2muscriptstyle f}{omega}^{(i)}_{kl}qquad accentset{mkern1mu f}{omega}^{(i)}_{kl}$
end{document}
answered 8 hours ago
BernardBernard
191k8 gold badges86 silver badges226 bronze badges
191k8 gold badges86 silver badges226 bronze badges
thanks for the input the works as well!
– Quastiat
7 hours ago
add a comment
|
thanks for the input the works as well!
– Quastiat
7 hours ago
thanks for the input the works as well!
– Quastiat
7 hours ago
thanks for the input the works as well!
– Quastiat
7 hours ago
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%2f508204%2fsuper-and-subscripts-on-stackrel-variable%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