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"
1212PreallocationTools = " d236fae5-4411-538c-8e31-a6e3d9e00b46"
1313Symbolics = " 0c5d862f-8b57-4792-8d23-62f2024744c7"
1414
15+ [weakdeps ]
16+ Latexify = " 23fbe1c1-3f47-55db-b15f-69d7ec21a316"
17+
18+ [extensions ]
19+ ModelingToolkitStandardLibraryLatexify = " Latexify"
20+
1521[compat ]
1622Aqua = " 0.8"
1723ChainRulesCore = " 1.24"
@@ -21,6 +27,7 @@ DataInterpolations = "6"
2127ForwardDiff = " 0.10"
2228DiffEqBase = " 6.152"
2329IfElse = " 0.1"
30+ Latexify = " 0.16"
2431LinearAlgebra = " 1.10"
2532Optimization = " 4"
2633ModelingToolkit = " 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