-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstallation.tex
63 lines (56 loc) · 2.75 KB
/
installation.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
\chapter{Installation}
\label{installation}
When you install \LaTeX{} on your computer, it comes packaged as a
\introduce{distribution} that contains:
\begin{enumerate}
\item \LaTeX, the program---the thing that turns markup into
typeset documents.\punckern\footnote{Well, actually, multiple \LaTeX{} programs,
but we're getting to that.}
\item A common set of \LaTeX{} \introduce{packages}.
Packages are bundles of code that do all sorts of things,
like provide new commands or change a document's style.
We'll see lots of them in action throughout this book.
\item Editors and other helpful tools.
\end{enumerate}
Each major operating system has its own \LaTeX{} distribution:
\begin{description}
\item[Mac OS] has Mac\TeX. Grab it from \http{www.tug.org/mactex}
and install it using the instructions there.
\item[Windows] has Mik\TeX.
Install it from \https{miktex.org/download}.
Mik\TeX{} has the helpful ability to automatically download
additional packages as your documents use them for the first time.
\item[Linux and BSD] use \TeX{} Live.
Like most software, it is provided through your
\acronym{os}'s package manager.
Linux distributions usually offer a \texttt{texlive-\allowbreak full}
or \texttt{texlive-\allowbreak most} package that installs everything
you need.\punckern\footnote{%
If you would prefer a smaller install,
Linux distributions usually break \TeX{} Live into multiple packages.
Look for ones with names like
\texttt{texlive-\allowbreak core}, \texttt{texlive-\allowbreak luatex}
and \texttt{texlive-\allowbreak xetex}.
As you use \LaTeX{} more, you may need less-common packages,
which usually have names like \texttt{texlive-\allowbreak latexextra},
\texttt{texlive-\allowbreak science}, and so on.
Of course, all of this may vary from one Linux distribution to another.}
\end{description}
\section{Editors}
Since \LaTeX{} source files are regular text files,
you write them with the usual choices: Vim, Emacs,
VS~Code, and so on.\punckern\footnote{If you've never used
any of these, try a few.
They're popular with programmers and other folks who shuffle text around
screens all day. Just don't use Notepad. Life is too short.}
There are also editors designed specifically for \LaTeX{},
which often come with a built-in \acronym{pdf} viewer.
(You can find a good list on the \LaTeX{} Wikibook,
in its installation chapter. See Appendix~\ref{resources}.)
\section{Online options}
If you don't want to install \LaTeX{} on your computer,
try online editors like Share\LaTeX{} or Overleaf.
This book doesn't focus on these web-based tools,
but the same basics apply.
Of course, you have less control over certain aspects,
like available fonts, the version of \LaTeX{} used, and so on.