How to ignore kerning of underbrace in math modeFix math mode kerning of “C”Math-mode kerning/spacing of lettersCorrect kerning of hyperlinks in math modePoor kerning with adjacent uppercase variables in math modeChange kerning for `f'` in math modeMinionPro kerning math mode and punction (comma)Make Underbrace ignore BracketsUnderbrace Math ModeMultiline underbrace in math modeKerning numbers of endnotes
Check if three arrays contains the same element
Is it a bad idea to to run 24 tap and shock lands in standard
Are there any important biographies of nobodies?
Russian word for a male zebra
Active low-pass filters --- good to what frequencies?
How to use memset in c++?
How come the nude protesters were not arrested?
Teaching a class likely meant to inflate the GPA of student athletes
Who won a Game of Bar Dice?
Why didn't Voldemort recognize that Dumbledore was affected by his curse?
Should I ask for an extra raise?
Why did Sanhedrin deal with who has a share in Olam Habah?
Why can I traceroute to this IP address, but not ping?
What is the maximum number of net attacks that one can make in a round?
Is it safe to change the harddrive power feature so that it never turns off?
Why am I getting a strange double quote (“) in Open Office instead of the ordinary one (")?
How to safely destroy (a large quantity of) valid checks?
What ways have you found to get edits from non-LaTeX users?
Is it legal for a bar bouncer to confiscate a fake ID
How does the Around command at zero work?
Why is a common reference string needed in zero knowledge proofs?
How can I get an unreasonable manager to approve time off?
Fermat's statement about the ancients: How serious was he?
Electricity free spaceship
How to ignore kerning of underbrace in math mode
Fix math mode kerning of “C”Math-mode kerning/spacing of lettersCorrect kerning of hyperlinks in math modePoor kerning with adjacent uppercase variables in math modeChange kerning for `f'` in math modeMinionPro kerning math mode and punction (comma)Make Underbrace ignore BracketsUnderbrace Math ModeMultiline underbrace in math modeKerning numbers of endnotes
Is there a way to instruct LaTeX to ignore the text in the underbrace
for purposes of kerning the equation in math mode?
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
.
I know that I can use mkern-30
:
beginalign
x
mkern-30 % Adding this is a sub-par solution
underbrace(4-3y)_
textPositive $forall y in [0,1]$
mkern-26 % Adding this is a sub-par solution
+4y -1
endalign
but finding the exact number to work out how to fix the kerning is obviously not fun.
Is there a better way?
math-mode kerning underbrace
add a comment |
Is there a way to instruct LaTeX to ignore the text in the underbrace
for purposes of kerning the equation in math mode?
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
.
I know that I can use mkern-30
:
beginalign
x
mkern-30 % Adding this is a sub-par solution
underbrace(4-3y)_
textPositive $forall y in [0,1]$
mkern-26 % Adding this is a sub-par solution
+4y -1
endalign
but finding the exact number to work out how to fix the kerning is obviously not fun.
Is there a better way?
math-mode kerning underbrace
6
usemathtools
and itsmathclap...
macro:underbrace...._mathclap...
, and next time please post a full minimal example, not just a sniplet, then it is a lot easier for others to test your code
– daleif
May 23 at 11:25
Noted, daleif. Thank's a ton!
– Toldry
May 23 at 11:32
add a comment |
Is there a way to instruct LaTeX to ignore the text in the underbrace
for purposes of kerning the equation in math mode?
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
.
I know that I can use mkern-30
:
beginalign
x
mkern-30 % Adding this is a sub-par solution
underbrace(4-3y)_
textPositive $forall y in [0,1]$
mkern-26 % Adding this is a sub-par solution
+4y -1
endalign
but finding the exact number to work out how to fix the kerning is obviously not fun.
Is there a better way?
math-mode kerning underbrace
Is there a way to instruct LaTeX to ignore the text in the underbrace
for purposes of kerning the equation in math mode?
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
.
I know that I can use mkern-30
:
beginalign
x
mkern-30 % Adding this is a sub-par solution
underbrace(4-3y)_
textPositive $forall y in [0,1]$
mkern-26 % Adding this is a sub-par solution
+4y -1
endalign
but finding the exact number to work out how to fix the kerning is obviously not fun.
Is there a better way?
math-mode kerning underbrace
math-mode kerning underbrace
edited May 23 at 11:20
Toldry
asked May 23 at 11:11
ToldryToldry
335
335
6
usemathtools
and itsmathclap...
macro:underbrace...._mathclap...
, and next time please post a full minimal example, not just a sniplet, then it is a lot easier for others to test your code
– daleif
May 23 at 11:25
Noted, daleif. Thank's a ton!
– Toldry
May 23 at 11:32
add a comment |
6
usemathtools
and itsmathclap...
macro:underbrace...._mathclap...
, and next time please post a full minimal example, not just a sniplet, then it is a lot easier for others to test your code
– daleif
May 23 at 11:25
Noted, daleif. Thank's a ton!
– Toldry
May 23 at 11:32
6
6
use
mathtools
and its mathclap...
macro: underbrace...._mathclap...
, and next time please post a full minimal example, not just a sniplet, then it is a lot easier for others to test your code– daleif
May 23 at 11:25
use
mathtools
and its mathclap...
macro: underbrace...._mathclap...
, and next time please post a full minimal example, not just a sniplet, then it is a lot easier for others to test your code– daleif
May 23 at 11:25
Noted, daleif. Thank's a ton!
– Toldry
May 23 at 11:32
Noted, daleif. Thank's a ton!
– Toldry
May 23 at 11:32
add a comment |
2 Answers
2
active
oldest
votes
The subscript can be set in a zero-width box. The size of the subscript should be set explicitly. This results in the same output as mathclap
from mathtools
.
MWE:
documentclassarticle
usepackageamsmath
usepackagemathtools
begindocument
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
makebox[0pt]scriptsizetextPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
mathclaptextPositive $forall y in [0,1]$
+4y -1
endalign
enddocument
Result:
add a comment |
In this particular case mathclap
is not necessary:
documentclassarticle
usepackageamsmath
begindocument
beginequation*
xunderbrace(4-3y)_substacktextpositive\[1pt] forall y in [0,1] + 4y - 1
endequation*
enddocument
Compare with
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginequation*
xunderbrace(4-3y)_mathclaptextpositive $forall y in [0,1]$ + 4y - 1
endequation*
enddocument
Note, anyway, the additional pair of braces around the whole
underbrace..._...
construction: they're necessary in order to get the right spacing.
1
+1 for the "extra set of braces" trick, which converts theunderbrace
atom effectively intomathord
, I suppose. Or maybe it's deeper than that.
– Steven B. Segletes
May 23 at 11:49
@StevenB.Segletes Yes: you can see the wrong spacing in the other answer.
– egreg
May 23 at 11:50
What is the purpose of the[1pt]
in the first solution?
– Toldry
May 23 at 11:55
1
@Toldry To separate a bit the two lines, they would be too crowded otherwise.
– egreg
May 23 at 11:56
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%2f492261%2fhow-to-ignore-kerning-of-underbrace-in-math-mode%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 subscript can be set in a zero-width box. The size of the subscript should be set explicitly. This results in the same output as mathclap
from mathtools
.
MWE:
documentclassarticle
usepackageamsmath
usepackagemathtools
begindocument
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
makebox[0pt]scriptsizetextPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
mathclaptextPositive $forall y in [0,1]$
+4y -1
endalign
enddocument
Result:
add a comment |
The subscript can be set in a zero-width box. The size of the subscript should be set explicitly. This results in the same output as mathclap
from mathtools
.
MWE:
documentclassarticle
usepackageamsmath
usepackagemathtools
begindocument
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
makebox[0pt]scriptsizetextPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
mathclaptextPositive $forall y in [0,1]$
+4y -1
endalign
enddocument
Result:
add a comment |
The subscript can be set in a zero-width box. The size of the subscript should be set explicitly. This results in the same output as mathclap
from mathtools
.
MWE:
documentclassarticle
usepackageamsmath
usepackagemathtools
begindocument
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
makebox[0pt]scriptsizetextPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
mathclaptextPositive $forall y in [0,1]$
+4y -1
endalign
enddocument
Result:
The subscript can be set in a zero-width box. The size of the subscript should be set explicitly. This results in the same output as mathclap
from mathtools
.
MWE:
documentclassarticle
usepackageamsmath
usepackagemathtools
begindocument
beginalign
&x
underbrace(4-3y)_
textPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
makebox[0pt]scriptsizetextPositive $forall y in [0,1]$
+4y -1
endalign
beginalign
&x
underbrace(4-3y)_
mathclaptextPositive $forall y in [0,1]$
+4y -1
endalign
enddocument
Result:
answered May 23 at 11:29
MarijnMarijn
9,759639
9,759639
add a comment |
add a comment |
In this particular case mathclap
is not necessary:
documentclassarticle
usepackageamsmath
begindocument
beginequation*
xunderbrace(4-3y)_substacktextpositive\[1pt] forall y in [0,1] + 4y - 1
endequation*
enddocument
Compare with
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginequation*
xunderbrace(4-3y)_mathclaptextpositive $forall y in [0,1]$ + 4y - 1
endequation*
enddocument
Note, anyway, the additional pair of braces around the whole
underbrace..._...
construction: they're necessary in order to get the right spacing.
1
+1 for the "extra set of braces" trick, which converts theunderbrace
atom effectively intomathord
, I suppose. Or maybe it's deeper than that.
– Steven B. Segletes
May 23 at 11:49
@StevenB.Segletes Yes: you can see the wrong spacing in the other answer.
– egreg
May 23 at 11:50
What is the purpose of the[1pt]
in the first solution?
– Toldry
May 23 at 11:55
1
@Toldry To separate a bit the two lines, they would be too crowded otherwise.
– egreg
May 23 at 11:56
add a comment |
In this particular case mathclap
is not necessary:
documentclassarticle
usepackageamsmath
begindocument
beginequation*
xunderbrace(4-3y)_substacktextpositive\[1pt] forall y in [0,1] + 4y - 1
endequation*
enddocument
Compare with
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginequation*
xunderbrace(4-3y)_mathclaptextpositive $forall y in [0,1]$ + 4y - 1
endequation*
enddocument
Note, anyway, the additional pair of braces around the whole
underbrace..._...
construction: they're necessary in order to get the right spacing.
1
+1 for the "extra set of braces" trick, which converts theunderbrace
atom effectively intomathord
, I suppose. Or maybe it's deeper than that.
– Steven B. Segletes
May 23 at 11:49
@StevenB.Segletes Yes: you can see the wrong spacing in the other answer.
– egreg
May 23 at 11:50
What is the purpose of the[1pt]
in the first solution?
– Toldry
May 23 at 11:55
1
@Toldry To separate a bit the two lines, they would be too crowded otherwise.
– egreg
May 23 at 11:56
add a comment |
In this particular case mathclap
is not necessary:
documentclassarticle
usepackageamsmath
begindocument
beginequation*
xunderbrace(4-3y)_substacktextpositive\[1pt] forall y in [0,1] + 4y - 1
endequation*
enddocument
Compare with
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginequation*
xunderbrace(4-3y)_mathclaptextpositive $forall y in [0,1]$ + 4y - 1
endequation*
enddocument
Note, anyway, the additional pair of braces around the whole
underbrace..._...
construction: they're necessary in order to get the right spacing.
In this particular case mathclap
is not necessary:
documentclassarticle
usepackageamsmath
begindocument
beginequation*
xunderbrace(4-3y)_substacktextpositive\[1pt] forall y in [0,1] + 4y - 1
endequation*
enddocument
Compare with
documentclassarticle
usepackageamsmath,mathtools
begindocument
beginequation*
xunderbrace(4-3y)_mathclaptextpositive $forall y in [0,1]$ + 4y - 1
endequation*
enddocument
Note, anyway, the additional pair of braces around the whole
underbrace..._...
construction: they're necessary in order to get the right spacing.
answered May 23 at 11:44
egregegreg
747k8919543295
747k8919543295
1
+1 for the "extra set of braces" trick, which converts theunderbrace
atom effectively intomathord
, I suppose. Or maybe it's deeper than that.
– Steven B. Segletes
May 23 at 11:49
@StevenB.Segletes Yes: you can see the wrong spacing in the other answer.
– egreg
May 23 at 11:50
What is the purpose of the[1pt]
in the first solution?
– Toldry
May 23 at 11:55
1
@Toldry To separate a bit the two lines, they would be too crowded otherwise.
– egreg
May 23 at 11:56
add a comment |
1
+1 for the "extra set of braces" trick, which converts theunderbrace
atom effectively intomathord
, I suppose. Or maybe it's deeper than that.
– Steven B. Segletes
May 23 at 11:49
@StevenB.Segletes Yes: you can see the wrong spacing in the other answer.
– egreg
May 23 at 11:50
What is the purpose of the[1pt]
in the first solution?
– Toldry
May 23 at 11:55
1
@Toldry To separate a bit the two lines, they would be too crowded otherwise.
– egreg
May 23 at 11:56
1
1
+1 for the "extra set of braces" trick, which converts the
underbrace
atom effectively into mathord
, I suppose. Or maybe it's deeper than that.– Steven B. Segletes
May 23 at 11:49
+1 for the "extra set of braces" trick, which converts the
underbrace
atom effectively into mathord
, I suppose. Or maybe it's deeper than that.– Steven B. Segletes
May 23 at 11:49
@StevenB.Segletes Yes: you can see the wrong spacing in the other answer.
– egreg
May 23 at 11:50
@StevenB.Segletes Yes: you can see the wrong spacing in the other answer.
– egreg
May 23 at 11:50
What is the purpose of the
[1pt]
in the first solution?– Toldry
May 23 at 11:55
What is the purpose of the
[1pt]
in the first solution?– Toldry
May 23 at 11:55
1
1
@Toldry To separate a bit the two lines, they would be too crowded otherwise.
– egreg
May 23 at 11:56
@Toldry To separate a bit the two lines, they would be too crowded otherwise.
– egreg
May 23 at 11:56
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%2f492261%2fhow-to-ignore-kerning-of-underbrace-in-math-mode%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
use
mathtools
and itsmathclap...
macro:underbrace...._mathclap...
, and next time please post a full minimal example, not just a sniplet, then it is a lot easier for others to test your code– daleif
May 23 at 11:25
Noted, daleif. Thank's a ton!
– Toldry
May 23 at 11:32