2022-11-27 07:51:12PM

This commit is contained in:
Alexander Wang 2022-11-27 19:51:12 -08:00
parent a5029859ba
commit 5565306244
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
7 changed files with 80 additions and 79 deletions

2
.gitattributes vendored
View file

@ -1,3 +1,5 @@
d2layouts/d2dagrelayout/dagre.js linguist-vendored d2layouts/d2dagrelayout/dagre.js linguist-vendored
d2layouts/d2elklayout/elk.js linguist-vendored d2layouts/d2elklayout/elk.js linguist-vendored
d2renderers/d2svg/github-markdown.css linguist-vendored d2renderers/d2svg/github-markdown.css linguist-vendored
d2renderers/d2latex/mathjax.js linguist-vendored
d2renderers/d2latex/polyfills.js linguist-vendored

File diff suppressed because one or more lines are too long

View file

@ -6,10 +6,10 @@
"type": "text", "type": "text",
"pos": { "pos": {
"x": 0, "x": 0,
"y": 194 "y": 164
}, },
"width": 154, "width": 382,
"height": 41, "height": 101,
"level": 1, "level": 1,
"opacity": 1, "opacity": 1,
"strokeDash": 0, "strokeDash": 0,
@ -27,7 +27,7 @@
"fields": null, "fields": null,
"methods": null, "methods": null,
"columns": null, "columns": null,
"label": "\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}", "label": "\\\\Huge{\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}}",
"fontSize": 16, "fontSize": 16,
"fontFamily": "DEFAULT", "fontFamily": "DEFAULT",
"language": "latex", "language": "latex",
@ -35,14 +35,14 @@
"italic": false, "italic": false,
"bold": true, "bold": true,
"underline": false, "underline": false,
"labelWidth": 154, "labelWidth": 382,
"labelHeight": 41 "labelHeight": 101
}, },
{ {
"id": "b", "id": "b",
"type": "text", "type": "text",
"pos": { "pos": {
"x": 214, "x": 442,
"y": 205 "y": 205
}, },
"width": 65, "width": 65,
@ -79,7 +79,7 @@
"id": "z", "id": "z",
"type": "text", "type": "text",
"pos": { "pos": {
"x": 72, "x": 243,
"y": 0 "y": 0
}, },
"width": 179, "width": 179,
@ -116,7 +116,7 @@
"id": "c", "id": "c",
"type": "", "type": "",
"pos": { "pos": {
"x": 140, "x": 368,
"y": 377 "y": 377
}, },
"width": 214, "width": 214,
@ -154,7 +154,7 @@
"id": "sugar", "id": "sugar",
"type": "", "type": "",
"pos": { "pos": {
"x": 339, "x": 567,
"y": 151 "y": 151
}, },
"width": 146, "width": 146,
@ -192,7 +192,7 @@
"id": "solution", "id": "solution",
"type": "", "type": "",
"pos": { "pos": {
"x": 165, "x": 393,
"y": 603 "y": 603
}, },
"width": 164, "width": 164,
@ -254,20 +254,20 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 133.12582781456953, "x": 284.87417218543044,
"y": 51 "y": 51
}, },
{ {
"x": 88.2251655629139, "x": 209.7748344370861,
"y": 91 "y": 91
}, },
{ {
"x": 77, "x": 191,
"y": 119.5 "y": 113.5
}, },
{ {
"x": 77, "x": 191,
"y": 193.5 "y": 163.5
} }
], ],
"isCurve": true, "isCurve": true,
@ -301,19 +301,19 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 190.37417218543047, "x": 380.62582781456956,
"y": 51 "y": 51
}, },
{ {
"x": 235.2748344370861, "x": 455.7251655629139,
"y": 91 "y": 91
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 121.8 "y": 121.8
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 205 "y": 205
} }
], ],
@ -348,20 +348,20 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 77, "x": 191,
"y": 235.5 "y": 265.5
}, },
{ {
"x": 77, "x": 191,
"y": 308.7 "y": 314.7
}, },
{ {
"x": 92, "x": 226.3,
"y": 337 "y": 341.0701940035273
}, },
{ {
"x": 152, "x": 367.5,
"y": 377 "y": 397.35097001763666
} }
], ],
"isCurve": true, "isCurve": true,
@ -395,19 +395,19 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 246.5, "x": 474.5,
"y": 223 "y": 223
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 306.2 "y": 306.2
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 337 "y": 337
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 377 "y": 377
} }
], ],
@ -442,19 +442,19 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 412, "x": 640,
"y": 277 "y": 277
}, },
{ {
"x": 412, "x": 640,
"y": 317 "y": 317
}, },
{ {
"x": 397.4, "x": 625.4,
"y": 337 "y": 337
}, },
{ {
"x": 339, "x": 567,
"y": 377 "y": 377
} }
], ],
@ -489,19 +489,19 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 246.5, "x": 474.5,
"y": 503 "y": 503
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 543 "y": 543
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 563 "y": 563
}, },
{ {
"x": 246.5, "x": 474.5,
"y": 603 "y": 603
} }
], ],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 508 KiB

