Remove thesis.cls
This commit is contained in:
74
main.tex
74
main.tex
@@ -1,20 +1,19 @@
|
||||
%% Template
|
||||
\documentclass{thesis}
|
||||
\geometry{inner=35mm, outer=20mm, top=30mm, bottom=25mm}
|
||||
|
||||
|
||||
%% Typography
|
||||
% babel, csquotes, fontenc, microtype, lmodern, textcomp are already loaded by the class
|
||||
\usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative "quote" [varqu] and "l" [varl])
|
||||
%\usepackage{newtx} % Use Libertinus font for text and math
|
||||
\usepackage{newtxmath}
|
||||
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
|
||||
\usepackage{mathtools} % More math symbols
|
||||
% Template
|
||||
\pdfminorversion=7 % Fix include image warnings
|
||||
\documentclass[twoside, a4paper, 11pt]{book}
|
||||
\usepackage[inner=35mm, outer=20mm, top=30mm, bottom=25mm]{geometry}
|
||||
|
||||
\usepackage{setspace}
|
||||
\linespread{1.15} % Set line spacing to 1.15
|
||||
|
||||
% Typography
|
||||
\usepackage[T1]{fontenc} % Use T1 font encoding
|
||||
\usepackage[english]{babel} % Typographical rules
|
||||
\usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative "quote" [varqu] and "l" [varl])
|
||||
\usepackage[libertinus, type1]{newtx} % Use Libertinus font for text and math
|
||||
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
|
||||
|
||||
%% Bibliography
|
||||
% Bibliography
|
||||
\usepackage[
|
||||
backend=biber,
|
||||
style=authoryear,
|
||||
@@ -42,53 +41,64 @@
|
||||
}
|
||||
|
||||
|
||||
%% Content
|
||||
\usepackage{bookmark} % Manage bookmarks
|
||||
% Changes
|
||||
\usepackage[draft, defaultcolor=Blue, xcolor=dvipsnames]{changes} % Track changes
|
||||
\definechangesauthor[color=RawSienna]{CP}
|
||||
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
||||
|
||||
% Images
|
||||
\usepackage{graphicx}
|
||||
\usepackage{caption} % Point references to the figure not the caption
|
||||
|
||||
\usepackage[draft, defaultcolor=Blue, xcolor=dvipsnames]{changes} % Track changes
|
||||
% Includes
|
||||
\usepackage{import} % Allow relative paths
|
||||
\usepackage{pdfpages} % Include PDFs
|
||||
|
||||
% Lists
|
||||
\usepackage[inline]{enumitem} % Customise lists
|
||||
\setitemize{noitemsep} % No space between items in itemize
|
||||
|
||||
\usepackage{etoc} % Local table of contents
|
||||
% Math
|
||||
\usepackage{mathtools} % More math symbols
|
||||
\usepackage{textcomp} % For special symbols
|
||||
|
||||
\hypersetup{ % Hyperlinks
|
||||
% References
|
||||
\usepackage{bookmark} % Manage bookmarks
|
||||
\usepackage{etoc} % Local table of contents
|
||||
\usepackage{hyperref} % Hyperlinks
|
||||
\hypersetup{
|
||||
bookmarksnumbered = true, % Include section numbers in bookmarks
|
||||
bookmarksopen = true, % Auto-open bookmarks
|
||||
pdfauthor = {Erwan NORMAND},
|
||||
pdftitle = {Wearable Haptics and Augmented Reality},
|
||||
pdfsubject = {Ph.D. Thesis of Erwan NORMAND},
|
||||
pdfkeywords = {}
|
||||
pdfkeywords = {},
|
||||
}
|
||||
|
||||
\usepackage{import} % Allow relative paths
|
||||
|
||||
\usepackage{pdfpages} % Include PDFs
|
||||
% Tables
|
||||
\usepackage{booktabs} % Better tables
|
||||
\usepackage{makecell} % For multi-line cells in tables
|
||||
\usepackage{multirow} % Multi-row cells in tables
|
||||
\usepackage{tabularx} % For tables with fixed width
|
||||
|
||||
% Units
|
||||
\usepackage{siunitx} % For numbers with units
|
||||
\sisetup{
|
||||
retain-explicit-plus=true, % Keep + in numbers
|
||||
uncertainty-mode=separate % Separate uncertainty with +- instead of ()
|
||||
}
|
||||
|
||||
% Others
|
||||
\usepackage[autostyle]{csquotes} % For quotes
|
||||
\usepackage{emptypage} % Remove headers and footers on empty pages
|
||||
\usepackage[dvipsnames]{xcolor} % More colors
|
||||
|
||||
%% Tables
|
||||
\usepackage{booktabs} % Better tables
|
||||
\usepackage{makecell} % For multi-line cells in tables
|
||||
\usepackage{multirow} % Multi-row cells in tables
|
||||
\usepackage{tabularx} % For tables with fixed width
|
||||
|
||||
|
||||
%% Custom commands
|
||||
% Custom commands
|
||||
\input{utils/commands}
|
||||
\definechangesauthor[color=RawSienna]{CP}
|
||||
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
||||
|
||||
\newcommand{\importchapter}[2]{% Load a chapter (#2) in a path (#1)
|
||||
\clearemptydoublepage% after a clear double page
|
||||
\cleardoublepage% after a clear double page
|
||||
\graphicspath{{#1/figures/}}% with figures
|
||||
\includefrom{#1}{#2}% and relative paths \input in the chapter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user