Offline

Base Installation

Using LaTeX\LaTeX offline is a little bit troublesome when it comes to installation, but here is the guide to install.

The installation of LaTeX\LaTeX contains 2 major steps: the LaTeX\LaTeX distribution and an editor.

Regarding editor, you can choose TeXmaker (or any editor of your choice!). One major advantage of TeXmaker is cross-compability (it can work on both Linux/Windows).

The LaTeX\LaTeX distribution is a program containing binaries that can compile your LaTeX\LaTeXdocuments, downloading libraries from the Internet (which can empower your documents).

For new users, you should read thisarrow-up-right post to deeply understand how LaTeX\LaTeXworks under the hood.

I would always choose MikTeX as the distribution since it's easy-to-use and well-maintained.

You can download MikTeX from this linkarrow-up-right. After installing, you should double-check if TeX is added to path by running tlmgr in your terminal.

After that, you can check for packages update by running tlmgr update --all.

After that, you can start working with your LaTeX\LaTeXdocuments.

Package Installation

The default LaTeX\LaTeX core is not always bundled with every packages. As a result, you need to know how to install other packages when needed. Let's take the package esvect as an example (this package allow the use of vector arrow).

I will use the GUI version of TeX Live Manager since it's user-friendly.

This is the GUI of the TeX Live Shell.

The first action you need to do is to refresh the repository, so that it will fetch the latest version of every packages as well as add the new one. (it's like apt-get update in Linux). You can do this by File -> Load Repository.

After that, I can search the package I need right below.

At this point, just tick on the circle on the left of the name, then press Install marked. Wait a bit and the package is ready to be imported in your LaTeX\LaTeX document.

Last updated