Full style
authorThomas Pietrzak <thomas.pietrzak@gmail.com>
Wed, 23 Jan 2019 15:56:54 +0000 (16:56 +0100)
committerThomas Pietrzak <thomas.pietrzak@gmail.com>
Wed, 23 Jan 2019 15:56:54 +0000 (16:56 +0100)
hdrmain.tex
mystyle.sty [new file with mode: 0644]
tex/gestural.tex [new file with mode: 0644]
tex/haptics.tex [new file with mode: 0644]
tex/introduction.tex
tex/physical.tex [new file with mode: 0644]
tex/remerciements.tex
tex/something.tex [new file with mode: 0644]

index ce48d4e3bbedabab735b666b6f8671e895a42e15..eb9c48d123b6e7e725dc394207df570e74a7ff0c 100644 (file)
 \r
 \usepackage[utf8]{inputenc}\r
 \usepackage[T1]{fontenc}\r
-\usepackage{lmodern}\r
-%\usepackage[french]{babel}\r
-%\usepackage{icomma}\r
-\usepackage{multirow}\r
-\usepackage{array}\r
-\usepackage{palatino}\r
-%\usepackage{caption}\r
-\usepackage{graphicx}\r
-%\usepackage{pdfpages}\r
-% \usepackage[super]{cite}\r
-\r
-\usepackage{geometry}\r
-\geometry{ hmargin=2.5cm, vmargin=2.5cm }\r
 \r
 \usepackage{getcommit}\r
 \usepackage{xstring}\r
 \usepackage[ddmmyyyy,hhmmss]{datetime}\r
 \r
-% \usepackage{fancyhdr}\r
-% \pagestyle{fancy}\r
-% % \fancyhead{}\r
-% \fancyhead[RO,LE]{}%\thepage}\r
-% \fancyhead[LO]{}%\rightmark}\r
-% \fancyhead[RE]{}%\leftmark}\r
-% \fancyfoot[RO,LE]{}%\thepage}\r
-% \fancyfoot[CO,CE]{\thepage}\r
-% \fancyfoot{\thepage}\r
-% \renewcommand\headrulewidth{0.4pt}\r
-% \renewcommand\plainheadrulewidth{0pt}\r
-% \renewcommand\plainfootrulewidth{0pt}\r
+\usepackage{mystyle}\r
 \r
 \title{HDR}\r
 \author{\Large Thomas Pietrzak}\r
 \date{}\r
 \r
