|
|
||
|
|
| In[1]:= |
| Out[1]= |
| In[2]:= |
Out[2]//DisplayForm= | |
| DisplayForm[boxes] | 表明 boxes 被显示的格式 |
| In[3]:= |
Out[3]//DisplayForm= | |
| In[4]:= |
Out[4]//DisplayForm= | |
| In[5]:= |
Out[5]//DisplayForm= | |
| "text" | 原样的文本 |
| RowBox[{a,b,...}] | 一行框符或字符串 |
| GridBox[{{a1,b1,...},{a2,b2,...},...}] | |
一个框符网 ![]() | |
| SubscriptBox[a,b] | 下标 |
| SuperscriptBox[a,b] | 上标 |
| SubsuperscriptBox[a,b,c] | 上下标 |
| UnderscriptBox[a,b] | 底标 |
| OverscriptBox[a,b] | 顶标 |
| UnderoverscriptBox[a,b,c] | 顶底标 |
| FractionBox[a,b] | 分式 |
| SqrtBox[a] | 平方根 |
| RadicalBox[a,b] | b |
| In[6]:= |
Out[6]//DisplayForm= | |
| In[7]:= |
Out[7]//DisplayForm= | |
| In[8]:= |
Out[8]//DisplayForm= | |
| FrameBox[box] | 在 box 的周围加边框 |
| GridBox[list,RowLines->True] | 在 GridBox 内的行间加线条 |
| GridBox[list,ColumnLines->True] | 在 GridBox 内的列间加线条 |
| GridBox[list,RowLines->{True,False}] | |
| 仅在第一行下面加线条 | |
| In[9]:= |
Out[9]//DisplayForm= | |
| In[10]:= |
Out[10]//DisplayForm= | |
| In[11]:= |
Out[11]//DisplayForm= | |
| In[12]:= |
Out[12]//DisplayForm= | |
| In[13]:= |
Out[13]//DisplayForm= | |
| In[14]:= |
Out[14]//DisplayForm= | |
| FormBox[boxes,form] | 用与指定格式有关的规则解释 boxes |
| InterpretationBox[boxes,expr] | 将 boxes 当作表达式 expr 的表示形式 |
| TagBox[boxes,tag] | 用 tag 引导 boxes 的解释 |
| ErrorBox[boxes] | 指出错误并不再对 boxes 进行解释 |
| In[15]:= |
Out[15]//DisplayForm= | |
| In[16]:= |
Out[16]//InputForm= | |
| In[17]:= |
Out[17]//DisplayForm= | |
| In[18]:= |
Out[18]//InputForm= | |
选项 | 默认值 | |
| Editable | Automatic | 是否允许对内容进行编辑 |
| Selectable | True | 是否允许对内容进行选择 |
| Deletable | True | 是否允许对框符进行删除 |
| DeletionWarning | False | 是否在框符被删除时发出警告 |
| BoxAutoDelete | False | 当内容修改后是否除去这个框符 |
| StripWrapperBoxes | False | 是否在 TagBox |
InterpretationBox 和相关框符的选项.
| In[19]:= |
| Out[19]= |