From 27314c9090bb494e6105bccc2f446037eede1014 Mon Sep 17 00:00:00 2001 From: Fang Liu Date: Sun, 23 Jul 2023 14:31:25 +0800 Subject: [PATCH] update some typos. --- quarto/misc/calculus_with_julia.qmd | 2 +- quarto/misc/julia_interfaces.qmd | 2 +- quarto/misc/quick_notes.qmd | 6 +++--- quarto/misc/unicode.qmd | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/quarto/misc/calculus_with_julia.qmd b/quarto/misc/calculus_with_julia.qmd index 9ab0fc9..2726724 100644 --- a/quarto/misc/calculus_with_julia.qmd +++ b/quarto/misc/calculus_with_julia.qmd @@ -57,7 +57,7 @@ The `Julia` language provides the building blocks for the wider `Julia` ecosyste Package installation is straightforward, as `Julia` has a package, `Pkg`, that facilitates this. -Since `Julia` version 1.7, just attempting to load a package through `using PackageName` at the *command line* will either load an installed package *or* query for an uninstalled package to be installed before lading. So installation just requires confirming a prompt. +Since `Julia` version 1.7, just attempting to load a package through `using PackageName` at the *command line* will either load an installed package *or* query for an uninstalled package to be installed before loading. So installation just requires confirming a prompt. For more control, the command line and `IJulia` provide access to the function in `Pkg` through the escape command `]`. For example, to find the status of all currently installed packages, the following command can be executed: diff --git a/quarto/misc/julia_interfaces.qmd b/quarto/misc/julia_interfaces.qmd index 54afb17..d1bee43 100644 --- a/quarto/misc/julia_interfaces.qmd +++ b/quarto/misc/julia_interfaces.qmd @@ -80,7 +80,7 @@ Pluto has a built-in package management system that manages the installation of "Project [Jupyter](https://jupyter.org/) exists to develop open-source software, open-standards, and services for interactive computing across dozens of programming languages." The `IJulia` package allows `Julia` to be one of these programming languages. This package must be installed prior to use. -The Jupyter Project provides two web-based interfaces to `Julia`: the Jupyter notebook and the newer JupyterLab. The the [binder](https://mybinder.org/) project use Juptyer notebooks for their primary interface to `Julia`. To use a binder notebook, follow this link: +The Jupyter Project provides two web-based interfaces to `Julia`: the Jupyter notebook and the newer JupyterLab. The [binder](https://mybinder.org/) project use Juptyer notebooks for their primary interface to `Julia`. To use a binder notebook, follow this link: [lauch binder](https://mybinder.org/v2/gh/CalculusWithJulia/CwJScratchPad.git/master) diff --git a/quarto/misc/quick_notes.qmd b/quarto/misc/quick_notes.qmd index d49bdd2..1d4d41b 100644 --- a/quarto/misc/quick_notes.qmd +++ b/quarto/misc/quick_notes.qmd @@ -168,7 +168,7 @@ When a function has multiple arguments, yet the value passed in is a container h ### Multiple dispatch -`Julia` can have many methods for a single generic function. (E.g., it can have many different implementations of addiion when the `+` sign is encountered.) The *type*s of the arguments and the number of arguments are used for dispatch. +`Julia` can have many methods for a single generic function. (E.g., it can have many different implementations of addition when the `+` sign is encountered.) The *type*s of the arguments and the number of arguments are used for dispatch. Here the number of arguments is used: @@ -474,7 +474,7 @@ Many different computer languages implement `map`, broadcasting is less common. ## Plots -The following commands use the `Plots` package. The `Plots` package expects a choice of backend. We will use `gr` unless, but other can be substituted by calling an appropriate command, suchas `pyplot()` or `plotly()`. +The following commands use the `Plots` package. The `Plots` package expects a choice of backend. We will use `gr` unless, but other can be substituted by calling an appropriate command, such as `pyplot()` or `plotly()`. ```{julia} @@ -526,7 +526,7 @@ Arguments of interest include |:--------------:|:------------------------------------------------------:| | `legend` | A boolean, specify `false` to inhibit drawing a legend | | `aspect_ratio` | Use `:equal` to have x and y axis have same scale | -| `linewidth` | Ingters greater than 1 will thicken lines drawn | +| `linewidth` | Integers greater than 1 will thicken lines drawn | | `color` | A color may be specified by a symbol (leading `:`). | | | E.g., `:black`, `:red`, `:blue` | diff --git a/quarto/misc/unicode.qmd b/quarto/misc/unicode.qmd index 0638a4b..2b83445 100644 --- a/quarto/misc/unicode.qmd +++ b/quarto/misc/unicode.qmd @@ -3,7 +3,7 @@ {{< include ../_common_code.qmd >}} -`Julia` allows the use of *Unicode* symbols to replace variable names and for function calls. Unicode operations are entered in this pattern `\name[tab]`. That is a slash, `\`, the name (e.g., `alpha`), and then a press of the `tab` key. +`Julia` allows the use of *Unicode* symbols to replace variable names and for function calls. Unicode operations are entered in this pattern `\name[tab]`. That is a backslash, `\`, the name (e.g., `alpha`), and then a press of the `tab` key. In these notes, the following may appear as variable or function names