-
Notifications
You must be signed in to change notification settings - Fork 0
/
.header.tex
42 lines (38 loc) · 1.69 KB
/
.header.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
\documentclass[a4paper]{article} % base article class
\usepackage[utf8]{inputenc} % allow utf8 input
\usepackage{graphicx} % includegraphics
\usepackage{amsmath,amsthm} % fancier math
%
%\usepackage{newtxtext} % times new roman font
%\usepackage[bigdelims,cmintegrals,vvarbb]{newtxmath}
%
\usepackage[osf,sups]{Baskervaldx} % lining figures
\usepackage[bigdelims,cmintegrals,vvarbb,baskervaldx,frenchmath,upint]{newtxmath} % math font
%\usepackage[scale=.8]{inconsolata} % monospace font
\usepackage[T1]{fontenc}
\usepackage{cabin}
%\usepackage[zerostyle=d]{newtxtt}
%\renewcommand*\ffamilydefault{\ttdefault}
\usepackage[cal=boondoxo]{mathalfa} % mathcal from STIX, unslanted a bit
%
\usepackage{hyperref,url} % hyperlinks and urls
%\usepackage{fancyvrb} % fancier verbatim environment
\setlength{\parindent}{0pt} % no paragraph indentation
\setlength{\parskip}{7pt} % spacing between paragraphs
\setlength{\emergencystretch}{3em} % prevent overfull lines
\pdfimageresolution 200 % change the default for included png files
\pdfinfoomitdate=1\pdftrailerid{} % ensure reproducible PDF
\makeatletter\renewcommand{\verbatim@font}{\ttfamily\footnotesize}\makeatother
\newenvironment{gallery}{}{}
\newcommand{\galleryline}[1]{\includegraphics{#1}{\footnotesize\tt #1}\newline}
\theoremstyle{note}
\newtheorem{exercice}{Exercice}
\swapnumbers
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{proposition}[theorem]{Proposition}
\setcounter{section}{-1}
\begin{document}