|
1 | 1 | { |
2 | | - "cell_id" : 10332960512342882681, |
3 | | - "cells" : |
4 | | - [ |
| 2 | + "cell_id": 10332960512342882681, |
| 3 | + "cells": [ |
5 | 4 | { |
6 | | - "cell_id" : 16101808746726886949, |
7 | | - "cell_origin" : "client", |
8 | | - "cell_type" : "latex", |
9 | | - "cells" : |
10 | | - [ |
| 5 | + "cell_id": 16101808746726886949, |
| 6 | + "cell_origin": "client", |
| 7 | + "cell_type": "latex", |
| 8 | + "cells": [ |
11 | 9 | { |
12 | | - "cell_id" : 629152003197411965, |
13 | | - "cell_origin" : "client", |
14 | | - "cell_type" : "latex_view", |
15 | | - "source" : "\\property{LaTeXForm}{Changes the way in which expressions are displayed.}\n\nChanges the way in which expressions are displayed in the graphical\ninterface. Example:" |
| 10 | + "cell_id": 17922711406420684199, |
| 11 | + "cell_origin": "client", |
| 12 | + "cell_type": "latex_view", |
| 13 | + "source": "\\property{LaTeXForm}{Changes the way in which expressions are displayed.}\n\nThe \\prop{LaTeXForm} property changes the way in which expressions are displayed in the graphical\ninterface. In its simplest form, it acts just like a node rename operation," |
16 | 14 | } |
17 | 15 | ], |
18 | | - "hidden" : true, |
19 | | - "source" : "\\property{LaTeXForm}{Changes the way in which expressions are displayed.}\n\nChanges the way in which expressions are displayed in the graphical\ninterface. Example:" |
| 16 | + "hidden": true, |
| 17 | + "source": "\\property{LaTeXForm}{Changes the way in which expressions are displayed.}\n\nThe \\prop{LaTeXForm} property changes the way in which expressions are displayed in the graphical\ninterface. In its simplest form, it acts just like a node rename operation," |
20 | 18 | }, |
21 | 19 | { |
22 | | - "cell_id" : 8166426365570956951, |
23 | | - "cell_origin" : "client", |
24 | | - "cell_type" : "input", |
25 | | - "cells" : |
26 | | - [ |
| 20 | + "cell_id": 8166426365570956951, |
| 21 | + "cell_origin": "client", |
| 22 | + "cell_type": "input", |
| 23 | + "cells": [ |
27 | 24 | { |
28 | | - "cell_id" : 17154926141228239702, |
29 | | - "cell_origin" : "server", |
30 | | - "cell_type" : "latex_view", |
31 | | - "cells" : |
32 | | - [ |
| 25 | + "cell_id": 17154926141228239702, |
| 26 | + "cell_origin": "server", |
| 27 | + "cell_type": "latex_view", |
| 28 | + "cells": [ |
33 | 29 | { |
34 | | - "cell_id" : 76011697136639576, |
35 | | - "cell_origin" : "server", |
36 | | - "cell_type" : "input_form", |
37 | | - "source" : "\\del_{m}(A)" |
| 30 | + "cell_id": 76011697136639576, |
| 31 | + "cell_origin": "server", |
| 32 | + "cell_type": "input_form", |
| 33 | + "source": "\\del_{m}(A)" |
38 | 34 | } |
39 | 35 | ], |
40 | | - "source" : "\\begin{dmath*}{}\\partial_{m}\\left(A\\right)\\end{dmath*}" |
| 36 | + "source": "\\begin{dmath*}{}\\partial_{m}\\left(A\\right)\\end{dmath*}" |
41 | 37 | } |
42 | 38 | ], |
43 | | - "source" : "\\del{#}::LaTeXForm(\"\\partial\").\nex:=\\del_{m}(A);" |
| 39 | + "source": "\\del{#}::LaTeXForm(\"\\partial\").\nex:=\\del_{m}(A);" |
44 | 40 | }, |
45 | 41 | { |
46 | | - "cell_id" : 12137153977390704291, |
47 | | - "cell_origin" : "client", |
48 | | - "cell_type" : "latex", |
49 | | - "cells" : |
50 | | - [ |
| 42 | + "cell_id": 12137153977390704291, |
| 43 | + "cell_origin": "client", |
| 44 | + "cell_type": "latex", |
| 45 | + "cells": [ |
51 | 46 | { |
52 | | - "cell_id" : 1199599436471906871, |
53 | | - "cell_origin" : "client", |
54 | | - "cell_type" : "latex_view", |
55 | | - "source" : "This prints $\\partial_{m}(A);$ in the notebook, despite the fact\nthat \\verb|\\del| is not a LaTeX{} command.\n\nIf you use this property to make a symbol printable, make sure to\ndeclare it \\emph{before} any other properties are declared, otherwise\nthe notebook will not know how to display the symbol and produce an\nerror message.\n\nNote that the property is attached to a pattern (\\verb|\\del{#}| in\nthis case) which matches the expression in which the replacement has\nto be made. If the pattern matches, the replacement will be done on\nthe head symbol (\\verb|\\del| in this case). A pattern \\verb|\\del|\nwithout the argument wildcard \\verb|#| would only replace\nwhen \\verb|\\del| occurs without any arguments (as in \ne.g.~\\verb|\\del + A|)." |
| 47 | + "cell_id": 1199599436471906871, |
| 48 | + "cell_origin": "client", |
| 49 | + "cell_type": "latex_view", |
| 50 | + "source": "This prints $\\partial_{m}(A);$ in the notebook, despite the fact\nthat \\verb|\\del| is not a LaTeX{} command.\n\nIf you use this property to make a symbol printable, make sure to\ndeclare it \\emph{before} any other properties are declared, otherwise\nthe notebook will not know how to display the symbol and produce an\nerror message.\n\nNote that the property is attached to a pattern (\\verb|\\del{#}| in\nthis case) which matches the expression in which the replacement has\nto be made. If the pattern matches, the replacement will be done on\nthe head symbol (\\verb|\\del| in this case). A pattern \\verb|\\del|\nwithout the argument wildcard \\verb|#| would only replace\nwhen \\verb|\\del| occurs without any arguments (as in \ne.g.~\\verb|\\del + A|)." |
56 | 51 | } |
57 | 52 | ], |
58 | | - "hidden" : true, |
59 | | - "source" : "This prints $\\partial_{m}(A);$ in the notebook, despite the fact\nthat \\verb|\\del| is not a LaTeX{} command.\n\nIf you use this property to make a symbol printable, make sure to\ndeclare it \\emph{before} any other properties are declared, otherwise\nthe notebook will not know how to display the symbol and produce an\nerror message.\n\nNote that the property is attached to a pattern (\\verb|\\del{#}| in\nthis case) which matches the expression in which the replacement has\nto be made. If the pattern matches, the replacement will be done on\nthe head symbol (\\verb|\\del| in this case). A pattern \\verb|\\del|\nwithout the argument wildcard \\verb|#| would only replace\nwhen \\verb|\\del| occurs without any arguments (as in \ne.g.~\\verb|\\del + A|)." |
| 53 | + "hidden": true, |
| 54 | + "source": "This prints $\\partial_{m}(A);$ in the notebook, despite the fact\nthat \\verb|\\del| is not a LaTeX{} command.\n\nIf you use this property to make a symbol printable, make sure to\ndeclare it \\emph{before} any other properties are declared, otherwise\nthe notebook will not know how to display the symbol and produce an\nerror message.\n\nNote that the property is attached to a pattern (\\verb|\\del{#}| in\nthis case) which matches the expression in which the replacement has\nto be made. If the pattern matches, the replacement will be done on\nthe head symbol (\\verb|\\del| in this case). A pattern \\verb|\\del|\nwithout the argument wildcard \\verb|#| would only replace\nwhen \\verb|\\del| occurs without any arguments (as in \ne.g.~\\verb|\\del + A|)." |
60 | 55 | }, |
61 | 56 | { |
62 | | - "cell_id" : 16855295245100204448, |
63 | | - "cell_origin" : "client", |
64 | | - "cell_type" : "latex", |
65 | | - "cells" : |
66 | | - [ |
| 57 | + "cell_id": 16855295245100204448, |
| 58 | + "cell_origin": "client", |
| 59 | + "cell_type": "latex", |
| 60 | + "cells": [ |
67 | 61 | { |
68 | | - "cell_id" : 12511356882212983496, |
69 | | - "cell_origin" : "client", |
70 | | - "cell_type" : "latex_view", |
71 | | - "source" : "If you want more control over the way in which elements of your original expression \nare printed, you can use patterns like in the example below:" |
| 62 | + "cell_id": 12511356882212983496, |
| 63 | + "cell_origin": "client", |
| 64 | + "cell_type": "latex_view", |
| 65 | + "source": "If you want more control over the way in which elements of your original expression \nare printed, you can use patterns like in the example below:" |
72 | 66 | } |
73 | 67 | ], |
74 | | - "hidden" : true, |
75 | | - "source" : "If you want more control over the way in which elements of your original expression \nare printed, you can use patterns like in the example below:" |
| 68 | + "hidden": true, |
| 69 | + "source": "If you want more control over the way in which elements of your original expression \nare printed, you can use patterns like in the example below:" |
76 | 70 | }, |
77 | 71 | { |
78 | | - "cell_id" : 5079904273003789391, |
79 | | - "cell_origin" : "client", |
80 | | - "cell_type" : "input", |
81 | | - "source" : "\\ket{A??}{q??}::LaTeXForm(\"|\", A??, \"\\rangle_{\", q??, \"}\")." |
| 72 | + "cell_id": 5079904273003789391, |
| 73 | + "cell_origin": "client", |
| 74 | + "cell_type": "input", |
| 75 | + "source": "\\ket{A??}{q??}::LaTeXForm(\"|\", A??, \"\\rangle_{\", q??, \"}\")." |
82 | 76 | }, |
83 | 77 | { |
84 | | - "cell_id" : 7082940046924425757, |
85 | | - "cell_origin" : "client", |
86 | | - "cell_type" : "input", |
87 | | - "cells" : |
88 | | - [ |
| 78 | + "cell_id": 7082940046924425757, |
| 79 | + "cell_origin": "client", |
| 80 | + "cell_type": "input", |
| 81 | + "cells": [ |
89 | 82 | { |
90 | | - "cell_id" : 2786973104563996210, |
91 | | - "cell_origin" : "server", |
92 | | - "cell_type" : "latex_view", |
93 | | - "cells" : |
94 | | - [ |
| 83 | + "cell_id": 2786973104563996210, |
| 84 | + "cell_origin": "server", |
| 85 | + "cell_type": "latex_view", |
| 86 | + "cells": [ |
95 | 87 | { |
96 | | - "cell_id" : 4241976921930736084, |
97 | | - "cell_origin" : "server", |
98 | | - "cell_type" : "input_form", |
99 | | - "source" : "\\ket(n + 1 , a)" |
| 88 | + "cell_id": 4241976921930736084, |
| 89 | + "cell_origin": "server", |
| 90 | + "cell_type": "input_form", |
| 91 | + "source": "\\ket(n + 1 , a)" |
100 | 92 | } |
101 | 93 | ], |
102 | | - "source" : "\\begin{dmath*}{}|n+1\\rangle_{a}\\end{dmath*}" |
| 94 | + "source": "\\begin{dmath*}{}|n+1\\rangle_{a}\\end{dmath*}" |
103 | 95 | } |
104 | 96 | ], |
105 | | - "source" : "ex:=\\ket{n+1}{a};" |
| 97 | + "source": "ex:=\\ket{n+1}{a};" |
106 | 98 | }, |
107 | 99 | { |
108 | | - "cell_id" : 9144468563272193427, |
109 | | - "cell_origin" : "client", |
110 | | - "cell_type" : "latex", |
111 | | - "cells" : |
112 | | - [ |
| 100 | + "cell_id": 9144468563272193427, |
| 101 | + "cell_origin": "client", |
| 102 | + "cell_type": "latex", |
| 103 | + "cells": [ |
113 | 104 | { |
114 | | - "cell_id" : 2257828966897303850, |
115 | | - "cell_origin" : "client", |
116 | | - "cell_type" : "latex_view", |
117 | | - "source" : "The comma-separated list of arguments to \\prop{LaTeXForm} will be concatenated\ninto a single LaTeX output string, with patterns replaced by their normal output\nform." |
| 105 | + "cell_id": 2257828966897303850, |
| 106 | + "cell_origin": "client", |
| 107 | + "cell_type": "latex_view", |
| 108 | + "source": "The comma-separated list of arguments to \\prop{LaTeXForm} will be concatenated\ninto a single LaTeX output string, with patterns replaced by their normal output\nform." |
118 | 109 | } |
119 | 110 | ], |
120 | | - "hidden" : true, |
121 | | - "source" : "The comma-separated list of arguments to \\prop{LaTeXForm} will be concatenated\ninto a single LaTeX output string, with patterns replaced by their normal output\nform." |
| 111 | + "hidden": true, |
| 112 | + "source": "The comma-separated list of arguments to \\prop{LaTeXForm} will be concatenated\ninto a single LaTeX output string, with patterns replaced by their normal output\nform." |
122 | 113 | }, |
123 | 114 | { |
124 | | - "cell_id" : 105812070507528914, |
125 | | - "cell_origin" : "client", |
126 | | - "cell_type" : "input", |
127 | | - "source" : "" |
| 115 | + "cell_id": 4022895960666784505, |
| 116 | + "cell_origin": "client", |
| 117 | + "cell_type": "latex", |
| 118 | + "cells": [ |
| 119 | + { |
| 120 | + "cell_id": 5631816431885168242, |
| 121 | + "cell_origin": "client", |
| 122 | + "cell_type": "latex_view", |
| 123 | + "source": "Note that in all of the strings used inside the \\prop{LaTeXForm} property, you do not need to do any escaping of special characters: these strings are always interpreted as raw strings. Also note that you need to use double quotes, not single quotes." |
| 124 | + } |
| 125 | + ], |
| 126 | + "hidden": true, |
| 127 | + "source": "Note that in all of the strings used inside the \\prop{LaTeXForm} property, you do not need to do any escaping of special characters: these strings are always interpreted as raw strings. Also note that you need to use double quotes, not single quotes." |
| 128 | + }, |
| 129 | + { |
| 130 | + "cell_id": 386464782893588846, |
| 131 | + "cell_origin": "client", |
| 132 | + "cell_type": "input", |
| 133 | + "source": "" |
128 | 134 | } |
129 | 135 | ], |
130 | | - "description" : "Cadabra JSON notebook format", |
131 | | - "version" : 1 |
| 136 | + "description": "Cadabra JSON notebook format", |
| 137 | + "version": 1.0 |
132 | 138 | } |
0 commit comments