File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
12
12
PreallocationTools = " d236fae5-4411-538c-8e31-a6e3d9e00b46"
13
13
Symbolics = " 0c5d862f-8b57-4792-8d23-62f2024744c7"
14
14
15
+ [weakdeps ]
16
+ Latexify = " 23fbe1c1-3f47-55db-b15f-69d7ec21a316"
17
+
18
+ [extensions ]
19
+ ModelingToolkitStandardLibraryLatexify = " Latexify"
20
+
15
21
[compat ]
16
22
Aqua = " 0.8"
17
23
ChainRulesCore = " 1.24"
@@ -21,6 +27,7 @@ DataInterpolations = "6"
21
27
ForwardDiff = " 0.10"
22
28
DiffEqBase = " 6.152"
23
29
IfElse = " 0.1"
30
+ Latexify = " 0.16"
24
31
LinearAlgebra = " 1.10"
25
32
Optimization = " 4"
26
33
ModelingToolkit = " 9.47"
Original file line number Diff line number Diff line change
1
+ module ModelingToolkitStandardLibraryLatexifyExt
2
+
3
+ using ModelingToolkitStandardLibrary
4
+ using Latexify
5
+
6
+ @latexrecipe function f (n:: AnalysisPoint )
7
+ env --> :equation
8
+ cdot --> false
9
+ index --> :subscript
10
+
11
+ return nameof (n)
12
+ end
13
+
14
+ end
You can’t perform that action at this time.
0 commit comments