LaTeX templates and examples — Source Code Listing
Recent

Assignment Template for CS330 - Introduction to Operating Systems

A German template for Computer Science exercises.

A Pygments lexer for the Magma computer algebra language.

Dit is een Nederlandstalige bijdrage vanwege Ludo Poelaert, UGent. In deze korte tekst wordt een inleiding tot de taal R gegeven. U mag de tekst vrij gebruiken onder het Creative Commons CC BY 4.0 . Succes ermee.

This is a template for a colourful cheatsheet. It supports some visualization features and code listings using tcolorbox / minted. Just input the language you want (and that is supported by minted) in the codebox environment Different colour themes will probably be added at some point. (maybe also a more print friendly black and white alternative) A blog post on cheatsheets and some of my thoughts on them and this template can be found here.

Document describing basic economic and statistical analysis and how to apply them to machine learning

Quick list of supported pygment lexers (programming languages) for the minted package.

This is an update on my old "Colourful Cheatsheet Template". It is based on the old one, so similar but not the same. It still supports all the old visualization features and code listings using tcolorbox / minted. Just input the language you want (and that is supported by minted) in the codebox environment. However, the style now is a bit less bright and mimicks the Metropolis beamer template in style (a bit). This is the blogpost to go with it: https://latex-ninja.com/2021/10/01/a-new-version-of-the-colourful-cheatsheet-template/

This is an example illustating how to typeset code in LaTeX, especially in beamer presentations. It uses the metropolis theme. It is a presentation with one slide per "technique" which include some explanatory comments. Examples shown are minted, lstlisting, verbatim, tcolorbox and knitR. The main document has the ending ".Rtex" which is required if you want it to be able to run knitR. Otherwise, you can just use normal ".tex". It is accompanied by a blog post with more information here. In this blog post, some complications which can arise when using code listings in beamer are discussed (package clashes, etc.), so this might be informative if you want to learn more.
\begin
Discover why over 20 million people worldwide trust Overleaf with their work.