Mismatched braces in subscript and superscript
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
There is mismatch in the braces when used as subscript or superscript
textit $ R(p_(a ),p_(b ) )=e^(-gamma lVert p_(a) - p_(b) rVert)^2$
subscripts superscripts
add a comment |Â
up vote
1
down vote
favorite
There is mismatch in the braces when used as subscript or superscript
textit $ R(p_(a ),p_(b ) )=e^(-gamma lVert p_(a) - p_(b) rVert)^2$
subscripts superscripts
Perhaps you should add an image of this, plus it is always a good idea here to provide a full minimal example not just a sniplet, then others do not have to guess what preamble you're using. Additionally, why thetextit
what is that for here? Note thelVert/rVert
has no purpose
– daleif
1 hour ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
There is mismatch in the braces when used as subscript or superscript
textit $ R(p_(a ),p_(b ) )=e^(-gamma lVert p_(a) - p_(b) rVert)^2$
subscripts superscripts
There is mismatch in the braces when used as subscript or superscript
textit $ R(p_(a ),p_(b ) )=e^(-gamma lVert p_(a) - p_(b) rVert)^2$
subscripts superscripts
subscripts superscripts
edited 54 mins ago


egreg
686k8418283078
686k8418283078
asked 2 hours ago
poorna
313
313
Perhaps you should add an image of this, plus it is always a good idea here to provide a full minimal example not just a sniplet, then others do not have to guess what preamble you're using. Additionally, why thetextit
what is that for here? Note thelVert/rVert
has no purpose
– daleif
1 hour ago
add a comment |Â
Perhaps you should add an image of this, plus it is always a good idea here to provide a full minimal example not just a sniplet, then others do not have to guess what preamble you're using. Additionally, why thetextit
what is that for here? Note thelVert/rVert
has no purpose
– daleif
1 hour ago
Perhaps you should add an image of this, plus it is always a good idea here to provide a full minimal example not just a sniplet, then others do not have to guess what preamble you're using. Additionally, why the
textit
what is that for here? Note the
aroung the lVert/rVert
has no purpose– daleif
1 hour ago
Perhaps you should add an image of this, plus it is always a good idea here to provide a full minimal example not just a sniplet, then others do not have to guess what preamble you're using. Additionally, why the
textit
what is that for here? Note the
aroung the lVert/rVert
has no purpose– daleif
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
There are quite a few issues with your code:
The
textit
wrapper seems wholly unnecessaryYou seem to be under the impression that the
(
and)
symbols perform grouping in TeX. That's not the case. I believe you should writep_a
andp_b
instead ofp_(a)
andp_(b)
. If you must encasea
andb
in parentheses, you should writep_(a)
andp_(b)
to indicate to TeX that not just the opening parenthesis needs to be typeset in the subscript position.The outer pair of
|
symbols would appear to be redundant. The expression they encase is squared; hence, taking the absolute value is not needed, is it?The matching pair of curly braces around
lVert ... rVert
does not appear to serve a discernible purpose.To make the exponential term more readable, consider writing it as
exp ...
instead of ase^...
. If you don't like the look of curly braces, consider using square brackets.
In short, this how I'd write the full expression:
documentclassarticle
usepackageamsmath % for lVert and rVert macros
begindocument
$ R(p_a,p_b) = exp (-gamma lVert p_a - p_b rVert)^2 $
enddocument
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
There are quite a few issues with your code:
The
textit
wrapper seems wholly unnecessaryYou seem to be under the impression that the
(
and)
symbols perform grouping in TeX. That's not the case. I believe you should writep_a
andp_b
instead ofp_(a)
andp_(b)
. If you must encasea
andb
in parentheses, you should writep_(a)
andp_(b)
to indicate to TeX that not just the opening parenthesis needs to be typeset in the subscript position.The outer pair of
|
symbols would appear to be redundant. The expression they encase is squared; hence, taking the absolute value is not needed, is it?The matching pair of curly braces around
lVert ... rVert
does not appear to serve a discernible purpose.To make the exponential term more readable, consider writing it as
exp ...
instead of ase^...
. If you don't like the look of curly braces, consider using square brackets.
In short, this how I'd write the full expression:
documentclassarticle
usepackageamsmath % for lVert and rVert macros
begindocument
$ R(p_a,p_b) = exp (-gamma lVert p_a - p_b rVert)^2 $
enddocument
add a comment |Â
up vote
4
down vote
There are quite a few issues with your code:
The
textit
wrapper seems wholly unnecessaryYou seem to be under the impression that the
(
and)
symbols perform grouping in TeX. That's not the case. I believe you should writep_a
andp_b
instead ofp_(a)
andp_(b)
. If you must encasea
andb
in parentheses, you should writep_(a)
andp_(b)
to indicate to TeX that not just the opening parenthesis needs to be typeset in the subscript position.The outer pair of
|
symbols would appear to be redundant. The expression they encase is squared; hence, taking the absolute value is not needed, is it?The matching pair of curly braces around
lVert ... rVert
does not appear to serve a discernible purpose.To make the exponential term more readable, consider writing it as
exp ...
instead of ase^...
. If you don't like the look of curly braces, consider using square brackets.
In short, this how I'd write the full expression:
documentclassarticle
usepackageamsmath % for lVert and rVert macros
begindocument
$ R(p_a,p_b) = exp (-gamma lVert p_a - p_b rVert)^2 $
enddocument
add a comment |Â
up vote
4
down vote
up vote
4
down vote
There are quite a few issues with your code:
The
textit
wrapper seems wholly unnecessaryYou seem to be under the impression that the
(
and)
symbols perform grouping in TeX. That's not the case. I believe you should writep_a
andp_b
instead ofp_(a)
andp_(b)
. If you must encasea
andb
in parentheses, you should writep_(a)
andp_(b)
to indicate to TeX that not just the opening parenthesis needs to be typeset in the subscript position.The outer pair of
|
symbols would appear to be redundant. The expression they encase is squared; hence, taking the absolute value is not needed, is it?The matching pair of curly braces around
lVert ... rVert
does not appear to serve a discernible purpose.To make the exponential term more readable, consider writing it as
exp ...
instead of ase^...
. If you don't like the look of curly braces, consider using square brackets.
In short, this how I'd write the full expression:
documentclassarticle
usepackageamsmath % for lVert and rVert macros
begindocument
$ R(p_a,p_b) = exp (-gamma lVert p_a - p_b rVert)^2 $
enddocument
There are quite a few issues with your code:
The
textit
wrapper seems wholly unnecessaryYou seem to be under the impression that the
(
and)
symbols perform grouping in TeX. That's not the case. I believe you should writep_a
andp_b
instead ofp_(a)
andp_(b)
. If you must encasea
andb
in parentheses, you should writep_(a)
andp_(b)
to indicate to TeX that not just the opening parenthesis needs to be typeset in the subscript position.The outer pair of
|
symbols would appear to be redundant. The expression they encase is squared; hence, taking the absolute value is not needed, is it?The matching pair of curly braces around
lVert ... rVert
does not appear to serve a discernible purpose.To make the exponential term more readable, consider writing it as
exp ...
instead of ase^...
. If you don't like the look of curly braces, consider using square brackets.
In short, this how I'd write the full expression:
documentclassarticle
usepackageamsmath % for lVert and rVert macros
begindocument
$ R(p_a,p_b) = exp (-gamma lVert p_a - p_b rVert)^2 $
enddocument
edited 1 hour ago
answered 1 hour ago


Mico
265k30355735
265k30355735
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453572%2fmismatched-braces-in-subscript-and-superscript%23new-answer', 'question_page');
);
Post as a guest
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
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
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
Perhaps you should add an image of this, plus it is always a good idea here to provide a full minimal example not just a sniplet, then others do not have to guess what preamble you're using. Additionally, why the
textit
what is that for here? Note thelVert/rVert
has no purpose– daleif
1 hour ago