Skip to content

Commit

Permalink
format cli in markdown with sh
Browse files Browse the repository at this point in the history
  • Loading branch information
markwang0 committed Jul 4, 2023
1 parent d4f991a commit 73d37b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _posts/2022-07-17-latex.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ In order to use LaTeX-Workshop you must first have a local installation of TeX L

**Note:** the last command downloads over 7 GB onto your computer. Using the `--scheme=small` flag results in a smaller installation but does not have all of the features required by LaTeX-Workshop out of the box.

```console
```sh
$ cd /tmp # or wherever you prefer
$ wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
$ tar xzvf install-tl-unx.tar.gz # uncompress the tarball
Expand Down Expand Up @@ -89,7 +89,7 @@ in a browser; you may need to specify a mirror explicitly.

Which I resolved with this command:

```console
```sh
$ sudo tlmgr update --all --reinstall-forcibly-removed option repository http://mirror.ctan.org/systems/texlive/tlnet
```

Expand Down Expand Up @@ -121,7 +121,7 @@ At this point, you can compile your documents in VS Code. In the next section I

LaTeX-Workshop with TeX Live worked for me right out of the box. All the packages I needed were included, including some that seem niche like `fontawesome5`. If there is a package that you don't have locally, install it from the Comprehensive TeX Archive Network ([CTAN](https://www.ctan.org/search)). You can use the command line tool `tlmgr` included with TeX Live:

```console
```sh
$ sudo tlmgr install <package1> <package2> ...
$ sudo tlmgr remove <package1> <package2> ...
```
Expand Down

0 comments on commit 73d37b2

Please sign in to comment.