mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
33 lines
963 B
TeX
33 lines
963 B
TeX
% Document class
|
|
\documentclass[11pt,a4paper]{report}
|
|
|
|
% Packages
|
|
\usepackage[latin1]{inputenc}
|
|
\usepackage{amsmath}
|
|
\usepackage{amsfonts}
|
|
\usepackage{amssymb}
|
|
\usepackage{listings}
|
|
\usepackage{color}
|
|
\usepackage{times}
|
|
\usepackage{graphicx}
|
|
|
|
% Paragraph styles
|
|
\raggedright
|
|
\usepackage{parskip}
|
|
|
|
% Code listings
|
|
\lstset{frame=single,frameround=tttt,backgroundcolor=\color{code},%
|
|
language=C,basicstyle={\ttfamily\small},%
|
|
breaklines,breakindent=0pt,postbreak=\space\space\space\space}
|
|
|
|
% Colors
|
|
\definecolor{link}{rgb}{0.6,0.0,0.0}
|
|
\definecolor{code}{rgb}{0.9,0.9,1.0}
|
|
\definecolor{codeA}{rgb}{0.9,1.0,0.9}
|
|
\definecolor{codeB}{rgb}{1.0,0.9,0.9}
|
|
|
|
% PDF specific document properties
|
|
% hyperref (bookmarks, links etc) - use this package last
|
|
\usepackage[colorlinks=true,linkcolor=link,bookmarks=true,bookmarksopen=true,%
|
|
pdfhighlight=/N,bookmarksnumbered=true,bookmarksopenlevel=1,%
|
|
pdfview=FitH,pdfstartview=FitH]{hyperref}
|