-
Notifications
You must be signed in to change notification settings - Fork 0
/
uoc_bioinformatics.sty
77 lines (67 loc) · 1.66 KB
/
uoc_bioinformatics.sty
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
\ProvidesPackage{uoc_bioinformatics}
%So we can input files from the chapters folder
\makeatletter
\def\input@path{{./chapters/}}
\makeatother
\pdfminorversion=6
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage[hidelinks]{hyperref}
\usepackage{graphicx}
\graphicspath{{images/}}
\usepackage[labelfont=bf]{caption}
\usepackage{subcaption}
\captionsetup{justification=raggedright,singlelinecheck=false}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
\usepackage{titling}
\usepackage{indentfirst}
\usepackage{pdfpages}
\usepackage{csquotes}
\usepackage{emptypage}
\usepackage[USenglish]{babel}
\usepackage{enumitem}
\linespread{1.5}
\usepackage[indent]{parskip}
\raggedbottom
\usepackage{multirow}
%Title configuration
\usepackage[raggedright]{titlesec}
\titleformat{\chapter}[display]
{\Huge\bfseries}
{}
{0pt}
{\thechapter.\ }
\titleformat{name=\chapter,numberless}[display]
{\Huge\bfseries}
{}
{0pt}
{}
%Header configuration
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\fancyhead[RO, LE]{\slshape\nouppercase{\leftmark}}
\fancyfoot[RO, LE]{\slshape{\thepage}}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[RO, LE]{\slshape\nouppercase{\leftmark}}
\fancyfoot[RO, LE]{\slshape{\thepage}}
}
\setlength{\headheight}{15pt}
%Biblatex configuration
\usepackage[
backend=biber,
style=nejm,
sorting=none
]{biblatex}
\addbibresource{references.bib}
\AtEveryBibitem{
\clearfield{pubstate}
\clearfield{issue}
\clearfield{abstract}
}
\let\cite=\supercite
%Glossaries configuration
\usepackage[toc,acronym]{glossaries}