Skip to content

Session #1 support material/info

Markdown

Geogeeks page about Markdown

SOLUTION TO #1


LaTeX

Geogeeks page about LaTeX

Intro slides (as presented during GEO1002)

Intro slides to LaTeX by tudelft3d

Exercises

  1. Register at https://overleaf.com with your @tudelft.nl email (for an account with more options, TUDelft pays for it)
  2. Start with the template below here and discover/try some features. Notice that this won't compile correctly because of the reference on line 26: the file myreferences.bib should be in the same folder
  3. copy the content of the second file to a file myreferences.bib and add it to the same folder
  4. check this demo template to know the best way to make complex things (tables, code, etc.)
  5. when all this works, try to replicate this PDF

SOLUTION

A better starting template for simple LaTeX

\documentclass[a4paper,11pt]{scrartcl}

\usepackage{graphicx}
\usepackage[utf8]{inputenc} %-- pour utiliser des accents en français
\usepackage{amsmath,amssymb,amsthm} 
\usepackage[round]{natbib}
\usepackage{url}
\usepackage{mathpazo}
\usepackage{booktabs}
\usepackage{hyperref}

\title{My great title}
\author{Jan Smit\\ \url{j.smit@tudelft.nl}}
\date{\today}

\begin{document}

\maketitle

\section{Introduction}

Lemongrass frosted gingerbread bites banana bread orange crumbled lentils sweet potato black bean burrito green pepper springtime. 
Strawberry ginger lemongrass agave green tea smoky maple tempeh glaze enchiladas couscous. 
Cranberry spritzer Malaysian cinnamon pineapple salsa apples spring cherry bomb bananas blueberry pops scotch bonnet pepper.

Bento box roasted peanuts pasta Sicilian~\citep{DeVries20}.

\bibliographystyle{abbrvnat}
\bibliography{references.bib}

\end{document}
@article{DeVries20,
  author = {De Vries, Piet},
  doi = {10.1016/j.scs.2022.104225},
  journal = {Sustainable Cities and Society},
  pages = {102222},
  title = {Understanding the relationship between urban morphology and other things},
  year = {2021}
}

Python venv

Geogeeks page about venv

  1. install pyenv
  2. create a new venv called "geogeeks"
  3. activate it (with the console or with PyCharm)
  4. install pyproj: pip install pyproj
  5. try to import it: import pyproj and you shouldn't get any errors

Today's slides

Today's slides are available there.