---
# System prepended metadata

title: LaTeX Installation & Settings
tags: [PD 112-1]

---

# PD 112-1 LaTeX Font Issue Solver for Mac Users
## Prerequisites
HomeBrew installed. If not, please see [HERE](https://docs.brew.sh/Installation).
## Installation
Please run the following command in your terminal.
```
brew install --cask mactex 

or 

brew install --cask mactex-no-gui // recommended
```
After the installation (which might take some time...), close the terminal and reopen it.

## Font
Change the font from `新細明體` to `PMingLiU` in the .tex file.
Remember to [download and Install PMingLiU](https://github.com/ntu-student-congress/tortue/blob/master/fonts/PMingLiU.ttf) on your device.

note: please download the font from the above link, which is the only one I found on the Internet with the same period and comma symbol as rrro's.

## Compilation
Compile the latex file using the following command.
```
xelatex [filename].tex [option]
```
Remember to replace `PMingLiU` with `新細明體` before sending your mail to the instructor!