Message Boards Message Boards

0
|
4057 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Overscript and underscript in Sum

Posted 9 years ago

Why don't overscript and underscript work in sum as it is written in Documentation?

\!\(\*OverscriptBox[
UnderscriptBox[\(\[Sum]\), \(i = 0\)], \(2\)]\)4^i
POSTED BY: Al Guy
2 Replies
Posted 9 years ago

Thanks.

POSTED BY: Al Guy

Your code uses these boxes:

 RowBox[{
     OverscriptBox[
       UnderscriptBox["\[Sum]", 
         RowBox[{"i", "=", "0"}]], "2"], 
     RowBox[{"4", "^", "i"}]}]

You need UnderoverscriptBox for this to work:

RowBox[{
    UnderoverscriptBox["\[Sum]", 
      RowBox[{"i", "=", "0"}], "n"], 
    RowBox[{"something", "[", "i", "]"}]}]

Overscripts and Underscripts are in general tricky. They have different meanings in different fields and involve complicated formatting.

If you run into an issue like this in the future, compare the formatting that works with the formatting that doesn't work.

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract