Summary and Schedule
This is a new lesson built with The Carpentries Workbench.
| Setup Instructions | Download files required for the lesson | |
| Duration: 00h 00m | 1. Introduction to the LaTeX Workflow |
What do I need to do to write and edit a LaTeX document? How can I render a LaTeX document? |
| Duration: 00h 12m | 2. Basic LaTeX Document Components |
What is the basic structure of a LaTeX document? How do I see what my LaTeX document looks like when it’s rendered? |
| Duration: 00h 32m | 3. Error Handling | What do I do when I get an error message? |
| Duration: 00h 47m | 4. The Structure of a Document | How are LaTeX documents structured? |
| Duration: 01h 12m | 5. Using Document Classes |
What is a LaTeX Document class? How does a document class affect the layout of a LaTeX document? |
| Duration: 01h 37m | 6. Extending LaTeX |
How can I extend LaTeX to suit my needs? How can I define my own commands in LaTeX? |
| Duration: 02h 02m | 7. Fonts, Formatting and Spacing |
How can we set paragraph spacing in LaTeX? How can we customize text formatting in LaTeX? How can we align text in LaTeX? |
| Duration: 02h 27m | 8. Using Graphics | How do I include images in a LaTeX document? |
| Duration: 03h 12m | 9. Tables |
How do I add tables to a LaTeX document? How can I format a table in a LaTeX document? |
| Duration: 03h 47m | 10. Adding Cross References |
How can I ensure that numbers in my document are automatically
updated? How can I refer to numbered elements in my document? |
| Duration: 04h 12m | 11. Mathematics | How do I add mathematical expressions to a LaTeX document? |
| Duration: 04h 37m | 12. Citations and References |
How do I add bibliographic references to my document? How do I format my references in LaTeX? How do I cite references in my document? |
| Duration: 05h 07m | 13. Context Sensitive Quotations |
How can I semantically markup quotes so they adapt to language and
style? What is the benefit of letting csquotes
integrate with biblatex for quoting?How do I switch between different quotation styles (e.g. English “…” vs. German „…“)? How can I automatically hyphenate and nest quotations correctly in another language? |
| Duration: 05h 42m | 14. Structuring Sources |
How can we make it easier to manage large LaTeX projects? How can we reuse parts of our LaTeX document in other documents? How can we structure our LaTeX project? |
| Duration: 06h 12m | 15. Loading and Manipulating Data |
Why would I want to load data into my LaTeX document? How can I incorporate data analysis into my LaTeX document? |
| Duration: 06h 24m | 16. Documentation and Finding Help |
Where can I find help for writing LaTeX documents? How do I find out what commands a package provides? |
| Duration: 06h 49m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
This workshop will be demonstrated using TeXStudio to write and render LaTeX documents. TeXStudio is a feature-rich, integrated LaTeX writing environment with syntax highlighting, an integrated PDF viewer, and inline error checking. It is available for Windows, macOS, and Linux.
Because TeXStudio is an editor, it needs a separate LaTeX distribution to compile documents. The distribution provides the compilers and various packages which we will use throughout this workshop.
Software Setup
You can find installation instructions for TeXStudio on the TeXStudio website (https://www.texstudio.org/). We include a brief overview of the installation process on this page for convenience, but we recommend that you refer to the official documentation for the most up-to-date instructions, and defer to the official documentation if you encounter any issues during installation.
Windows Installation
Windows users need to install two pieces of software: a LaTeX distribution and TeXStudio.
Step 1 — Install a LaTeX Distribution
A LaTeX distribution provides the compilers and packages needed to build your documents. Two popular options are TeX Live and MiKTeX. You are welcome to choose either distribution, but our demonstration will use TeX Live.
Step 2 — Install TeXStudio
Visit the TeXStudio website (!!! link to the TeXStudio download page)
to download the latest installer for Windows. For most machines,
download the 64-bit Windows installer (x86_64).

Run the downloaded .exe file. Click “Next” through the
prompts, then click “Install”. When the installation is complete, click
“Finish”.

macOS Installation
macOS users need to install two pieces of software: MacTeX (the LaTeX distribution) and TeXStudio.
Step 1 — Install MacTeX
Visit the MacTeX download page (!!! link to the MacTeX download page at tug.org/mactex) and download the “MacTeX.pkg” file.
Double-click the downloaded “MacTeX.pkg” file to start the installation process. Follow the prompts to complete the installation. The default installation options are recommended for most users.
Step 2 — Install TeXStudioa
Visit the TeXStudio download page (!!! link to the TeXStudio download page) and download the macOS version. Two builds are available: one for Intel Macs and one for Apple Silicon (M1/M2/M3) Macs. Download the version that matches your hardware.
Unzip the downloaded file and drag the TeXStudio application into your “Applications” folder.
Note: Because TeXStudio is distributed without an Apple Developer signature, macOS may display a warning that it cannot verify the developer. If this happens, do not double-click the icon. Instead, hold Control, click the TeXStudio icon, and select “Open” from the context menu. A dialog will appear asking you to confirm that you want to open the application; click “Open”.
Unix/Linux Installation
Linux users need to install two pieces of software: TeX Live (the LaTeX distribution) and TeXStudio.
Step 1 — Install TeX Live
Install TeX Live using your distribution’s package manager. The
texlive-full package is recommended for this workshop, as
it includes all of the packages used in the exercises.
Debian/Ubuntu:
Fedora/RHEL:
Note that the full TeX Live installation is large and the download may take some time.
Configure the Default Compiler
TeXStudio defaults to pdfLaTeX as its compiler. This workshop uses
LuaLaTeX, which supports modern font handling
(including the fontspec package) and is required for some
exercises. You should change the default compiler before you begin.
Open TeXStudio and go to Options > Configure TeXstudio… (on macOS: TeXstudio > Preferences…).

In the configuration dialog, select Build from the left-hand panel. Under Default Compiler, open the drop-down menu and select LuaLaTeX.

Click OK to save the change.
Verify Installation
Open TeXStudio. You should see the main editor window with an empty document area.
Create a new file by selecting “File” > “New” (or pressing
Ctrl+N) and paste the following code into the editor. This
document loads all of the packages used throughout the workshop, so
compiling it successfully confirms that your installation is
complete.
LATEX
\documentclass{article}
\usepackage{amsmath} % mathematics formatting
\usepackage{array} % extended table column types
\usepackage[ngerman,english]{babel} % multilingual support
\usepackage[style=authoryear]{biblatex} % bibliography management
\usepackage{booktabs} % professional table rules
\usepackage[autostyle]{csquotes} % context-sensitive quotation
\usepackage{enumitem} % customisable lists
\usepackage[margin=1in]{geometry} % page layout
\usepackage{graphicx} % including graphics
\usepackage{hyperref} % hyperlinks and cross-references
\usepackage{lipsum} % placeholder text
\usepackage{multirow} % multi-row table cells
\usepackage[parfill]{parskip} % paragraph spacing
\usepackage{siunitx} % scientific units
\usepackage{tgtermes} % TeX Gyre Termes font
\usepackage{wrapfig} % text-wrapped figures
\usepackage[table]{xcolor} % colour support
\begin{document}
Hello, \LaTeX!
\end{document}
Press F6 (or select “Tools” > “Build & View”) to compile the document. TeXStudio will run the LaTeX compiler and, if successful, display the resulting PDF in the panel to the right of the editor.
If you see the text “Hello, LaTeX!” in the PDF panel, your installation is working correctly.
Troubleshooting
If you encounter an error during compilation like
“texstudio_iubQaA.tex: error: 6: File
biblatex.sty' not found. \usepackage”, this indicates that
you are missing some of the required LaTeX packages and will need to
install them in your distribution. This will depend on the distribution
you chose earlier.
Backup Option: Overleaf
If you are unable to install software on your device (for example, because it is a managed or corporate machine), you can use Overleaf as a browser-based alternative. Overleaf is a free, online LaTeX editor — no installation is required, and it works in any modern web browser.
Using Overleaf Instead of a Local Installation
Please note that local installation of TeXStudio is strongly preferred for this workshop, as some exercises may rely on features or file access that are not available in the browser-based environment. Use Overleaf only if you cannot install software on your machine.


