一个关于上下标的Bug(?),你们能重现吗?
mathematica吧
全部回复
仅看楼主
吧务
level 15
xzcyr 楼主
起因是这个问题:
http://zhidao.baidu.com/question/517066465.html?fr=uc_push&push=keyword&oldq=1
我试了一下,我这里也有同样的问题,就上Stackexchange问了一下:
http://mathematica.stackexchange.com/questions/17867/the-shortcut-for-subsuperscript-doesnt-work
可是截止目前,没人能重现这个问题。怎么回事?真是Vista Only?
2013年01月16日 08点01分 1
level 9
mma9 ctrl+%没有了?
2013年01月16日 11点01分 2
哈?
2013年01月16日 12点01分
回复 xzcyr :我记得好像8里面ctrl+%是上下标?,在9里面按 ctrl+%就没反应了
2013年01月16日 12点01分
回复 feiliupkpk :好像不是,%只有在有一个标的时候用于跳转。
2013年01月16日 12点01分
回复 xzcyr :那哪个是直接上下标的?记得似乎有个
2013年01月16日 12点01分
level 10
我这的情况和你在se反映的一样.
window 7 64bit
2013年01月16日 11点01分 3
8.04
2013年01月16日 11点01分
那在评论里支援我一下嘛。
2013年01月16日 12点01分
level 5
我认为这不是什么bug,而是使用不当的问题。
2013年01月16日 15点01分 4
……能具体些吗?我完全是照帮助按的快捷键啊
2013年01月16日 15点01分
level 5
先定义了V=9
又计算,结果就是
2013年01月16日 15点01分 5
level 5
真要是上下标多,我倒觉得应该使用角标列表更好,像这样不一样吗?
\!\(\*SubscriptBox[\(V\), \({b, bi, bj}\)]\) = 9
2013年01月16日 15点01分 6
老实说,我的话甚至会避免用角标……这也是我一直没注意到这个问题的原因。
2013年01月16日 15点01分
我前几天使用e做角标,结果出现错误,后来仔细看了才想起e内部定义了,有些规则可能就是软件自己设定的。我们只能遵守而已
2013年01月16日 15点01分
回复 xzcyr :说实话,我觉得角标在mma里是个畸形的存在,我在帮助里从来没看到把角标用于实际的运算的例子.角标竟然允许这样的东西存在: Set[Subscript[x, 3], 3] ,啊,神啊.一个内部符号的表达式竟然可以被赋值.也许这是迎合传统数学表达方法的无奈之举...
2013年01月16日 15点01分
本就很正常啊
2013年01月16日 15点01分
吧务
level 15
xzcyr 楼主
@随您进步 突然想到一个可能性。你用的是中文版的Mathematica吗?版本号呢?事件系统呢?
2013年01月17日 06点01分 7
我现在怀疑这可能是版本8中文版独有Bug,所以……谁在用英文版的,来试试吧!
2013年01月17日 08点01分
吧务
level 13
{Subsuperscript[a, x, y], Subscript[a, x]^y,
Subsuperscript[a, x, y] === Subscript[a, x]^y}
ToExpression[SubsuperscriptBox[a, x, y]] // FullForm
ToBoxes[SubsuperscriptBox[a, x, y]]
ToBoxes[Subsuperscript[a, x, y]] // FullForm
参见SubsuperscriptBox
2013年01月17日 12点01分 8
那啥……我关心的不是这些,我只想知道你们那边有没有这个Bug,以及相关的软件版本和操作系统。
2013年01月17日 12点01分
回复 xzcyr :这不是Bug,前几个版本都有,Subsuperscript 格式使用 SubsuperscriptBox,它有注释信息 在StandardForm中几乎看不出区别 ,SubsuperscriptBox[a, x, y]]表示 Subscript[a, x]^y 不能赋值
2013年01月17日 12点01分
回复 随意超 :可是Stackexchange上的其他人遵循Ctrl+6,Ctrl+5的顺序成功弄出Subsuperscript[a,x,y]了而我和@mm_酱 却弄不出来啊……
2013年01月17日 12点01分
回复 xzcyr :are you sure? 5.0中“Ctrl+6,Ctrl+5”也是表示 SubsuperscriptBox ,并且 BasicTypesetting面板中的 那个Placeholder也是 SubsuperscriptBox ,并没有发现有 Subsuperscript 的 Placeholder
2013年01月17日 13点01分
吧务
level 15
xzcyr 楼主
哦哦,在Stackexchange终于有人重现了我的问题了!看样子说不定这会真是这帮认真的老外居然懒汉思维了。
@隨意超 你不把你上面写的这些整理下,在那边贴个答案吗?
2013年01月18日 11点01分 9
吧务
level 15
xzcyr 楼主
已经基本确定是软件本身的问题了。SE上有人建议我去反馈,可是,我没正版的Key,他们不接受我的反馈啊!!!肿么办……要不 @iangie_明月 你去反馈一下?
2013年01月19日 03点01分 10
被召唤了...那个...最近在写论文没怎么用MMA了...你的问题好高深...看不懂...
2013年01月19日 06点01分
level 11
如果用完整指令Subsuperscript是可以做出一个当符号用的“带上下标的符号”的
========================
我怎么不行?
2013年01月19日 11点01分 12
……下面那两行,你又用快捷键输入了吧?必须每次都使用完整指令名输入或者复制,一用快捷键,做出来的就是Power。
2013年01月19日 11点01分
回复 xzcyr : In[74]里面都是直接复制Out[72]的
2013年01月19日 11点01分
回复 iangie_明月 :回复 iangie_明月 :试了一下。你复制的时候,光标是不是位于某个角标上或是头部的字母上然后按了两次或者三次方向键?必须要是在光标是最大的状态时,通过一次刷动选中(用键盘的话,只按一次方向)才可以,否则复制出来的又是Power。(可能是没完全选中的关系。)
2013年01月19日 12点01分
回复 xzcyr : 我又试了一下全部选中复制...居然可以了...
2013年01月19日 12点01分
吧务
level 15
xzcyr 楼主
我也来贴图一幅:
2013年01月19日 11点01分 13
你这个In[7]里的axy 是怎么输入的啊? 我就是输入了Subsuperscript[a,x,y]也变不成你图片里的样子啊....我是菜鸟...
2013年01月19日 12点01分
回复 iangie_明月 :这一幅是照你上面说的直接复制的方法输入的。当然还有别的方法,比如,在用完整指令输入之后,选中这个单元格,右键,转换成StandardForm;更简单的方法是输入完之后按下Ctrl+Shift+N。
2013年01月19日 12点01分
回复 xzcyr :哦, 受教了...
2013年01月19日 12点01分
回复 xzcyr : 已经在那个网页上发了邮件了, 还想问一下, Ctrl+(Shift)+123456789abcd... 神马的快捷键的作用都在那里看到啊?
2013年01月19日 12点01分
level 10
此帖是多么崎岖啊...啊...啊...[瀑布汗~]
2013年01月19日 12点01分 14
[88]
2013年01月19日 12点01分
回复 xzcyr :我已经用我的序列号把这个问题( Subsuperscript 帮助文档中的错误)发给MMA了, 但是我只买了软件, 没订Premier service...不知道他们会不会处理....奸商什么都要收钱...
2013年01月19日 12点01分
回复 iangie_明月 :[啊!]原来WRI收起钱来也是毫不手软的吗……
2013年01月19日 12点01分
回复 xzcyr : Premier service是一年一年订的...好像每年都是好几十刀...
2013年01月19日 12点01分
level 11
-- Wolfram Research Technical Support --
This is a response to your email.
The reply to your question can be found at the bottom of this message.
Our classification number for this message is: [TS 2338]
Please give this number in any future correspondence related to this question.
If you leave this number in the Subject: header in the form [TS 2338], it will
automatically be reassigned to the original technician.
From: "Allison Fry via RT"<[email protected]>
Date: Mon, 21 Jan 2013 10:43:47 -0600
Subject: [WR #288] Support Contact Form: Other
To:
Cc : [email protected]
> The help document of "Subsuperscript"function says that:
> To enter a subsuperscript in a notebook, use either Ctrl+_ to begin a
> regular subscript or Ctrl+^ to begin a regular superscript. After
> typing the first script, use Ctrl+% to move to the opposite script
> position. Ctrl+Space moves out of the subscript or superscript
> position.
> =========
> However, Ctrl+^ can only give a Power to the former variable not a
> regular superscript. The resultant combination can not be assigned
> any value as a normal variable.
> I think this description in the ''more information" of the help
> document of "Subsuperscript" function is wrong.
> Just a feedback, and hopefully this sentence can be removed from
> further version.
>
Hello,
Thank you for taking the time to let us know about this issue in the documentation. I have forwarded this report to our developers in charge of this are of the documentation so that it can be fixed in a future release of Mathematica.
Sincerely,
Technical Support
Wolfram Research, Inc.
http://support.wolfram.com
----------------------------------------------------------------------------
2013年01月23日 16点01分 15
回复好简短.
2013年01月23日 16点01分
……谁能给我讲解下英语语法吗,our developers in charge of this are of the documentation 是啥意思?
2013年01月24日 05点01分
回复 xzcyr : 老外邮件经常就只能看个大意.....他们的outlook经常不开spelling check神马的.....
2013年01月24日 07点01分
回复 iangie_明月 :[啊!]
2013年01月24日 07点01分
level 5
劝告搂主不要往这个方向上折腾,立刻放弃这些非常规的用法,回到正途上来
2013年01月31日 03点01分 16
吧务
level 12
我这里有一个类似的bug:
a = Subscript[a,3]
这会导致Mathematica陷入递归定义,但是a = a3在数学上是一种很常见的做法。
建议MMA把上下标作为一种纯粹的格式定义,而不是函数。
2014年09月14日 15点09分 17
这个不是Bug,软件就是这样设计的。如果Subscript成了死的,那么诸如 RSolve[{Subscript[a, n + 2] == 4 Subscript[a, n], Subscript[a, 0] == 1}, Subscript[a, n], n] 代码又不能正常执行了。当然,要把下标固化也是有办法的,那就是使用“ << Notation` ”。
2014年10月04日 06点10分
关于下标的一个比较系统的讨论可以看这里:http://mathematica.stackexchange.com/a/18395/1871 注意第5点。
2014年10月04日 06点10分
再顺便,说到“违背”传统数学记号和递归,Mathematica其实在一个更基本的地方有“问题”哦:http://mathematica.stackexchange.com/q/50726/1871
2014年10月04日 06点10分
1