From: Thomas Pietrzak Date: Wed, 23 Jan 2019 15:56:54 +0000 (+0100) Subject: Full style X-Git-Tag: first-full-draft~241 X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=c25dc7290c888e3e3996c7977bcffb33af9297b6;p=hdr.git Full style --- diff --git a/hdrmain.tex b/hdrmain.tex index ce48d4e..eb9c48d 100644 --- a/hdrmain.tex +++ b/hdrmain.tex @@ -2,163 +2,113 @@ \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} -\usepackage{lmodern} -%\usepackage[french]{babel} -%\usepackage{icomma} -\usepackage{multirow} -\usepackage{array} -\usepackage{palatino} -%\usepackage{caption} -\usepackage{graphicx} -%\usepackage{pdfpages} -% \usepackage[super]{cite} - -\usepackage{geometry} -\geometry{ hmargin=2.5cm, vmargin=2.5cm } \usepackage{getcommit} \usepackage{xstring} \usepackage[ddmmyyyy,hhmmss]{datetime} -% \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} +\usepackage{mystyle} \title{HDR} \author{\Large Thomas Pietrzak} \date{} -% espaces de justification -\tolerance=2000 -\sloppy -%enlever les warnings -\hbadness=10000 -\vbadness=10000 -% veuves et orphelins -\clubpenalty=10000 -\widowpenalty=10000 - -\usepackage{xcolor} -\definecolor{chaptercolor}{rgb}{0.01,0.0,0.5} -\definecolor{sectioncolor}{rgb}{0.01,0.0,0.5} -\definecolor{subsectioncolor}{rgb}{0.01,0.0,0.5} -\definecolor{subsubsectioncolor}{rgb}{0.01,0.0,0.5} -\definecolor{gray75}{rgb}{0.75,0.75,0.75} -\definecolor{linkcolor}{rgb}{0.01,0.2,0.7} - -% \usepackage{titlesec} - -% % \titleformat{⟨command⟩}[⟨shape⟩]{⟨format⟩}{⟨label⟩}{⟨sep⟩}{⟨before⟩}[⟨after⟩] -% \titleformat{\chapter} {\color{chaptercolor}\titlerule\LARGE\sffamily\scshape} {\textbf{\thechapter}}{0em}{\hspace{2mm}\textcolor{gray75}{|}\hspace{2mm}} -% \titleformat{name=\chapter,numberless} {\color{chaptercolor}\titlerule\LARGE\sffamily\scshape}{}{0em}{} - -% \titleformat{\section} {\color{sectioncolor}\Large\sffamily} {\textbf{\thesection}}{0em}{\hspace{2mm}\textcolor{gray75}{|}\hspace{2mm}} -% \titleformat{name=\section,numberless} {\color{sectioncolor}\Large\sffamily} {}{0em}{} - -% \titleformat{\subsection} {\color{subsectioncolor}\large} {\textbf{\thesubsection}\hspace{2mm}}{0em}{} -% \titleformat{name=\subsection,numberless} {\color{subsectioncolor}\large} {}{0em}{} - -% \titleformat{\subsubsection} {\color{subsubsectioncolor}\normalfont\it} {\textbf{\thesubsubsection}\hspace{2mm}}{0em}{} -% \titleformat{name=\subsubsection,numberless} {\color{subsubsectioncolor}\normalfont\it} {}{0em}{} - -% \newcommand{\mychapter}[1]{\cleardoublepage\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} -% \newcommand{\mysection}[1]{\section*{#1}\addcontentsline{toc}{section}{#1}} -% \newcommand{\mysubsection}[1]{\subsection*{#1}} - -%\usepackage{titletoc} - -%\titlecontents{chapter}[2em]{\vspace{12pt}}{\normalfont\normalsize \contentslabel{2em}}{\hspace*{-2em} \MakeUppercase}{}{} -%\titlecontents{section}[2em]{\vspace{12pt}}{\normalfont\normalsize \contentslabel{2em}}{\hspace*{-2em} \MakeUppercase}{}{} -%\titlecontents{subsection}[2em]{\vspace{12pt}}{\normalfont\normalsize \contentslabel{2em}}{\hspace*{-2em} \MakeUppercase}{}{} - -\usepackage{hyperref} -\hypersetup{ - colorlinks = true, - linkcolor=linkcolor, - anchorcolor=., - citecolor=., - filecolor=., - menucolor=., - runcolor=., - urlcolor=linkcolor -} - -\newcommand*{\refname}{Bibliography} - -\usepackage{makeidx} -\makeindex - \begin{document} \thispagestyle{empty} + \begin{titlepage} + \thispagestyle{empty} +% \vspace{1mm} + \hrule + \vspace{1mm} + %\raggedleft + Département Informatique\hfill École Doctorale SPI + + %\raggedleft + Faculté de Sciences et Technologies + + \begin{centering} + + \vspace*{\stretch{2}} + {\LARGE\textsc{Habilitation à diriger des recherches}} + + \vspace*{\stretch{1}} + présentée par + + \vspace*{\stretch{1}} + {\LARGE \scshape Thomas Pietrzak} + + \vspace*{\stretch{2}} + Discipline : Informatique + + \vspace*{\stretch{1}} + Spécialité : Interaction Homme-Machine + + \vspace*{\stretch{2}} + {\LARGE\bfseries Control, humans, machines, WTF?} + + \vspace*{\stretch{2}} + XXX 2020 + + \vspace*{\stretch{2}} + \end{centering} + + \noindent\begin{center} + \noindent\begin{tabular}{@{}l@{\hspace{2.5mm}}l@{\hspace{2.5mm}}l@{}} + \emph{Rapporteurs :} & XXX & Professeur à XXX\\ + & XXX & Professeur à XXX\\ + \\ + \emph{Examinateurs :} & XXX & Professeur à XXX\\ + & XXX & Professeur à XXX\\ + \end{tabular} + \end{center} + \vspace*{\stretch{1}} + \hrule + \vspace{1mm} + \centering + 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\\ + \vspace{1cm} + \includegraphics[width=3.5cm]{logo_univ_lille} + \hfill + \includegraphics[width=3.5cm]{logo_cristal} + \hfill + \includegraphics[width=3.5cm]{logo_inria}\\ + \vspace{1cm} + Revision: \texttt{\StrLeft{\commit}{7}} on branch \texttt{\branch}\\ + Compiled on \today\ at \currenttime\\ + \end{titlepage} + \cleardoublepage -\maketitle - -Revision: \texttt{\StrLeft{\commit}{7}} on branch \texttt{\branch}\\ -Compiled on \today\ at \currenttime\\ -\index{HDR} +\frontmatter \tableofcontents + \cleardoublepage \listoffigures + \cleardoublepage \listoftables - -\frontmatter + \cleardoublepage \mainmatter \input{tex/introduction} + \cleardoublepage \input{tex/relatedwork} + \cleardoublepage -\chapter{Physical interaction} - -\section{Métamorphe} -\cite{bailly13} - -\section{LivingDesktop} -\cite{bailly16} - -\section{Flexstylus} -\cite{fellion17} - - -\chapter{Gestural interaction} - -\section{Finger identification} -\cite{goguey14,goguey14a,goguey17} - -\section{Summon\&Select} -\cite{gupta17} - -\section{RayCursor} -\cite{baloup18,baloup19} - - -\chapter{Haptics} - -\section{Activibe} -\cite{cauchard16} - -Previous: \cite{pietrzak05,pietrzak06,pietrzak09} +\input{tex/physical} + \cleardoublepage -\section{Direct Manipulation} -\cite{gupta16} +\input{tex/gestural} + \cleardoublepage -\chapter{Something} +\input{tex/haptics} + \cleardoublepage -\section{Lagmeter} -\cite{casiez17} +\input{tex/something} + \cleardoublepage \input{tex/conclusion} diff --git a/mystyle.sty b/mystyle.sty new file mode 100644 index 0000000..4f07db9 --- /dev/null +++ b/mystyle.sty @@ -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 index 0000000..1caa9b2 --- /dev/null +++ b/tex/gestural.tex @@ -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 index 0000000..2f7ec67 --- /dev/null +++ b/tex/haptics.tex @@ -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} diff --git a/tex/introduction.tex b/tex/introduction.tex index 2c74d40..6b66181 100644 --- a/tex/introduction.tex +++ b/tex/introduction.tex @@ -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 index 0000000..4b2a8cf --- /dev/null +++ b/tex/physical.tex @@ -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} diff --git a/tex/remerciements.tex b/tex/remerciements.tex index 28090e9..3fd8227 100644 --- a/tex/remerciements.tex +++ b/tex/remerciements.tex @@ -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 index 0000000..7181957 --- /dev/null +++ b/tex/something.tex @@ -0,0 +1,11 @@ +%!TEX root = ../hdrmain.tex + +\chapter{Something} + \epigraph{\lorem}{Auteur} + +\begin{Abstract} +\loremipsum +\end{Abstract} + +\section{Lagmeter} +\cite{casiez17}