This repository has been archived on 2026-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
Ravenous-LaTeX/Misc/Setup.tex

55 lines
2.3 KiB
TeX

\usepackage[utf8]{inputenc} % "Resolves" input encoding
\usepackage[T1]{fontenc} % "Resolves" font encoding
\usepackage{geometry} % Base geometry package
% \usepackage{mathtools} % Tools for mathmode manipulations
\usepackage{graphicx} % Base graphic package
\usepackage{wrapfig} % Wrap figures in text
\usepackage{parskip} % Change paragraph spacing
\usepackage{hyphenat} % Hyphenation
\usepackage{transparent} % Have transparent graphics (as in alpha)
\usepackage{forloop} % For loop for macros
\usepackage[french]{babel} % Grammar rules
\usepackage[explicit,compact]{titlesec} % Title and sections
\usepackage{amssymb} % Symbol library
\usepackage{xfrac} % Have 1/2 fractions on single characters
\usepackage{pdflscape} % PDF in landscape
\usepackage{longtable} % Table that span multiple pages
\usepackage{tabularx} % Have auto resizable tables
\usepackage{epstopdf} % Auto resize graphics
\usepackage{multicol} % Have multiple columns per page
\usepackage[table]{xcolor} % Color package
\usepackage[most]{tcolorbox} % Table with color/colorboxes
\usepackage[normalem]{ulem} % Replaces \cancel with \sout
\usepackage{tabularray} % Greatest tables so far
\usepackage{tkz-graph} % Great tkz graphs !
% How our graphics behave
\epstopdfDeclareGraphicsRule{.pdf}{png}{.png}{convert #1 \OutputFile}
\DeclareGraphicsExtensions{.png,.pdf}
% How our glossaries behave
\usepackage[nopostdot, style=super, nonumberlist, toc]{glossaries}
\setglossarystyle{altlistgroup}
% How to have pictures in paragraphs
\usepackage{picinpar}
% How our images behave
\graphicspath{ {./Images/} }
% Configure the document and margins
\titleformat{\chapter}[hang] {\bfseries\huge}{\filright\huge\thechapter.}{1ex}{\huge\filright #1}
\titlespacing{\chapter}{0pt}{-10pt}{*2}
\newcounter{ct}
\geometry{
a4paper,
left=25mm,
top=20mm,
right=20mm,
bottom=25mm,
}
% All glossaries and definition
\input{Misc/Definitions.tex}
% All macros
\input{Misc/Shortcuts.tex}