Skip to content

Commit

Permalink
Set fixed image sizes to avoid blown-up images in PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
Songtech-0912 committed Nov 18, 2023
1 parent 13d98f8 commit 787a12c
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 13 deletions.
18 changes: 15 additions & 3 deletions book/knowledge-library/classical-mechanics-1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,11 @@
"id": "6247bd89",
"metadata": {},
"source": [
"![Free body diagram single force](../images/raster/fbd-gravity.png)"
"```{image} ../images/raster/fbd-gravity.png\n",
":alt: Free body diagram single force\n",
":width: 400px\n",
":align: center\n",
"```"
]
},
{
Expand Down Expand Up @@ -680,7 +684,11 @@
"id": "72dd1eee",
"metadata": {},
"source": [
"![Atwood's machine](https://upload.wikimedia.org/wikipedia/commons/c/cb/Atwood.svg)"
"```{image} https://upload.wikimedia.org/wikipedia/commons/c/cb/Atwood.svg\n",
":alt: Atwood's machine diagram\n",
":width: 400px\n",
":algin: center\n",
"```"
]
},
{
Expand All @@ -696,7 +704,11 @@
"id": "15d228c6",
"metadata": {},
"source": [
"![Free body diagram muliple force](../images/raster/fbd-atwoods.png)"
"```{image} ../images/raster/fbd-atwoods.png\n",
":alt: Free body diagram muliple force\n",
":width: 400px\n",
":align: center\n",
"```"
]
},
{
Expand Down
12 changes: 10 additions & 2 deletions book/knowledge-library/classical-mechanics-2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,11 @@
"id": "803e51fd",
"metadata": {},
"source": [
"![Simple oscillator](../images/raster/simple-oscillator.png)"
"```{image} ../images/raster/simple-oscillator.png\n",
":alt: Simple oscillator\n",
":width: 400px\n",
":align: center\n",
"```"
]
},
{
Expand Down Expand Up @@ -1164,7 +1168,11 @@
"id": "bb8b0fec",
"metadata": {},
"source": [
"![Double pendulum](../images/raster/double-pendulum.png)"
"```{image} ../images/raster/double-pendulum.png\n",
":alt: Double pendulum diagram\n",
":width: 400px\n",
":align: center\n",
"```"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion book/knowledge-library/complex-analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,11 @@
"id": "51ec125d",
"metadata": {},
"source": [
"![Illustration of the complex plane](../images/raster/complex-plane.png)"
"```{image} ../images/raster/complex-plane.png\n",
":alt: Illustration of the complex plane\n",
":width: 400px\n",
":align: center\n",
"```"
]
},
{
Expand Down
12 changes: 10 additions & 2 deletions book/knowledge-library/differential-geometry.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,11 @@
"id": "bb7a3e55",
"metadata": {},
"source": [
"![Levi-civita symbol explained](../images/special/levi-civita.png)"
"```{image} ../images/special/levi-civita.png\n",
":alt: Levi-civita symbol explained\n",
":width: 100px\n",
":align: center\n",
"```"
]
},
{
Expand Down Expand Up @@ -1575,7 +1579,11 @@
"id": "987bfb86",
"metadata": {},
"source": [
"![Differentials](https://homework.study.com/cimages/multimages/16/drawing242540949694109156314.jpg)"
"```{image} https://homework.study.com/cimages/multimages/16/drawing242540949694109156314.jpg\n",
":alt: Differentials illustrated\n",
":width: 300px\n",
":align: center\n",
"```"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion book/knowledge-library/linear-algebra.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@
"id": "dbe8f9aa",
"metadata": {},
"source": [
"![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/3D_Vector.svg/300px-3D_Vector.svg.png)"
"```{image} https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/3D_Vector.svg/300px-3D_Vector.svg.png\n",
":alt: 3D vectors on the coordinate grid\n",
":width: 300px\n",
":align: center\n",
"```"
]
},
{
Expand Down
18 changes: 15 additions & 3 deletions book/knowledge-library/monovariable-calculus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,11 @@
"id": "bac914ee",
"metadata": {},
"source": [
"![Calculus curve zoom](../images/Calculus-curve-zoom.jpg)"
"```{image} ../images/Calculus-curve-zoom.jpg\n",
":alt: Zooming into a curve\n",
":width: 600px\n",
":align: center\n",
"```"
]
},
{
Expand All @@ -197,7 +201,11 @@
"id": "0d6b1096",
"metadata": {},
"source": [
"![Derivative illustration](../images/Derivative-illustration.png)"
"```{image} ../images/Derivative-illustration.png\n",
":alt: Illustration of the derivative\n",
":width: 400px\n",
":align: center\n",
"```"
]
},
{
Expand Down Expand Up @@ -1479,7 +1487,11 @@
"id": "61f58ed2",
"metadata": {},
"source": [
"![Integral visualization](https://www.technologyuk.net/mathematics/integral-calculus/images/integral_calculus_0013.gif)"
"```{image} https://www.technologyuk.net/mathematics/integral-calculus/images/integral_calculus_0013.gif\n",
":alt: Integral visualization as rectangles under a curve\n",
":width: 400px\n",
":align: center\n",
"```"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion book/knowledge-library/multivariable-calculus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,11 @@
"id": "8092fe11",
"metadata": {},
"source": [
"![Partial derivatives diagram](../images/raster/partial-derivatives.png)"
"```{image} ../images/raster/partial-derivatives.png\n",
":alt: Partial derivatives diagram\n",
":width: 500px\n",
":align: center\n",
"```"
]
},
{
Expand Down

0 comments on commit 787a12c

Please sign in to comment.