-
Notifications
You must be signed in to change notification settings - Fork 0
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
-
Clone or downloads the template.
-
Open the terminal (Linux/Mac) or PowerShell (Windows)
-
Use
cd
command to move to the directory that contains the template. -
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...)
- 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