Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 2.12 KB

setup.md

File metadata and controls

71 lines (53 loc) · 2.12 KB
layout title permalink root
page
Setup
/setup/
..

Obtain lesson materials

  1. Download [zipfile1][test].
  2. Create a folder called LaTeX-Intro on your Desktop.
  3. Move the downloaded .zip file into the newly created LaTeX-Intro folder.
  4. Unzip the files.

You should now see the new folder called buildingblocks in your LaTeX-Intro directory on your Desktop.

 

Navigate to the buildingblocks folder

If you're using a Unix shell application, such as Terminal app in macOS, Console or Terminal in Linux, or Git Bash on Windows, execute the following command:

cd ~/Desktop/LaTeX-Intro/buildingblocks

{: .source}

On Windows, you can use its native Command Prompt program. The easiest way to start it up is by pressing Windows Logo Key+R, entering cmd, and hitting Enter. In the Command Prompt, use the following command to navigate to the buildingblocks folder:

cd /D %userprofile%\Desktop\LaTeX-Intro\buildingblocks

{: .source}

 

Option 1: Start Overleaf Project

Overleaf is an online service which allows for collaborative LaTeX document creation and editing. It is free to use for individuals. On the website, register an account and/or log in.

Start a new document by clicking on New Project and choose Blank Project. Enter a title like LaTeX-Intro.

You can edit the document directly on the source page which comes up. It will compile as you go along.

 

Option 2: Launch Plain Vanilla Text editor

To start working with LaTeX, we need to launch a program that will allow us to edit our LaTeX commands. This will likely be the default text editor on your system. In a unix terminal, we will use the simple nano editor.

$ nano

{: .source}

To interpret the code we have written, we will need to execute code in the terminal. We do this with the pdflatex command.

$ pdflatex %ourTeXfile%

{: .source}

[zipfile1]: {{ page.root }}/buildingblocks/LaTeX_Guided_Course-buildingblocks.zip.zip