Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1.  
  2. \documentclass[letterpaper]{article}
  3.  
  4. \usepackage{amsmath,empheq} % Matematiikkapaketti + aaltosulku
  5. \usepackage[utf8]{inputenc} % UTF-8 merkistö
  6. \usepackage[T1]{fontenc} % Tuki ääkkösille
  7. \usepackage{parskip} % Rivinvaihto kappaleiden väliin, ei sisennystä
  8. \usepackage{graphicx} % Grafiikkapaketti kuvien lisäämiseen
  9. \usepackage{epstopdf} % Mahdollisuus lisätä *.eps tyyppisiä kuvia
  10. \usepackage{listings} %Koodilisä
  11. \usepackage{float}
  12. \usepackage{array,multirow}
  13. \usepackage{icomma}
  14. \usepackage{caption}
  15. \usepackage{hyperref}
  16. \usepackage{siunitx}
  17. \usepackage[utf8]{inputenc}
  18. \usepackage{textcomp}
  19. \usepackage{eurosym}
  20. \usepackage{mathtools} %support for witing under symbols
  21. \usepackage{graphics}
  22. \usepackage{graphicx}
  23. \DeclareRobustCommand{\officialeuro}{%
  24. \ifmmode\expandafter\text\fi
  25. {\fontencoding{U}\fontfamily{eurosym}\selectfont e}}
  26. \usepackage[top=1.2in, left=0.9in, bottom=1.2in, right=0.9in]{geometry} % sets the margins
  27. \usepackage{amsmath,amsthm,amssymb,esint}
  28. \usepackage{url} % fixes url problem
  29. \usepackage{csquotes}% Recommended
  30. \usepackage[doublespacing]{setspace} % turns on double spacing
  31. \usepackage{wrapfig} %givoja guvia :D
  32. \usepackage{lipsum} % generates filler text
  33. \usepackage{tikz}
  34. \usepackage{color}
  35. \definecolor{mygreen}{RGB}{28,172,0} % color values Red, Green, Blue
  36. \definecolor{mylilas}{RGB}{170,55,241}
  37. \usetikzlibrary{matrix, positioning}
  38. \usepackage{listings} %Koodinlisäys
  39. \usepackage{longtable}
  40. \newcommand{\texta}{Positiivinen\\[-1ex]}
  41. \newcommand{\textb}{Negatiivinen\\[-1ex]}
  42. \newcommand{\textcn}{Sisäiset asiat\\[-1ex]}
  43. \newcommand{\textdn}{Ulkoiset asiat\\[-1ex]}
  44.  
  45. \usepackage{fancyvrb} % Underline in verbatim
  46.  
  47. % Lisää Matlab-koodia kivasti
  48. \lstset{language=Matlab,%
  49. %basicstyle=\color{red},
  50. breaklines=true,%
  51. morekeywords={matlab2tikz},
  52. extendedchars=true,
  53. keywordstyle=\color{blue},%
  54. morekeywords=[2]{1}, keywordstyle=[2]{\color{black}},
  55. identifierstyle=\color{black},%
  56. stringstyle=\color{mylilas},
  57. commentstyle=\color{mygreen},%
  58. showstringspaces=false,%without this there will be a symbol in the places where there is a space
  59. numbers=left,%
  60. numberstyle={\tiny \color{black}},% size of the numbers
  61. numbersep=9pt, % this defines how far the numbers are from the text
  62. emph=[1]{for,end,break},emphstyle=[1]\color{red}, %some words to emphasise
  63. %emph=[2]{word1,word2}, emphstyle=[2]{style},
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement