Procházet zdrojové kódy

Lägg till lite missade filer för rapporten

Jonatan Gezelius před 6 roky
rodič
revize
3a7cbc4e19
2 změnil soubory, kde provedl 28 přidání a 2 odebrání
  1. 1 0
      rapport/setup/mynotation.sty
  2. 27 2
      rapport/setup/mythesis.sty

+ 1 - 0
rapport/setup/mynotation.sty

@@ -3,6 +3,7 @@
 \let\textabbr\textsc
 \newcommand{\abbrPID}{\texorpdfstring{\textabbr{pid}}{PID}\xspace}
 \newcommand{\abbrARMA}{\texorpdfstring{\textabbr{arma}}{ARMA}\xspace}
+\newcommand{\abbrDUT}{\texorpdfstring{\textabbr{dut}}{DUT}\xspace}
 
 % Common sets
 \newcommand{\reals}{\mathbb{R}}

+ 27 - 2
rapport/setup/mythesis.sty

@@ -17,6 +17,27 @@
   dedication={}
 }
 
+%%% Makes DOI numbers to links
+\usepackage{doi}
+
+
+%%& Make bold mathmode available 
+\usepackage{bm}
+
+%%% Make it possible to change size of tables
+\usepackage{adjustbox}
+
+%%% Use SI units
+\usepackage{siunitx}
+%%% For consistent formatting of lengths and other physical quantities.
+%\RequirePackage[squaren]{SIunits}
+
+%%% If it is still a draft
+\usepackage[printwatermark]{xwatermark}
+\usepackage[]{xcolor}
+%\newwatermark[allpages,color=red!50,angle=45,scale=2,xpos=0,ypos=-80]{DRAFT}
+%\newwatermark[allpages,color=red!50,angle=45,scale=2,xpos=0,ypos=80]{DRAFT}
+
 %%% Since macros that define notation may be useful also to produce figures, these macros are kept in a separate file.
 \RequirePackage{mynotation}
 
@@ -31,12 +52,13 @@
 \setlength{\parindent}{0em}
 \setlength{\parskip}{1em}
 
+%% Enable use of svg
+\usepackage{svg}
+
 %%% Tell \includegraphics where to search for files.
 \graphicspath{{fig/}}
 
 
-%%% For consistent formatting of lengths and other physical quantities.
-\RequirePackage[squaren]{SIunits}
 
 
 %%% Define command for playing around with margin paragraphs.
@@ -52,6 +74,9 @@
         {\emph{\uppercase{TODO}}\Warning[TODO]{#1}}%
 }
 
+%%% Put text inside a square %%%
+\newcommand{\squareit}[1]{\fbox{\parbox{\textwidth}{#1}}}
+
 %%% Define font size command to use for all verbatim environments.
 \newcommand{\verbatimsize}{\small}