Skip to content

Using and Compiling LaTeX

Joseph Kearney edited this page Nov 5, 2019 · 1 revision

Getting Started

This technical paper is written using LaTeX a document generation system. The pdf file is accessible from catalyst-technical-whitepaper.pdf so if not editing the document it can be read there. The pdf should be up to date however to ensure this, open the catalyst-technical-whitepaper.tex and run in any LaTeX editor. catalyst-technical-whitepaper.tex contains all the source code for generating the document while catalyst-technical-whitepaper.bib contains the bibliographic information.

Simple Commands

All new sections of the paper are created using \section and subsections using \subsection. New lines are denoted using \\. General text is converted as written however special symbols require commands, the full list can be found here http://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf. New packages are added using \usepackage{}One line comment is % and multiline comment \usepackage{verbatim} must be added to the preamble then \begin{comment} to open comment and \end{comment} to finish. More information can be found about writing in latex here https://en.wikibooks.org/wiki/LaTeX/Basics.

Prerequisites

For running and editing LaTeX files you can use TexWorks - https://sourceforge.net/projects/texworks.mirror/ for MacOS, Windows and Linux. Other editors are available.

Texworks does not contain a spell checker built in. To install:

  • Take both en_GD files from Dictionary folder in repository
  • In Texworks click help dropdown, followed by settings and resources
  • Click hyperlink to take you to relevant folder. If there is no 'dictionaries' folder create the folder
  • Add both en_GB files to 'dictionaries' folder
  • In Texworks select Edit dropdown then preferences, under Editor tab Spell-check language should be set to English - UnitedKingdom (en_GB)

Compiling the tex file

Generate a new Pdf file after editing a tex file, modifying a figure, or adding a reference in the bib file.

Using Texworks, either run (twice) in pdfLatex mode on the main tex file catalyst-technical-paper.tex. If modifying the bibliography file, first run (twice) in Biber mode.

Clone this wiki locally