From 3ef969914fb2e9e4a2b786f15377fb998d39fd2c Mon Sep 17 00:00:00 2001
From: Jakob Stendahl <jakobste@uio.no>
Date: Sun, 5 Jul 2020 15:23:07 +0200
Subject: :sparkles: Added som tex files, and updated som install methods

---
 Common/tex/latex/misc/StdOblig.cls | 73 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
 create mode 100644 Common/tex/latex/misc/StdOblig.cls

(limited to 'Common/tex/latex/misc/StdOblig.cls')

diff --git a/Common/tex/latex/misc/StdOblig.cls b/Common/tex/latex/misc/StdOblig.cls
new file mode 100644
index 0000000..a9c8f3d
--- /dev/null
+++ b/Common/tex/latex/misc/StdOblig.cls
@@ -0,0 +1,73 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{StdOblig}[Standar Oblig Class]
+
+\LoadClass[norsk,11pt,a4paper]{article}
+\RequirePackage[T1]{fontenc}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage[norsk]{babel}
+
+\usepackage{lastpage}
+\usepackage{fancyhdr}
+\pagestyle{fancy} 
+
+\usepackage{hyperref}
+\usepackage[all]{hypcap}
+
+\usepackage[normalem]{ulem}
+
+\RequirePackage{xcolor}
+\RequirePackage{soul}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage{graphicx}
+\usepackage{float}
+\usepackage{multicol}
+\usepackage{colortbl}
+\usepackage{xcolor}
+\usepackage{svg}
+\usepackage{tabularx}
+
+\usepackage{attachfile}
+\usepackage{pdfpages}
+\usepackage{booktabs}
+\usepackage{tikz}
+\usepackage[small,euler-digits]{eulervm}
+\usepackage{braket}
+
+\usepackage{graphicx}
+\usepackage{caption}
+\usepackage{subcaption}
+
+\newcommand{\headlinecolor}{\normalcolor}
+
+% Page X of Y
+\cfoot{\thepage\ of \pageref{LastPage}}
+
+% Simple indent for subitems
+\newcommand{\SubItem}[1]{
+    {\setlength\itemindent{15pt} \item[-] #1}
+}
+
+% Make quotes around some text
+\newcommand{\quotes}[1]{"#1"}
+\newcommand{\q}[1]{"#1"}
+
+% Hyber-linkable sections
+\newcommand{\hsec}[2]{{\pagebreak\section{#1}\label{sec:#2}}}
+\newcommand*{\refsec}[1]{\hyperref[{sec:#1}]{\ref*{sec:#1} \nameref*{sec:#1}}}
+% Hyber-linkable sub_sections
+\newcommand{\hsubsec}[2]{{\subsection{#1}\label{sssec:#2}}}
+\newcommand*{\refsubsec}[1]{{\ref{sssec:#1}}}
+
+% Make a tuple-command
+\newcommand{\tuple}[1]{\langle #1 \rangle}
+
+% Highlightcommand 
+\DeclareRobustCommand{\hl}[1]{{\colorbox{yellow}{#1}}}
+\DeclareRobustCommand{\hlc}[2]{{\colorbox{#1}{#2}}}
+
+% Make new thing for draftonly
+\newif\ifdraft
+\draftfalse
+
-- 
cgit v1.2.3

