Add Notations page

This commit is contained in:
Théophile Bastian 2023-09-14 17:05:57 +02:00
parent d4c923fdb3
commit 3cbcc8c6a2
7 changed files with 85 additions and 13 deletions

View file

@ -0,0 +1,11 @@
\selectlanguage{french}
\begin{abstract}
Ceci est le résumé de ma thèse. C'est fou, non ?
\end{abstract}
\clearpage
\selectlanguage{english}
\begin{abstract}
This is my PhD's abstract. Check it out.
\end{abstract}

View file

@ -0,0 +1,16 @@
\chapter*{Notations}
\addcontentsline{toc}{chapter}{Notations}
Throughout this whole document, the following notations are used.
\begin{center}
\begin{tabular}{c p{0.65\textwidth} p{0.15\textwidth}}
\toprule
\textbf{Notation} & \textbf{Meaning} & \textbf{(See also)} \\
\midrule
$\cyc{\kerK}$ &
Throughput of $\kerK$, in cycles per repetition of $\kerK$, in steady state
& \qtodo{ref} \\
\bottomrule
\end{tabular}
\end{center}

View file

@ -1,11 +1,5 @@
\input{10_abstract.tex}
\selectlanguage{french} \tableofcontents
\begin{abstract}
Ceci est le résumé de ma thèse. C'est fou, non ?
\end{abstract}
\clearpage
\selectlanguage{english} \input{90_notations}
\begin{abstract}
This is my PhD's abstract. Check it out.
\end{abstract}

View file

@ -0,0 +1,41 @@
\usepackage[dvipsnames]{xcolor}
\usepackage{ifthen}
\usepackage[framemethod=tikz]{mdframed}
\newcommand{\linedenvTop}[2]
{\begin{samepage}\qquad\textbf{#1}
\ifthenelse{\equal{#2}{}}
{}
{~\textbf{(}\emph{#2}\textbf{)}}
\trivlist\item[]\ignorespaces}
\newcommand{\linedenvBot}{\endtrivlist\end{samepage}}
\newenvironment{lemma}[1][]{\linedenvTop{Lemma}{#1}}{\linedenvBot}
\surroundwithmdframed[linewidth=1.5pt,
linecolor=BurntOrange,
bottomline=false,topline=false,rightline=false]{lemma}
\newenvironment{definition}[1][]{\linedenvTop{Definition}{#1}}{\linedenvBot}
\surroundwithmdframed[linewidth=1.5pt,
linecolor=Plum,
bottomline=false,topline=false,rightline=false]{definition}
\newenvironment{theorem}[1][]{\linedenvTop{Theorem}{#1}}{\linedenvBot}
\surroundwithmdframed[linewidth=2.5pt,
linecolor=Red,
bottomline=false,topline=false,rightline=false]{theorem}
%\newenvironment{proof}{\textbf{Proof}\\}{}
\surroundwithmdframed[linewidth=1.0pt,
linecolor=Blue,
bottomline=false,topline=false,rightline=false]{proof}
\newenvironment{notation}[1][]{\linedenvTop{Notation}{#1}}{\linedenvBot}
\surroundwithmdframed[linewidth=1.5pt,
linecolor=Brown,
bottomline=false,topline=false,rightline=false]{notation}
\newenvironment{example}[1][]{\linedenvTop{Example}{#1}}{\linedenvBot}
\surroundwithmdframed[linewidth=1.5pt,
linecolor=LimeGreen,
bottomline=false,topline=false,rightline=false]{example}

View file

@ -1 +1,10 @@
\newcommand{\uops}{micro-operations} \newcommand{\uop}{micro-operation}
\newcommand{\uops}{\uop{}s}
\newcommand{\eg}{\textit{eg.}}
\newcommand{\kerK}{\mathcal{K}}
\newcommand{\cyc}[1]{\overline{#1}}
\newcommand{\uopsinfo}{\texttt{uops.info}}

View file

@ -10,6 +10,7 @@
\usepackage{csquotes} \usepackage{csquotes}
\usepackage[dvipsnames]{xcolor} \usepackage[dvipsnames]{xcolor}
\usepackage{makecell} \usepackage{makecell}
\usepackage{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{listings} \usepackage{listings}
\usepackage{hyperref} \usepackage{hyperref}
@ -19,13 +20,16 @@
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{pdfpages} \usepackage{pdfpages}
\usepackage{import} \usepackage{import}
\usepackage[bottom]{footmisc} % footnotes are below floats
% Local sty files % Local sty files
\usepackage{include/my_listings} \usepackage{include/my_listings}
\usepackage{include/todo} \usepackage{include/todo}
\usepackage{include/leftrules}
\input{include/macros.tex} \input{include/macros.tex}
% Graphics location % Graphics location
\def\basegraphicspath{assets/imgs/} \def\basegraphicspath{assets/imgs/}
\newcommand{\resetgraphicspath} \newcommand{\resetgraphicspath}

View file

@ -12,9 +12,6 @@
\includepdf{assets/couverture_these.pdf} \includepdf{assets/couverture_these.pdf}
\importchapter{00_opening} \importchapter{00_opening}
\tableofcontents
\importchapter{10_introduction} \importchapter{10_introduction}
\importchapter{20_foundations} \importchapter{20_foundations}
\importchapter{30_palmed} \importchapter{30_palmed}