View file

@ -8,8 +8,8 @@
"x": 291, "x": 291,
"y": 196 "y": 196
}, },
"width": 154, "width": 382,
"height": 41, "height": 101,
"level": 1, "level": 1,
"opacity": 1, "opacity": 1,
"strokeDash": 0, "strokeDash": 0,
@ -27,7 +27,7 @@
"fields": null, "fields": null,
"methods": null, "methods": null,
"columns": null, "columns": null,
"label": "\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}", "label": "\\\\Huge{\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}}",
"fontSize": 16, "fontSize": 16,
"fontFamily": "DEFAULT", "fontFamily": "DEFAULT",
"language": "latex", "language": "latex",
@ -35,14 +35,14 @@
"italic": false, "italic": false,
"bold": true, "bold": true,
"underline": false, "underline": false,
"labelWidth": 154, "labelWidth": 382,
"labelHeight": 41 "labelHeight": 101
}, },
{ {
"id": "b", "id": "b",
"type": "text", "type": "text",
"pos": { "pos": {
"x": 336, "x": 450,
"y": 158 "y": 158
}, },
"width": 65, "width": 65,
@ -116,7 +116,7 @@
"id": "c", "id": "c",
"type": "", "type": "",
"pos": { "pos": {
"x": 545, "x": 773,
"y": 104 "y": 104
}, },
"width": 214, "width": 214,
@ -154,7 +154,7 @@
"id": "sugar", "id": "sugar",
"type": "", "type": "",
"pos": { "pos": {
"x": 299, "x": 527,
"y": 12 "y": 12
}, },
"width": 146, "width": 146,
@ -192,7 +192,7 @@
"id": "solution", "id": "solution",
"type": "", "type": "",
"pos": { "pos": {
"x": 1003, "x": 1231,
"y": 104 "y": 104
}, },
"width": 164, "width": 164,
@ -263,11 +263,11 @@
}, },
{ {
"x": 241, "x": 241,
"y": 216.5 "y": 246.5
}, },
{ {
"x": 291, "x": 291,
"y": 216.5 "y": 246.5
} }
], ],
"animated": false, "animated": false,
@ -304,7 +304,7 @@
"y": 167 "y": 167
}, },
{ {
"x": 335.5, "x": 449.5,
"y": 167 "y": 167
} }
], ],
@ -338,19 +338,19 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 445, "x": 673,
"y": 216.5 "y": 246.5
}, },
{ {
"x": 495, "x": 723,
"y": 216.5 "y": 246.5
}, },
{ {
"x": 495, "x": 723,
"y": 198.5 "y": 198.5
}, },
{ {
"x": 545, "x": 773,
"y": 198.5 "y": 198.5
} }
], ],
@ -384,11 +384,11 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 400.5, "x": 514.5,
"y": 167 "y": 167
}, },
{ {
"x": 545, "x": 773,
"y": 167 "y": 167
} }
], ],
@ -422,19 +422,19 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 445, "x": 673,
"y": 75 "y": 75
}, },
{ {
"x": 495, "x": 723,
"y": 75 "y": 75
}, },
{ {
"x": 495, "x": 723,
"y": 135.5 "y": 135.5
}, },
{ {
"x": 545, "x": 773,
"y": 135.5 "y": 135.5
} }
], ],
@ -468,11 +468,11 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 759, "x": 987,
"y": 167 "y": 167
}, },
{ {
"x": 1003, "x": 1231,
"y": 167 "y": 167
} }
], ],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 508 KiB

View file

@ -18,7 +18,7 @@ container -> container.second: c->2
{ {
name: "latex", name: "latex",
script: `a: |latex script: `a: |latex
\\frac{\\alpha g^2}{\\omega^5} e^{[ -0.74\\bigl\\{\\frac{\\omega U_\\omega 19.5}{g}\\bigr\\}^{\\!-4}\\,]} \\Huge{\\frac{\\alpha g^2}{\\omega^5} e^{[ -0.74\\bigl\\{\\frac{\\omega U_\\omega 19.5}{g}\\bigr\\}^{\\!-4}\\,]}}
| |
b: |latex b: |latex