• Stars
    star
    205
  • Rank 191,264 (Top 4 %)
  • Language
    TeX
  • License
    Other
  • Created about 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An interactive introduction to LaTeX using Overleaf.

latex-course

Slides for an introductory course on LaTeX. The slides and their LaTeX source code are provided in this github repository under a permissive MIT license.

The aim is to get students writing in LaTeX as quickly as possible. The material is presented as a set of examples, and broader concepts and techniques are explained as they arise. Each part includes exercises that can be completed on Overleaf, the free online LaTeX editor, so you don't have to worry about getting LaTeX and related tools installed on everyone's computers.

These slides were originally used to deliver two two-hour workshops, but there is probably enough material for three workshops, so there are three parts:

  1. The Basics: ideas, syntax, equations, environments, packages

  2. Structed Documents & More: titles, sections, cross-references, figures, tables, bibliographies.

  3. Not Just Papers: Presentations & More: recap exercise, presentations with beamer, drawings with tikz.

Feel free to use however you like --- contributions welcome!

Translations

Translations in this repo:

  • fr French (thanks to Yannis Haralambous)

Translations available outside of this repository:

If you translate these slides, please feel free to open a pull request to either add a link or add your files in a subfolder --- whichever you prefer.

Development

You may need to install some extra LaTeX packages and system packages in order to build the slides yourself.

  1. The minted package provides syntax highlighting. It is installed by default in recent versions of TeX Live.

  2. The minted package calls out to the pygments syntax highlighter, which is written in python. The relevant package is python-pygments in Debian / Ubuntu (sudo apt-get install python-pygments).

  3. There is a simple Makefile that manages the build. To use it, you'll probably need to be on Linux, and you will need make.

The slides include links to exercises that open in Overleaf. The exercise source files are hosted on github. If you want to use exercise files in another location, you can fork this github repository and then change the \fileuri macro in preamble.tex:

\newcommand{\fileuri}{https://raw.github.com/jdleesmiller/latex-course/master/en}

so that instead of pointing to jdleesmiller/latex-course, it points to your-github-user-name/latex-course. Then, once you've pushed your changed exercise files to github, the slides will load them up in Overleaf.

The deploy-to-gh-pages.sh script builds the slides using the Makefile and copies the slides over to the gh-pages branch, which is available at http://jdlm.info/latex-course thanks to github pages.

License

The slides and source are released under the MIT license. See the LICENSE file.

Credits

  • Emily G -- clarify summation bound in exercise 2
  • Diana A -- found that exercise links had broken
  • Sana A -- pointed out an error in part 1
  • Andy Roberts -- an earlier version of this course used an image from one of his articles
  • Ruby Trinh -- for organising the original short courses

More Repositories

1

docker-chat-demo

Companion repo for my "Lessons from Building a Node App in Docker" article.
HTML
324
star
2

jotgit

Git-backed real time collaborative editor built with meteor.
CoffeeScript
208
star
3

twenty48

Research code for solvers and models of the game of 2048
C++
53
star
4

metime

Time tracker used in my 'How a Technical Co-founder Spends his Time' blog post.
CoffeeScript
53
star
5

wedding

A simple rails app for distributing wedding information and managing the guest list.
Ruby
32
star
6

ds-docker-demo

Introduction to Docker for Digital Science Tech Forum
HTML
21
star
7

discrete_event

Event-based discrete event simulation in Ruby
Ruby
15
star
8

gratr

Import of GRATR (GRAph Theory in Ruby) (version 0.5.1; svn rev 38; 20080616) with some minor fixes for ruby 1.9.
Ruby
15
star
9

todo-demo

Companion repo for my "Testing with Node and Docker Compose" articles.
JavaScript
8
star
10

finite_mdp

Solve finite Markov Decision Process models.
Ruby
8
star
11

gemma

Generate helpful rake tasks from your gemspec.
Ruby
5
star
12

omniauth-figshare

An OmniAuth Strategy for the figshare API. You can use it to authenticate users against the figshare API in your ruby on rails / sinatra / other rack-based web application.
Ruby
5
star
13

rucas

(The beginnings of) a Computer Algebra System for Ruby
Ruby
4
star
14

relax4_ruby

The RELAX IV code for Minimum Cost Network Flow Problems.
C
4
star
15

cross_entropy

Ruby library for solving optimisation problems with the Cross Entropy Method.
Ruby
3
star
16

push_safety

Avoid accidentally pushing a private gem to rubygems.org (reduce paranoia).
Ruby
3
star
17

traffic_game

A game based on Martin Treiber's applet from www.traffic-simulation.de
Java
3
star
18

carnd-cloning

Train a driverless car to drive around a simulated race track using end-to-end deep learning — from camera images to steering commands. This is the code for my 'Zero to Driverless Race Car with Deep Learning' blog post and talk.
Python
3
star
19

track_jd

Java
2
star
20

syscalls_ruby

Constants for syscall numbers.
Ruby
2
star
21

jdleesmiller.github.io

My very basic website.
HTML
2
star
22

si_taxi

Simple taxi / personal rapid transit (PRT) model.
C++
1
star
23

event_state

Helper for implementing stateful protocols for EventMachine.
Ruby
1
star
24

block_supervisor

Run a block with control over syscalls, resources and file handles.
Ruby
1
star
25

compare_compressors

Evaluate different compression tools and their settings by running them on a sample of data.
Ruby
1
star