-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle.tex
67 lines (58 loc) · 2.89 KB
/
article.tex
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LaTeX article template
% by Mohammed Le Doze
% https://github.com/mledoze/latex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% package documentation: http://www.ctan.org/pkg/<package-name>
\documentclass[12pt,a4paper]{scrartcl} % KOMA-Script article package, 12pt, A4 paper
\usepackage[utf8]{inputenc} % UTF-8 input encoding
\usepackage[english,francais]{babel} % Multilingual support for LaTeX; francais is used first
\usepackage{lmodern} % Use latin modern fonts
\usepackage[T1]{fontenc} % Use Type 1 encoding
%%%%%%%
% Fonts
%%%%%%%
%\usepackage[sc]{mathpazo} % palatino font
\usepackage[bitstream-charter]{mathdesign} % bitstream charter font
\usepackage{microtype} % provides micro-typographic enhancements
\usepackage[parfill]{parskip} % new line between paragraphs
\usepackage{graphicx} % enhanced support for graphics.
\graphicspath{{./img/}} % path for graphics or images
\usepackage{hyperref} % extensive support for hypertext; use \url{my_url} or \href{my_url}{description}
\usepackage{numprint} % print numbers with separators (1 000 or 1,000); use \numprint{}
\usepackage{fullpage} % set all page margins to 1.5cm
\usepackage{color} % colour control for LaTeX documents
\usepackage{xcolor} % driver-independent color extensions for latex and pdflatex
\usepackage{listings} % source code listings
\usepackage{caption} % customising captions in floating environments
\usepackage{tabularx} % tabulars with adjustable-width columns
%\usepackage[firstpage]{draftwatermark} % put a grey textual watermark on document pages; \SetWatermarkText{text} to change watermark text
%%%%%%%%%%%%%%%%%%%
% PDF configuration
%%%%%%%%%%%%%%%%%%%
\hypersetup {
pdftitle={}, % title
pdfauthor={}, % author
pdfcreator={}, % creator of the document
pdfproducer={latex}, % producer of the document
pdfkeywords={key1} {key2} {key3}, % list of keywords
colorlinks=true, % false: boxed links; true: colored links
linkcolor=black, % color of internal links
citecolor=black, % color of links to bibliography
filecolor=black, % color of file links
urlcolor=black % color of external links
}
\setcounter{tocdepth}{2} % table of contents depth
%%%%%%%%%%%%%%%%%%%%%%%%
% Listings configuration
%%%%%%%%%%%%%%%%%%%%%%%%
%\lstset{tabsize=2,basicstyle=\scriptsize}
%\DeclareCaptionFont{white}{\color{white}}
%\DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}}
%\captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
% Listing usage:
% in the document to insert a code listing:
% \lstinputlisting[label=<label>,caption=<caption>,language=<language>]{<source-file>}
\begin{document}
% to change language use \selectlanguage{english}
\end{document}