Update: Download latex-related.bib if you want a bibliography file to play around with
Getting LaTeX to Work
Online Editors
You may want to consider using an online editor, which saves the hassle of maintaining and installing your own packages. One possible platform is Overleaf, which allows collaborative editing.
- Sign up for an account (there are free and paid plans available) on Overleaf.
- In your project dashboard, click on the Upload button just next to the "New Project" button, and choose "Upload zip".
- If you have already downloaded sample.zip from this page, you may now upload it to Overleaf.
- Alternatively, you may also choose "Link (URL)" from the sidebar, and copy this link into it:
http://liantze.penguinattack.org/NTU-LaTeX/sample.zip
.
- After the project is created and finishes compiling, preview the result PDF.
For Windows
- Download and install MikTeX. (Current version is 2.9.)
- Go to Windows Start -> MikTeX 2.9 > Maintenance (Admin) -> Package Manager (Admin).
- Then click on Repository -> Change Package Repository.
- Select "Packages shall be installed from the Internet". Click Next.
- Select a suitable server e.g. the Singaporean (NUS) server.
- Click Finish.
- Make sure that in Windows Start -> MikTeX 2.9 > Maintenance (Admin) -> Settings (Admin), "On-the-fly installation" is set to "Yes" or "Ask me first".
- Download sample.zip. Unzip it.
- Now start TeXworks by going to Windows Start -> MikTeX 2.9 > TeXworks. (You may use any other editor of your preference.)
- Open the downloaded sample.tex files in TeXworks. Click the Compile button (or just use Ctrl-T). Preview the result PDF.
For Mac OS X
If your Internet bandwidth is really fast
- Download and install MacTeX (2.4GB!!).
- Download and install the TeX Live Utility.
- Start the TeX Live Utility. Go to Configure > Manage repositories.
- Select the Singaporean server, and click "Use As Home".
- Download sample.zip`. Unzip it.
- Now start TeXworks. (You may use any other editor of your preference.)
- Open the downloaded sample.zip files in TeXworks. Click the Compile button (or just use Cmd-T). Preview the result PDF.
If you have limited bandwidth
- Download and install BasicTeX.
- Download and install TeXworks (or any other LaTeX editor of your choice).
- Download and install the TeX Live Utility.
- Start the TeX Live Utility. Go to Configure > Manage repositories.
- Select the Singaporean server, and click "Use As Home".
- Download sample.zip. Unzip it.
- Now start TeXworks. (You may use any other editor of your preference.)
- Open the downloaded sample.tex file in TeXworks. Click the Compile button (or just use Cmd-T). Preview the result PDF.
For GNU/Linux systems
- If you have the bandwidth and hard disk space, feel free to use your distro's package manager to install
texlive
. - If you don't want the entire thing (~2.4GB) yet, install
texlive
packages that containbase
andrecommended
in their names. - Download sample.zip. Unzip it.
- Now start TeXworks. (You may use any other editor of your preference.)
- Open the downloaded sample.zip files in TeXworks. Click the Compile button (or just use Ctrl-T). Preview the result PDF.