
Any suggestions would be appreciated, we know there is not a lot of info to go on so perhaps suggestions as to how it was done in the first place would work as well

Preamble:
Code: Select all
\documentclass[reqno,a4paper,english,11pt,twoside]{memoir}
\usepackage[latin1]{inputenc}
\usepackage[danish]{babel}
\usepackage[T1]{fontenc}
\settypeblocksize{*}{14cm}{1.618} % stoerelsen af tekstblokken
\setlrmargins{3cm}** % horisontal placering af tekstblokken
\setulmargins{3cm}** % vertikal placering
\linespread{1.11}
\addtolength\marginparsep{1em}
\setlength\marginparwidth{2cm}
\usepackage{lipsum}
\checkandfixthelayout[nearest]
%\usepackage[sort & compress,numbers]{natbib}
\usepackage{fix-cm}
\usepackage{inputenc}% \ifpdf
% \usepackage[all,line]{xy}
% \else
% % this is not pdf-mode so we can use the dvips option
% \usepackage[all,line,dvips]{xy}
% \fi
% \xyoption{tips}
% \SelectTips{cm}{12}\UseTips
%\usepackage[ansinew]{inputenc} % maa skrive ae, oe og aa paa en Windows maskine
%\usepackage{babel}
%\renewcommand\danishhyphenmins{22} % fejl i babel
\usepackage{sistyle}
\SIstyleToLang{danish}{German}
\SIstyleToLang{english}{USA}
\usepackage[]{graphicx}
\usepackage{pdfpages}
\usepackage{booktabs,dcolumn} %Til tabeller
%\usepackage[T1]{fontenc} % ae, oe og aa er nu 'rigtige' bogstaver og
% der kan oeddeles efter dem
%\setcounter{secnumdepth}{3}
% memoir aekvivalent
\setsecnumdepth{subsubsection}
\maxsecnumdepth{subsubsection}
\captionnamefont{\bfseries\small}
\captiontitlefont{\small}
%\chapterstyle{section}
\usepackage[colorlinks]{hyperref}
\usepackage{xcolor,lipsum}
\definecolor{gray}{gray}{0.5}
\makechapterstyle{kim}{
\renewcommand\printchaptername{}
\renewcommand\chapnumfont{\fontfamily{pbk}\fontseries{m}\fontshape{n}%
\fontsize{1.2in}{0in}\selectfont\bfseries\color{blue}}
\renewcommand\printchapternum{\raggedleft{\chapnumfont\thechapter}}
\renewcommand\chaptitlefont{\HUGE}
\setlength\midchapskip{0pt}
\renewcommand\printchapternonum{\raggedleft{\chapnumfont\phantom{1}}}
}
\chapterstyle{kim}
%\chapterstyle{madsen}
\usepackage[]{fixme}
%\usepackage[notref]{showkeys}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
% giver nummer + side angivelse ved referencer, \vref
\usepackage[english]{varioref}
%\usepackage{floatflt}
\usepackage{rotating} % Sideways of figures & tables
\usepackage{lscape}
\usepackage{tipa}
\usepackage{cite}
\usepackage{varioref}
\usepackage{url}
\nouppercaseheads
\makeatletter
\makepsmarks{headings}{%
%%% \let\@mkboth\markboth
\def\chaptermark##1{%
\markright{\memUChead{%
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\thechapter. \ %
\fi
\fi
##1}}}%
\def\sectionmark##1{%
\markright{\memUChead{%
\ifnum \c@secnumdepth >\z@
\if@mainmatter
\thesection. \ %
\fi
\fi
##1}}}
\def\tocmark{\markright{\memUChead{\contentsname}}}%
\def\lofmark{\markright{\memUChead{\listfigurename}}}%
\def\lotmark{\markright{\memUChead{\listtablename}}}%
\def\bibmark{\markright{\memUChead{\bibname}}}%
\def\indexmark{\markright{\memUChead{\indexname}}}%
}
\makeatother
\makeheadrule{headings}{\textwidth}{\normalrulethickness}
\pagestyle{headings}
\newcommand{\gammabar}{\ensuremath\gamma\kern-0.83em-}
\newcommand{\M}{\text{M}}
\newcommand{\N}{\text{N}}
\newcommand{\h}{\text{H}}
\newcommand\mc[1]{\multicolumn{1}{c}{#1}}
\renewcommand\cftchaptername{\chaptername~}
\renewcommand\cftappendixname{\appendixname~}
\renewcommand\appendixpagename {Appendiks}
\renewcommand\appendixtocname {Appendiks}
\addto\captionsdanish{
\renewcommand\appendixname {Appendiks}
}
%scale
\usepackage{scalefnt}
\usepackage{rotating}
%Pakkertil flowchart
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,shadows,positioning}
\usepackage{color,calc,graphicx,soul,fourier}
%\definecolor{nicered}{rgb}{.647,.129,.149}
\makeatletter
\newlength\dlf@normtxtw
\setlength\dlf@normtxtw{\textwidth}
\def\myhelvetfont{\def\sfdefault{mdput}}
\newsavebox{\feline@chapter}
\newcommand\feline@chapter@marker[1][4cm]{%
\sbox\feline@chapter{%
\resizebox{!}{#1}{\fboxsep=1pt%
\colorbox{nicered}{\color{white}\bfseries\sffamily\thechapter}%
}}%
\rotatebox{90}{%
\resizebox{%
\heightof{\usebox{\feline@chapter}}+\depthof{\usebox{\feline@chapter}}}%
{!}{\scshape\so\@chapapp}}\quad%
\raisebox{\depthof{\usebox{\feline@chapter}}}{\usebox{\feline@chapter}}%
}
\newcommand\feline@chm[1][4cm]{%
\sbox\feline@chapter{\feline@chapter@marker[#1]}%
\makebox[0pt][l]{% aka \rlap
\makebox[1cm][r]{\usebox\feline@chapter}%
}}
\makechapterstyle{daleif1}{
\renewcommand\chapnamefont{\normalfont\Large\scshape\raggedleft\so}
\renewcommand\chaptitlefont{\normalfont\huge\bfseries\scshape\color{nicered}}
\renewcommand\chapternamenum{}
\renewcommand\printchaptername{}
\renewcommand\printchapternum{\null\hfill\feline@chm[2.5cm]\par}
\renewcommand\afterchapternum{\par\vskip\midchapskip}
\renewcommand\printchaptertitle[1]{\chaptitlefont\raggedleft ##1\par}
}
\makeatother
%\chapterstyle{daleif1}
\graphicspath{{pics/}}
\usepackage{epstopdf}
\setlength{\parindent}{0pt}%intet indryk efter ligninger og floats