aboutsummaryrefslogtreecommitdiffstats
path: root/preamble/preamble.tex
blob: 8f63c4e152ea17be26d351ca2dd1454f5c0ebffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
\documentclass[a4paper, 11pt]{article}
\usepackage{a4wide}
\usepackage[british, english, swedish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{fancyhdr}
\usepackage[usenames, dvipsnames]{color}
\usepackage{helvet}
\usepackage{multicol}
\usepackage{url}
\usepackage{color}
\usepackage{sectsty, soul, enumerate}
\usepackage{calc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{hyphenat}

% Colours 
\definecolor{gray70}{gray}{.3}
\definecolor{gray50}{gray}{.5}
\definecolor{gray20}{gray}{.8}
\definecolor{gray05}{gray}{.95}
\definecolor{gray00}{gray}{1.0}

\definecolor{blueG}{RGB}{0,76,103}
\definecolor{greyG}{RGB}{172,160,149}
\definecolor{orangeG}{RGB}{255,160,35}

\definecolor{grayFri}{gray}{.3}

% Section
\allsectionsfont{\sffamily\mdseries\color{grayFri}\centering}
\setlength\parindent{0pt}
\setlength\parskip{0pt}
\newcommand \mypar {\vspace{\baselineskip}\par}
\newcommand \myhalfpar {\vspace{.5\baselineskip}\par}

% Font macros etc. 
\newcommand \state {\centering\sffamily\color{gray50}}
\newcommand {\textnum} [1] {\textos{#1}}
\renewcommand \textnum [1] {#1}
\newcommand \textemail [1] {\texttt{\small #1}}
\newcommand \texturl [1] {\texttt{\small #1}}
\newcommand \textpath [1] {\texturl{#1}}
\newcommand \texthost [1] {\textit{#1}}

% Macros, enheter
\newcommand \sek {\,\textsc{sek}}
\newcommand \kr {\,\textrm{kr}}
\newcommand \tb {\,\textsc{tb}}

% Macros, förkortningar
\input{../preamble/acronyms}

% Eumerate
\newcommand \enumiform {\quad\sffamily\small\color{grayFri}}
\newcommand \textenumerate [1] {{\quad\sffamily\small\color{grayFri} #1}}
\renewcommand{\labelitemi}{\textenumerate{$\bullet$}}
\renewcommand{\labelitemii}{\textenumerate{$\circ$}}
\renewcommand{\labelenumi}{\textenumerate{\arabic{enumi}\,\,}}
\renewcommand{\labelenumii}{\textenumerate{(\alph{enumii})}}

% Time estimations in meeting agendas
\newcommand \itemtime [2] {\hfill {\small\sffamily\mdseries\color{grayFri} #1 \quad #2} \hspace{2cm}\mbox{}}

% Signature line
\newcommand{\signatureline}[1]{
  \noindent
%  \fbox{
    \parbox{6.5cm}{
      \mbox{}\vspace{1.5cm}\\
      \rule{\linewidth}{0.4pt}\\
      #1
    }
%  }
}

% Headers
\setlength {\headheight} {30pt}

\renewcommand{\headrule}{{%
    \hrule width\headwidth height\headrulewidth \vskip-\headrulewidth}}

\renewcommand{\footrule}{{%
    \vskip-\footruleskip\vskip-\footrulewidth
    \hrule width\headwidth height\headrulewidth\vskip\footruleskip}}

\pagestyle{fancy}
\lhead{\footnotesize \textsc{\textsf{Fripost}} föreningen för fri e-post}
\chead{\footnotesize}
\rhead{\footnotesize Förslag till dagordning -- årsmöte}
\lfoot{\footnotesize \url{fripost.org}}
\cfoot{\footnotesize \thepage}
\rfoot{\footnotesize utskr.\ \today}


% Deltagare
\input{../preamble/attendants}