Category: LaTeX

Minimal working example on how to use Listings in LaTeX

In case you want to show code snippets in your LaTeX document, you can use the “listings” package. The following is a (minimal) working example on how to use the listings package. [tex] \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % Step 1: Load package \usepackage{listings} % Step 2: Set required options % You can set them also inline

Continue reading

Minimal working example on how to use biblatex for LaTeX

Biblatex is a powerful tool for creating and managing references in LaTeX documents. The following (minimal) example shows how to use it. [tex] \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % Step 1: Load biblatex package \usepackage[backend=bibtex8,style=alphabetic]{biblatex} % Step 2: Define a file which contains my bibliography % (This can also be in a separate file!) \begin{filecontents}{\jobname.bib} @book{Tanenbaum2010, author

Continue reading