Categories
Latex

Hello World Latex

Download and extract the tar file from https://www.tug.org/texlive/acquire-netinstall.html

Change directory to the installed location in the teminal and run perl install-tl

Add the installation to path

export TEX_LIVE_PATH=”/usr/local/texlive/2020/bin/x86_64-linux”
export PATH=”$PATH:$TEX_LIVE_PATH”

now create a file hello.tex with the following content

\documentclass{article}

\begin{document}
    Hello World!
\end{document}

Run pdflatex hello.tex to obtain the pdf output of the latex doc. It will be created in the name hello.pdf