Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[letterpaper]{article}
- \usepackage{amsmath,empheq} % Matematiikkapaketti + aaltosulku
- \usepackage[utf8]{inputenc} % UTF-8 merkistö
- \usepackage[T1]{fontenc} % Tuki ääkkösille
- \usepackage{parskip} % Rivinvaihto kappaleiden väliin, ei sisennystä
- \usepackage{graphicx} % Grafiikkapaketti kuvien lisäämiseen
- \usepackage{epstopdf} % Mahdollisuus lisätä *.eps tyyppisiä kuvia
- \usepackage{listings} %Koodilisä
- \usepackage{float}
- \usepackage{array,multirow}
- \usepackage{icomma}
- \usepackage{caption}
- \usepackage{hyperref}
- \usepackage{siunitx}
- \usepackage[utf8]{inputenc}
- \usepackage{textcomp}
- \usepackage{eurosym}
- \usepackage{mathtools} %support for witing under symbols
- \usepackage{graphics}
- \usepackage{graphicx}
- \DeclareRobustCommand{\officialeuro}{%
- \ifmmode\expandafter\text\fi
- {\fontencoding{U}\fontfamily{eurosym}\selectfont e}}
- \usepackage[top=1.2in, left=0.9in, bottom=1.2in, right=0.9in]{geometry} % sets the margins
- \usepackage{amsmath,amsthm,amssymb,esint}
- \usepackage{url} % fixes url problem
- \usepackage{csquotes}% Recommended
- \usepackage[doublespacing]{setspace} % turns on double spacing
- \usepackage{wrapfig} %givoja guvia :D
- \usepackage{lipsum} % generates filler text
- \usepackage{tikz}
- \usepackage{color}
- \definecolor{mygreen}{RGB}{28,172,0} % color values Red, Green, Blue
- \definecolor{mylilas}{RGB}{170,55,241}
- \usetikzlibrary{matrix, positioning}
- \usepackage{listings} %Koodinlisäys
- \usepackage{longtable}
- \newcommand{\texta}{Positiivinen\\[-1ex]}
- \newcommand{\textb}{Negatiivinen\\[-1ex]}
- \newcommand{\textcn}{Sisäiset asiat\\[-1ex]}
- \newcommand{\textdn}{Ulkoiset asiat\\[-1ex]}
- \usepackage{fancyvrb} % Underline in verbatim
- % Lisää Matlab-koodia kivasti
- \lstset{language=Matlab,%
- %basicstyle=\color{red},
- breaklines=true,%
- morekeywords={matlab2tikz},
- extendedchars=true,
- keywordstyle=\color{blue},%
- morekeywords=[2]{1}, keywordstyle=[2]{\color{black}},
- identifierstyle=\color{black},%
- stringstyle=\color{mylilas},
- commentstyle=\color{mygreen},%
- showstringspaces=false,%without this there will be a symbol in the places where there is a space
- numbers=left,%
- numberstyle={\tiny \color{black}},% size of the numbers
- numbersep=9pt, % this defines how far the numbers are from the text
- emph=[1]{for,end,break},emphstyle=[1]\color{red}, %some words to emphasise
- %emph=[2]{word1,word2}, emphstyle=[2]{style},
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement