Skip to content

How to use

Ngo Quang Duong edited this page Jul 5, 2020 · 4 revisions

Assume that you have already installed things listed in Installation

This page will show you the basic usages of the template.

Follow the following steps

  1. Clone or downloads the template.

  2. Open the terminal (Linux/Mac) or PowerShell (Windows)

  3. Use cd command to move to the directory that contains the template.

  4. Build PDF

# Linux/Mac
make all
# or
make main.pdf.o

# Windows
.\make all
# or
.\make main.pdf.o

This should build PDF without any error. After this proccess, you can view the PDF in your PDF viewer (Acrobat Reader, Evince, Google Chrome, Foxit Reader...)

  1. Build and preview PDF

In the $HOME directory, create a .latexmkrc with the following content:

$pdf_update_method = 4;
$pdf_previewer = "google-chrome";
# you might replace google-chrome with acrobat-reader, evince, ...
# this is the name of the executable file of the PDF previewer

To know how to customize this .latexmkrc file, see Customize

After this, you and build and preview the output (if there is no compile time error):

# Linux/Mac
make main.pdf

# Windows
.\make main.pdf
Clone this wiki locally