forked from abcminiuser/avr-tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommonDirectives.tex
More file actions
22 lines (19 loc) · 882 Bytes
/
Copy pathCommonDirectives.tex
File metadata and controls
22 lines (19 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\usepackage{listings}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{hyperref}
\usepackage{color}
\usepackage{xcolor}
\usepackage{textcomp}
\usepackage{titlesec}
\usepackage{float}
\usepackage[left=3cm, right=3cm, top=3cm, bottom=3cm]{geometry}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\lstset{language=c,breaklines=true,tabsize=3,showspaces=false,showstringspaces=false,basicstyle=\scriptsize\ttfamily,float=tbpH,frame=single,keywordstyle=\color{blue},commentstyle=\color{dkgreen}}
\hypersetup{colorlinks=true,urlcolor=blue,linkcolor=black}
\setlength{\parskip}{2ex}
\setlength{\parindent}{0pt}
\titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing*{\chapter}{0pt}{0pt}{30pt}
\newcommand{\superscript}[1]{\ensuremath{^{\textrm{#1}}}}
\newcommand{\subscript}[1]{\ensuremath{_{\textrm{#1}}}}