How to set letter above or below the symbol?How can I make an overset symbol at the same size and height as bar except with a different symbol?Write above the symbol math “subset”Superimpose letter on integral symbolDecrease vertical whitespace when stacking above and below arrowChange vertical space in oversetSymbol: “maps isomorphically”adjusting symbols above letter in mathmodedouble tilde symbol under letterLetter with circle above — not a dot — in math modeHow to print “~” in order to put text above it
Team goes to lunch frequently, I do intermittent fasting but still want to socialize
Infeasibility in mathematical optimization models
Can a PC attack themselves with an unarmed strike?
Improving software when the author can see no need for improvement
Is it really ~648.69 km/s delta-v to "land" on the surface of the Sun?
Double blind peer review when paper cites author's GitHub repo for code
English - Acceptable use of parentheses in an author's name
"How do you solve a problem like Maria?"
Tikzcd pullback square issue
Looking for a new job because of relocation - is it okay to tell the real reason?
Could one become a successful researcher by writing some really good papers while being outside academia?
How to query data in backups?
How does The Fools Guild make its money?
Colleagues speaking another language and it impacts work
How can glass marbles naturally occur in a desert?
Pandas: fill one column with count of # of obs between occurrences in a 2nd column
Dropdowns & Chevrons for Right to Left languages
Are there any financial disadvantages to living significantly "below your means"?
How to identify the wires on the dimmer to convert it to Conventional on/off switch
Do other countries guarantee freedoms that the United States does not have?
Is refreshing multiple times a test case for web applications?
How do we avoid CI-driven development...?
Replace data between quotes in a file
Why can I log in to my Facebook account with a misspelled email/password?
How to set letter above or below the symbol?
How can I make an overset symbol at the same size and height as bar except with a different symbol?Write above the symbol math “subset”Superimpose letter on integral symbolDecrease vertical whitespace when stacking above and below arrowChange vertical space in oversetSymbol: “maps isomorphically”adjusting symbols above letter in mathmodedouble tilde symbol under letterLetter with circle above — not a dot — in math modeHow to print “~” in order to put text above it
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have known oversetK
to set above. However how to do like this:
stacking-symbols
add a comment |
I have known oversetK
to set above. However how to do like this:
stacking-symbols
add a comment |
I have known oversetK
to set above. However how to do like this:
stacking-symbols
I have known oversetK
to set above. However how to do like this:
stacking-symbols
stacking-symbols
edited Apr 15 at 3:53
user156344
asked Apr 15 at 3:06
Z MarioZ Mario
262 bronze badges
262 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The same vertical size as sum
:
documentclassarticle
usepackageamsmath
makeatletter
newcommandnnnDOTSBnnn@slimits@
newcommandnnn@mathop
newcommandnnn@@[2]%
vphantomsum%
ifx#1displaystylebig#2else#2fi
makeatother
begindocument
[
nnn_k=1^Kquad sum_k=1^K
]
begincenter% just to show inline math below displaystyle
$nnn_k=1^K$quad$sum_k=1^K$
endcenter
enddocument
add a comment |
Currently, the width of the widest compnent (k=1
) determines the width of the stack. If it is needed so that the width of K
or the vertical bars determines the width of the stack, please let me know.
It was not clear (to me) from the context of the question whether the baseline is aligned with the K
or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum
:
documentclassarticle
usepackagestackengine,scalerel,mathtools
DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
stackMath
parskip1ex
begindocument
K baseline:
$stackunder[2pt]Kstackunder[2pt]%
rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$
bigskip
Rule baseline:
$vbars^K_k=1$ (textstyle)
$displaystylevbars^K_k=1$ (displaystyle)
enddocument
In the latter case (vbars
math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars
, merely change scalerel
to stretchrel
.
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%2f484872%2fhow-to-set-letter-above-or-below-the-symbol%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
The same vertical size as sum
:
documentclassarticle
usepackageamsmath
makeatletter
newcommandnnnDOTSBnnn@slimits@
newcommandnnn@mathop
newcommandnnn@@[2]%
vphantomsum%
ifx#1displaystylebig#2else#2fi
makeatother
begindocument
[
nnn_k=1^Kquad sum_k=1^K
]
begincenter% just to show inline math below displaystyle
$nnn_k=1^K$quad$sum_k=1^K$
endcenter
enddocument
add a comment |
The same vertical size as sum
:
documentclassarticle
usepackageamsmath
makeatletter
newcommandnnnDOTSBnnn@slimits@
newcommandnnn@mathop
newcommandnnn@@[2]%
vphantomsum%
ifx#1displaystylebig#2else#2fi
makeatother
begindocument
[
nnn_k=1^Kquad sum_k=1^K
]
begincenter% just to show inline math below displaystyle
$nnn_k=1^K$quad$sum_k=1^K$
endcenter
enddocument
add a comment |
The same vertical size as sum
:
documentclassarticle
usepackageamsmath
makeatletter
newcommandnnnDOTSBnnn@slimits@
newcommandnnn@mathop
newcommandnnn@@[2]%
vphantomsum%
ifx#1displaystylebig#2else#2fi
makeatother
begindocument
[
nnn_k=1^Kquad sum_k=1^K
]
begincenter% just to show inline math below displaystyle
$nnn_k=1^K$quad$sum_k=1^K$
endcenter
enddocument
The same vertical size as sum
:
documentclassarticle
usepackageamsmath
makeatletter
newcommandnnnDOTSBnnn@slimits@
newcommandnnn@mathop
newcommandnnn@@[2]%
vphantomsum%
ifx#1displaystylebig#2else#2fi
makeatother
begindocument
[
nnn_k=1^Kquad sum_k=1^K
]
begincenter% just to show inline math below displaystyle
$nnn_k=1^K$quad$sum_k=1^K$
endcenter
enddocument
answered Apr 15 at 6:31
egregegreg
761k90 gold badges1987 silver badges3337 bronze badges
761k90 gold badges1987 silver badges3337 bronze badges
add a comment |
add a comment |
Currently, the width of the widest compnent (k=1
) determines the width of the stack. If it is needed so that the width of K
or the vertical bars determines the width of the stack, please let me know.
It was not clear (to me) from the context of the question whether the baseline is aligned with the K
or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum
:
documentclassarticle
usepackagestackengine,scalerel,mathtools
DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
stackMath
parskip1ex
begindocument
K baseline:
$stackunder[2pt]Kstackunder[2pt]%
rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$
bigskip
Rule baseline:
$vbars^K_k=1$ (textstyle)
$displaystylevbars^K_k=1$ (displaystyle)
enddocument
In the latter case (vbars
math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars
, merely change scalerel
to stretchrel
.
add a comment |
Currently, the width of the widest compnent (k=1
) determines the width of the stack. If it is needed so that the width of K
or the vertical bars determines the width of the stack, please let me know.
It was not clear (to me) from the context of the question whether the baseline is aligned with the K
or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum
:
documentclassarticle
usepackagestackengine,scalerel,mathtools
DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
stackMath
parskip1ex
begindocument
K baseline:
$stackunder[2pt]Kstackunder[2pt]%
rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$
bigskip
Rule baseline:
$vbars^K_k=1$ (textstyle)
$displaystylevbars^K_k=1$ (displaystyle)
enddocument
In the latter case (vbars
math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars
, merely change scalerel
to stretchrel
.
add a comment |
Currently, the width of the widest compnent (k=1
) determines the width of the stack. If it is needed so that the width of K
or the vertical bars determines the width of the stack, please let me know.
It was not clear (to me) from the context of the question whether the baseline is aligned with the K
or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum
:
documentclassarticle
usepackagestackengine,scalerel,mathtools
DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
stackMath
parskip1ex
begindocument
K baseline:
$stackunder[2pt]Kstackunder[2pt]%
rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$
bigskip
Rule baseline:
$vbars^K_k=1$ (textstyle)
$displaystylevbars^K_k=1$ (displaystyle)
enddocument
In the latter case (vbars
math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars
, merely change scalerel
to stretchrel
.
Currently, the width of the widest compnent (k=1
) determines the width of the stack. If it is needed so that the width of K
or the vertical bars determines the width of the stack, please let me know.
It was not clear (to me) from the context of the question whether the baseline is aligned with the K
or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum
:
documentclassarticle
usepackagestackengine,scalerel,mathtools
DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
stackMath
parskip1ex
begindocument
K baseline:
$stackunder[2pt]Kstackunder[2pt]%
rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$
bigskip
Rule baseline:
$vbars^K_k=1$ (textstyle)
$displaystylevbars^K_k=1$ (displaystyle)
enddocument
In the latter case (vbars
math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars
, merely change scalerel
to stretchrel
.
edited Apr 15 at 10:22
answered Apr 15 at 3:09
Steven B. SegletesSteven B. Segletes
168k9 gold badges214 silver badges434 bronze badges
168k9 gold badges214 silver badges434 bronze badges
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%2f484872%2fhow-to-set-letter-above-or-below-the-symbol%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