-% espaces de justification\r
-\tolerance=2000\r
-\sloppy\r
-%enlever les warnings\r
-\hbadness=10000\r
-\vbadness=10000\r
-% veuves et orphelins\r
-\clubpenalty=10000\r
-\widowpenalty=10000\r
-\r
-\usepackage{xcolor}\r
-\definecolor{chaptercolor}{rgb}{0.01,0.0,0.5}\r
-\definecolor{sectioncolor}{rgb}{0.01,0.0,0.5}\r
-\definecolor{subsectioncolor}{rgb}{0.01,0.0,0.5}\r
-\definecolor{subsubsectioncolor}{rgb}{0.01,0.0,0.5}\r
-\definecolor{gray75}{rgb}{0.75,0.75,0.75}\r
-\definecolor{linkcolor}{rgb}{0.01,0.2,0.7}\r
-\r
-% \usepackage{titlesec}\r
-\r
-% % \titleformat{⟨command⟩}[⟨shape⟩]{⟨format⟩}{⟨label⟩}{⟨sep⟩}{⟨before⟩}[⟨after⟩]\r
-% \titleformat{\chapter} {\color{chaptercolor}\titlerule\LARGE\sffamily\scshape} {\textbf{\thechapter}}{0em}{\hspace{2mm}\textcolor{gray75}{|}\hspace{2mm}}\r
-% \titleformat{name=\chapter,numberless} {\color{chaptercolor}\titlerule\LARGE\sffamily\scshape}{}{0em}{}\r
-\r
-% \titleformat{\section} {\color{sectioncolor}\Large\sffamily} {\textbf{\thesection}}{0em}{\hspace{2mm}\textcolor{gray75}{|}\hspace{2mm}}\r
-% \titleformat{name=\section,numberless} {\color{sectioncolor}\Large\sffamily} {}{0em}{}\r
-\r
-% \titleformat{\subsection} {\color{subsectioncolor}\large} {\textbf{\thesubsection}\hspace{2mm}}{0em}{}\r
-% \titleformat{name=\subsection,numberless} {\color{subsectioncolor}\large} {}{0em}{}\r
-\r
-% \titleformat{\subsubsection} {\color{subsubsectioncolor}\normalfont\it} {\textbf{\thesubsubsection}\hspace{2mm}}{0em}{}\r
-% \titleformat{name=\subsubsection,numberless} {\color{subsubsectioncolor}\normalfont\it} {}{0em}{}\r
-\r
-% \newcommand{\mychapter}[1]{\cleardoublepage\chapter*{#1}\addcontentsline{toc}{chapter}{#1}}\r
-% \newcommand{\mysection}[1]{\section*{#1}\addcontentsline{toc}{section}{#1}}\r
-% \newcommand{\mysubsection}[1]{\subsection*{#1}}\r
-\r
-%\usepackage{titletoc}\r
-\r
-%\titlecontents{chapter}[2em]{\vspace{12pt}}{\normalfont\normalsize \contentslabel{2em}}{\hspace*{-2em} \MakeUppercase}{}{}\r
-%\titlecontents{section}[2em]{\vspace{12pt}}{\normalfont\normalsize \contentslabel{2em}}{\hspace*{-2em} \MakeUppercase}{}{}\r
-%\titlecontents{subsection}[2em]{\vspace{12pt}}{\normalfont\normalsize \contentslabel{2em}}{\hspace*{-2em} \MakeUppercase}{}{}\r
-\r
-\usepackage{hyperref}\r
-\hypersetup{\r
-  colorlinks = true,\r
-  linkcolor=linkcolor,\r
-  anchorcolor=.,\r
-  citecolor=.,\r
-  filecolor=.,\r
-  menucolor=.,\r
-  runcolor=.,\r
-  urlcolor=linkcolor\r
-}\r
-\r
-\newcommand*{\refname}{Bibliography}\r
-\r
-\usepackage{makeidx}\r
-\makeindex\r
-\r
 \begin{document}\r
 \r
 \thispagestyle{empty}\r
+  \begin{titlepage}\r
+    \thispagestyle{empty}\r
+%     \vspace{1mm}\r
+    \hrule\r
+    \vspace{1mm}\r
+    %\raggedleft\r
+    Département Informatique\hfill École Doctorale SPI\r
+\r
+    %\raggedleft\r
+    Faculté de Sciences et Technologies\r
+\r
+    \begin{centering}\r
+\r
+      \vspace*{\stretch{2}}\r
+      {\LARGE\textsc{Habilitation à diriger des recherches}}\r
+\r
+      \vspace*{\stretch{1}}\r
+      présentée par\r
+\r
+      \vspace*{\stretch{1}}\r
+      {\LARGE \scshape Thomas Pietrzak}\r
+\r
+      \vspace*{\stretch{2}}\r
+      Discipline : Informatique\r
+\r
+      \vspace*{\stretch{1}}\r
+      Spécialité : Interaction Homme-Machine\r
+\r
+      \vspace*{\stretch{2}}\r
+      {\LARGE\bfseries Control, humans, machines, WTF?}\r
+\r
+      \vspace*{\stretch{2}}\r
+      XXX 2020\r
+\r
+      \vspace*{\stretch{2}}\r
+    \end{centering}\r
+\r
+    \noindent\begin{center}\r
+      \noindent\begin{tabular}{@{}l@{\hspace{2.5mm}}l@{\hspace{2.5mm}}l@{}}\r
+        \emph{Rapporteurs :} & XXX & Professeur à XXX\\\r
+        & XXX & Professeur à XXX\\\r
+        \\\r
+        \emph{Examinateurs :} & XXX & Professeur à XXX\\\r
+        & XXX & Professeur à XXX\\\r
+      \end{tabular}\r
+    \end{center}\r
+    \vspace*{\stretch{1}}\r
+    \hrule\r
+    \vspace{1mm}\r
+      \centering\r
+      Habilitation à diriger des recherches préparée au sein de l'équipe LOKI commune à\\l'Université de Lille, CRIStAL --- UMR CNRS 9189 et Inria Lille - Nord Europe\\\r
+    \vspace{1cm}\r
+      \includegraphics[width=3.5cm]{logo_univ_lille}\r
+      \hfill\r
+      \includegraphics[width=3.5cm]{logo_cristal}\r
+      \hfill\r
+      \includegraphics[width=3.5cm]{logo_inria}\\\r
+    \vspace{1cm}\r
+    Revision: \texttt{\StrLeft{\commit}{7}} on branch \texttt{\branch}\\\r
+    Compiled on \today\ at \currenttime\\\r
+  \end{titlepage}\r
+  \cleardoublepage\r
 \r
-\maketitle\r
-\r
-Revision: \texttt{\StrLeft{\commit}{7}} on branch \texttt{\branch}\\\r
-Compiled on \today\ at \currenttime\\\r
-\index{HDR}\r
+\frontmatter\r
 \r
 \tableofcontents\r
+  \cleardoublepage\r
 \r
 \listoffigures\r
+  \cleardoublepage\r
 \r
 \listoftables\r
-\r
-\frontmatter\r
+  \cleardoublepage\r
 \r
 \mainmatter\r
 \r
 \input{tex/introduction}\r
+  \cleardoublepage\r
 \r
 \input{tex/relatedwork}\r
+  \cleardoublepage\r
 \r
-\chapter{Physical interaction}\r
-\r
-\section{Métamorphe}\r
-\cite{bailly13}\r
-\r
-\section{LivingDesktop}\r
-\cite{bailly16}\r
-\r
-\section{Flexstylus}\r
-\cite{fellion17}\r
-\r
-\r
-\chapter{Gestural interaction}\r
-\r
-\section{Finger identification}\r
-\cite{goguey14,goguey14a,goguey17}\r
-\r
-\section{Summon\&Select}\r
-\cite{gupta17}\r
-\r
-\section{RayCursor}\r
-\cite{baloup18,baloup19}\r
-\r
-\r
-\chapter{Haptics}\r
-\r
-\section{Activibe}\r
-\cite{cauchard16}\r
-\r
-Previous: \cite{pietrzak05,pietrzak06,pietrzak09}\r
+\input{tex/physical}\r
+  \cleardoublepage\r
 \r
-\section{Direct Manipulation}\r
-\cite{gupta16}\r
+\input{tex/gestural}\r
+  \cleardoublepage\r
 \r
-\chapter{Something}\r
+\input{tex/haptics}\r
+  \cleardoublepage\r
 \r
-\section{Lagmeter}\r
-\cite{casiez17}\r
+\input{tex/something}\r
+  \cleardoublepage\r
 \r
 \input{tex/conclusion}\r
 \r
diff --git a/mystyle.sty b/mystyle.sty
new file mode 100644 (file)
index 0000000..4f07db9
--- /dev/null
@@ -0,0 +1,239 @@
+\usepackage{geometry}
+\geometry{ hmargin=2cm, vmargin=3cm }
+\linespread{1.2}
+
+\usepackage{multirow}
+\usepackage{array}
+\usepackage{lmodern}
+\usepackage{palatino}
+\usepackage{graphicx}
+\usepackage{epigraph}
+\setlength{\epigraphrule}{0pt}
+\setlength{\epigraphwidth}{.5\textwidth}
+
+%\usepackage[french]{babel}
+%\usepackage{icomma}
+%\usepackage{caption}
+%\usepackage{pdfpages}
+% \usepackage[super]{cite}
+
+\usepackage{xcolor}
+\definecolor{chaptercolor}{HTML}{992222}
+\definecolor{sectioncolor}{HTML}{992222}
+\definecolor{subsectioncolor}{HTML}{992222}
+\definecolor{subsubsectioncolor}{HTML}{992222}
+\definecolor{gray75}{rgb}{0.75,0.75,0.75}
+\definecolor{gray95}{rgb}{0.95,0.95,0.95}
+\definecolor{linkcolor}{HTML}{992222}
+
+\usepackage{titlesec}
+
+% \titleformat{⟨command⟩}[⟨shape⟩]{⟨format⟩}{⟨label⟩}{⟨sep⟩}{⟨before⟩}[⟨after⟩]
+\titleformat{\chapter}
+  {\Huge\sffamily\scshape}
+  {\color{chaptercolor}\fontsize{50pt}{50pt}\selectfont\textbf{\thechapter}}
+  {0em}
+  {\hfill}
+  [\color{gray95}{\titlerule[2mm]}]
+\titleformat{name=\chapter,numberless}
+  {\Huge\sffamily\scshape}
+  {}
+  {0em}
+  {\hfill}
+  [\color{gray95}{\titlerule[2mm]}]
+
+\titleformat{\section}
+  {\Large\sffamily}
+  {\color{sectioncolor}\textbf{\thesection}}
+  {0em}
+  {\hspace{2mm}}
+  [\color{gray75}{\titlerule[0.8pt]}]
+\titleformat{name=\section,numberless}
+  {\Large\sffamily}
+  {}
+  {0em}
+  {}
+  [\color{gray75}{\titlerule[0.8pt]}]
+
+\titleformat{\subsection}
+  {\large}
+  {\color{subsectioncolor}\textbf{\thesubsection}\hspace{2mm}}
+  {0em}
+  {}
+\titleformat{name=\subsection,numberless}
+  {\large}
+  {}
+  {0em}
+  {}
+
+\titleformat{\subsubsection} {\color{subsubsectioncolor}\normalfont\it} {\textbf{\thesubsubsection}\hspace{2mm}}{0em}{}
+\titleformat{name=\subsubsection,numberless} {\color{subsubsectioncolor}\normalfont\it} {}{0em}{}
+
+% espaces de justification
+\tolerance=2000
+\sloppy
+%enlever les warnings
+\hbadness=10000
+\vbadness=10000
+% veuves et orphelins
+\clubpenalty=10000
+\widowpenalty=10000
+
+\usepackage{hyperref}
+\hypersetup{
+  colorlinks = true,
+  linkcolor=linkcolor,
+  anchorcolor=.,
+  citecolor=.,
+  filecolor=.,
+  menucolor=.,
+  runcolor=.,
+  urlcolor=linkcolor
+}
+
+\newcommand*{\refname}{Bibliography}
+
+\graphicspath{{./figures/}}
+
+\renewenvironment{theindex}{%
+   \cleardoublepage%                               Start on a right-hand page
+   \if@twocolumn
+      \@restonecolfalse
+   \else
+      \@restonecoltrue
+   \fi
+   \columnseprule \z@
+   \columnsep 35\p@
+   \twocolumn[\refstepcounter{chapter}\phantom{\Large\bf\chaptername}%
+              \@makeschapterhead{\indexname}]%
+   \addcontentsline{toc}{chapter}{\indexname}%      Add to table-of-contents
+   \thispagestyle{plain}\parindent\z@
+   \parskip\z@ \@plus .3\p@\relax
+   \let\item\@idxitem
+}{%
+   \if@restonecol\onecolumn\else\clearpage\fi
+}
+
+\renewcommand{\listoffigures}{%
+   \if@twocolumn
+      \@restonecoltrue\onecolumn
+   \else
+      \@restonecolfalse
+   \fi
+   \chapter*{\listfigurename
+      \@mkboth{\listfigurename}{\listfigurename}}%  Headings not uppercased
+   \@starttoc{lof}%
+   \if@restonecol\twocolumn\fi
+}
+
+\renewcommand{\listoftables}{%
+   \if@twocolumn
+      \@restonecoltrue\onecolumn
+   \else
+      \@restonecolfalse
+   \fi
+   \chapter*{\listtablename
+      \@mkboth{\listtablename}{\listtablename}}%    Headings not uppercased
+   \@starttoc{lot}%
+   \if@restonecol\twocolumn\fi
+}
+\makeatother
+\def\figurename{{\protect\sc \protect\small\bfseries Figure }}
+\def\tablename{{\protect\sc \protect\small\bfseries Table }}
+
+\usepackage[dotinlabels]{titletoc}
+
+%style in TOC
+\makeatletter
+\titlecontents{chapter} [0pc]
+  {
+    \addvspace{1pc}\bfseries
+    \titlerule[1pt]\filright
+  }%avant
+  {
+    \hspace{6pc}\contentslabel
+      [\textsc{\chapterpre}\
+      \thecontentslabel]{6pc}%\hfill %centre ou pas ?
+  }%chapitres numérotés
+  {
+  }%chapitres non numérotés
+  {\hfill\contentspage} %numéro de page pour les titres de chapitre
+  [\addvspace{5pt}]%dessous
+\makeatother
+
+\setcounter{tocdepth}{3} % Dans la table des matieres
+\setcounter{secnumdepth}{3} % Avec un numero.
+
+
+
+\renewcommand{\thechapter}{\Roman{chapter}}
+% \renewcommand{\theappendix}{\Alph{appendix}}
+\renewcommand{\thesection}{\arabic{section}}
+\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
+\renewcommand{\thesubsubsection}{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}}
+\renewcommand{\thefigure}{\arabic{figure}}
+\usepackage{subfigure}
+\setcounter{lofdepth}{1}
+\renewcommand{\thetable}{\arabic{table}}
+
+% \usepackage{listings}
+% \renewcommand{\thelstlisting}{\arabic{lstlisting}}
+% \renewcommand{\lstlistingname}{{\bfseries Code source}}
+
+\newlength\savedwidth
+\newcommand{\wcline}[1]{\noalign{\global\savedwidth\arrayrulewidth 
+                                 \global\arrayrulewidth 2pt}%
+                                 \cline{#1} 
+                                 \noalign{\global\arrayrulewidth\savedwidth}}
+\newcolumntype{I}{!{\vrule width 2pt}}
+\newcolumntype{f}{>{\centering}m{0.5cm}}
+\newcolumntype{g}{@{\hspace{1mm}}>{\centering}m{7mm}@{\hspace{1mm}}}
+
+\newenvironment{Abstract}
+{\begin{center}\textbf{Abstract}%
+ \end{center} \small \it \begin{quote}}
+{\end{quote}}
+
+%
+%   Non-italized theorem-like environments:
+%
+
+\newtheorem{@definition}{Définition}[chapter]
+\newenvironment{definition}{\begin{@definition}\upshape}{\end{@definition}}
+\makeatletter
+\renewcommand{\the@definition}{\arabic{@definition}}
+\@addtoreset{@definition}{chapter}
+\makeatother
+
+\newcommand{\etal}{\emph{et al.}\xspace}
+
+\makeatletter
+\newcommand{\centrevertical}[1]{\raisebox{-\height + \ht\@arstrutbox}{#1}}
+\makeatother
+
+
+\usepackage{makeidx}
+\makeindex
+
+% \usepackage{fancyhdr}
+% \pagestyle{fancy}
+% % \fancyhead{}
+% \fancyhead[RO,LE]{}%\thepage}
+% \fancyhead[LO]{}%\rightmark}
+% \fancyhead[RE]{}%\leftmark}
+% \fancyfoot[RO,LE]{}%\thepage}
+% \fancyfoot[CO,CE]{\thepage}
+% \fancyfoot{\thepage}
+% \renewcommand\headrulewidth{0.4pt}
+% \renewcommand\plainheadrulewidth{0pt}
+% \renewcommand\plainfootrulewidth{0pt}
+
+% useful draft commands
+\newcommand{\noimage}{%
+  \setlength{\fboxsep}{-\fboxrule}%
+  \fbox{\phantom{\rule{150pt}{100pt}}}% Framed box
+}
+
+\newcommand{\loremipsum}{\textcolor{gray75}{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque scelerisque porta diam. Suspendisse vel metus sit amet dui mollis lacinia vel a urna. In pretium ante tristique urna accumsan, iaculis consectetur eros iaculis. Suspendisse sit amet mi libero. Maecenas odio arcu, dignissim id porta tristique, porttitor in orci. Proin ex nibh, efficitur quis gravida eget, fringilla in metus. Pellentesque velit tortor, luctus eget erat at, feugiat feugiat quam. Fusce a enim quam. Donec porta volutpat purus vel fringilla. Aenean et maximus lorem. Praesent feugiat semper consectetur. Integer magna est, semper et ullamcorper at, elementum sed erat. Cras tristique ullamcorper est, suscipit ornare metus convallis vel.}}
+
+\newcommand{\lorem}{\textcolor{gray75}{Lorem ipsum dolor sit amet, consectetur adipiscing elit.}}
diff --git a/tex/gestural.tex b/tex/gestural.tex
new file mode 100644 (file)
index 0000000..1caa9b2
--- /dev/null
@@ -0,0 +1,17 @@
+%!TEX root = ../hdrmain.tex
+
+\chapter{Gestural interaction}
+  \epigraph{\lorem}{Auteur}
+
+\begin{Abstract}
+\loremipsum
+\end{Abstract}
+
+\section{Finger identification}
+\cite{goguey14,goguey14a,goguey17}
+
+\section{Summon\&Select}
+\cite{gupta17}
+
+\section{RayCursor}
+\cite{baloup18,baloup19}
diff --git a/tex/haptics.tex b/tex/haptics.tex
new file mode 100644 (file)
index 0000000..2f7ec67
--- /dev/null
@@ -0,0 +1,16 @@
+%!TEX root = ../hdrmain.tex
+
+\chapter{Haptics}
+  \epigraph{\lorem}{Auteur}
+
+\begin{Abstract}
+\loremipsum
+\end{Abstract}
+
+\section{Activibe}
+\cite{cauchard16}
+
+Previous: \cite{pietrzak05,pietrzak06,pietrzak09}
+
+\section{Direct Manipulation}
+\cite{gupta16}
index 2c74d40f5adaf053e80008a9b2227fc84a33b6d5..6b6618103dde6eab9e8bd838fb186c128cefe8a8 100644 (file)
@@ -1,3 +1,5 @@
 %!TEX root = ../hdrmain.tex
 
-\chapter*{Introduction}
\ No newline at end of file
+\chapter*{Introduction}
+
+\cite{mbl00,mbl04,mbl00a}
\ No newline at end of file
diff --git a/tex/physical.tex b/tex/physical.tex
new file mode 100644 (file)
index 0000000..4b2a8cf
--- /dev/null
@@ -0,0 +1,17 @@
+%!TEX root = ../hdrmain.tex
+
+\chapter{Physical interaction}
+  \epigraph{\lorem}{Auteur}
+
+\begin{Abstract}
+\loremipsum
+\end{Abstract}
+
+\section{Métamorphe}
+\cite{bailly13}
+
+\section{LivingDesktop}
+\cite{bailly16}
+
+\section{Flexstylus}
+\cite{fellion17}
index 28090e91357ad66021606ec768b51df256bffab1..3fd8227f2e1af5c2625456167f6ce8390f71efd3 100644 (file)
@@ -1,3 +1,3 @@
 %!TEX root = ../hdrmain.tex
 
-\chapter{Remerciements}
\ No newline at end of file
+\chapter*{Remerciements}
\ No newline at end of file
diff --git a/tex/something.tex b/tex/something.tex
new file mode 100644 (file)
index 0000000..7181957
--- /dev/null
@@ -0,0 +1,11 @@
+%!TEX root = ../hdrmain.tex
+
+\chapter{Something}
+  \epigraph{\lorem}{Auteur}
+
+\begin{Abstract}
+\loremipsum
+\end{Abstract}
+
+\section{Lagmeter}
+\cite{casiez17}