Skip to content

Commit 1e77d25

Browse files
committed
Added Symbol manual page
1 parent ee83ffb commit 1e77d25

File tree

3 files changed

+45
-16
lines changed

3 files changed

+45
-16
lines changed

core/properties/Symbol.cnb

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"cells" :
3+
[
4+
{
5+
"cell_origin" : "client",
6+
"cell_type" : "latex",
7+
"cells" :
8+
[
9+
{
10+
"cell_origin" : "client",
11+
"cell_type" : "latex_view",
12+
"source" : "\\property{Symbol}{Make an object not count as index when it is a sub- or super-script}\n\nIf you want to attach symbols to tensors in sub- or superscript, as\nin~$A^\\dagger$, you need to inform the system that this symbol is not\nan index (otherwise it will interpret~$A^\\dagger A^\\dagger$ as two\ncontracted vectors with vector indices~$\\dagger$). This is done by\nassociating the \\prop{Symbol} property to the symbol; in this\nexample"
13+
}
14+
],
15+
"hidden" : true,
16+
"source" : "\\property{Symbol}{Make an object not count as index when it is a sub- or super-script}\n\nIf you want to attach symbols to tensors in sub- or superscript, as\nin~$A^\\dagger$, you need to inform the system that this symbol is not\nan index (otherwise it will interpret~$A^\\dagger A^\\dagger$ as two\ncontracted vectors with vector indices~$\\dagger$). This is done by\nassociating the \\prop{Symbol} property to the symbol; in this\nexample"
17+
},
18+
{
19+
"cell_origin" : "client",
20+
"cell_type" : "input",
21+
"cells" :
22+
[
23+
{
24+
"cell_origin" : "server",
25+
"cell_type" : "latex_view",
26+
"source" : "\\begin{dmath*}{}\\text{Attached property Symbol to~}\\dagger.\\end{dmath*}"
27+
},
28+
{
29+
"cell_origin" : "server",
30+
"cell_type" : "latex_view",
31+
"source" : "\\begin{dmath*}{}A^{\\dagger} A^{\\dagger}\\end{dmath*}"
32+
}
33+
],
34+
"source" : "\\dagger::Symbol;\nex:= A^{\\dagger} A^{\\dagger};"
35+
},
36+
{
37+
"cell_origin" : "client",
38+
"cell_type" : "input",
39+
"source" : ""
40+
}
41+
],
42+
"description" : "Cadabra JSON notebook format",
43+
"version" : 1
44+
}

core/properties/Symbol.tex

Lines changed: 0 additions & 16 deletions
This file was deleted.

web2/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ set(PROPS
102102
SelfNonCommuting
103103
SortOrder
104104
Spinor
105+
Symbol
105106
Symmetric
106107
Tableau
107108
TableauSymmetry

0 commit comments

Comments
 (0)