diff --git a/README.md b/README.md index 96ea8a7..b2ac718 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,9 @@ The repository has the following directory tree. ├── README.qmd ├── README.rmarkdown ├── docs - ├── file_list.txt ├── firmware ├── hardware ├── overleaf - ├── project.Rproj ├── rstudio └── software diff --git a/overleaf/README.md b/overleaf/README.md index 9dd70f9..39e1ceb 100644 --- a/overleaf/README.md +++ b/overleaf/README.md @@ -15,7 +15,29 @@ The repository has the following directory tree. . ├── README.md ├── README.qmd - └── README.rmarkdown + ├── README.rmarkdown + ├── StyleAndSettings.sty + ├── chapters + │ ├── 00_abstract.tex + │ ├── 01_introduction.tex + │ ├── 02_methods.tex + │ ├── 03_results.tex + │ ├── 04_conclusions.tex + │ ├── 05_biblio_descr.tex + │ ├── 07_appendix_A.tex + │ ├── acknowledgements.tex + │ ├── references.bib + │ └── title.tex + ├── habbrv.bst + ├── images + │ ├── Tree_example_VIS.jpg + │ ├── dmavt-logo.pdf + │ ├── eth_logo_kurz_pos.pdf + │ ├── ghe-logo-vector.pdf + │ └── small-multiple.png + ├── main.tex + ├── main.tex.bak + └── unsrtDOI.bst A short description of the directories can be found below. diff --git a/overleaf/StyleAndSettings.sty b/overleaf/StyleAndSettings.sty new file mode 100644 index 0000000..0b16db9 --- /dev/null +++ b/overleaf/StyleAndSettings.sty @@ -0,0 +1,341 @@ +% Template created by Jakub Tkaczuk at the Department of Cryogenic Engineering of CEA-Grenoble +% and modified for the Global Health Engineering chair of ETH Zurich +% +% Do not use \usepackage{tocloft} for toc editing. It destroys features of listof. +% +\ProvidesPackage{StyleAndSettings}% +% +%%%%%%%%%%%%%%%%%%%%%% +%% Generic packages %% +%%%%%%%%%%%%%%%%%%%%%% +\usepackage[top=72pt,% 72 pt = 1 inch + bottom=108pt,% 5/4 inch + inner=72pt,% 108pt,% 5/4 inch + outer=54pt% 3/4 inch +]{geometry}% interface to document dimensions +\usepackage[utf8]{inputenc}% translates various standards into LaTeX +\usepackage[T1]{fontenc}% font encoding +\usepackage[english]{babel}% spelling check +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Packages for text and page settings %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage{titlesec}% alternative section titles +\usepackage{indentfirst}% indenting the first paragraph in section +\usepackage[toc]{appendix}% appendix editing +\usepackage{lscape}% landscape page +\usepackage{pdflscape}% single page orientation change +\usepackage{setspace}% line spacing +\usepackage{fancyhdr}% extensive control of page headers and footers +\usepackage{color}% foreground and background color management +\usepackage{xcolor}% personalize the font colors +\usepackage{textcomp}% support for text companion fonts +\usepackage{listings}% code formatting +\usepackage{eurosym}% euro symbol +\usepackage{latexsym}% few additional characters +\usepackage{fancyvrb}% sophisticated verbatim text +% +%%%%%%%%%%%%%%%%%%% +%% Math packages %% +%%%%%%%%%%%%%%%%%%% +\usepackage[bitstream-charter]{mathdesign}% font Charter BT +\usepackage{amsmath}% most of the needed math features +\usepackage[makeroom]{cancel}% cancel out symols in math mode +\usepackage{mathtools}% an addition to amsmath +\usepackage{gensymb}% degree symbol +\usepackage{bm}% bold symbols in math +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Figure and Table packages %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage{graphicx}% figures +\usepackage{float}% force figure placement +\usepackage{subcaption}% analogous to the caption package but for subcaptions +\usepackage{array}% extensive implementation of array and tabular environments +\usepackage[labelsep=period,% + skip=0.1\baselineskip,% + ]{caption}% customize captions in floating environments like figures, tables +\usepackage{longtable}% multipage tables +\usepackage{multirow}% multirow cells in tables +\usepackage{makecell}% line braking in table +\usepackage{tabu, longtable, booktabs}% multipage table editting +\usepackage{siunitx}% aligning decimal points in table +% +%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Bibliography packages %% +%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage{csquotes}% advanced facilities for inline and display quotations +\usepackage[style=apa,% + backend=biber,% + natbib=true]{biblatex}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Hyperref is the last package %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage[pdfauthor={Author},% + pdftitle={Title},% + pdfsubject={Bachelor Thesis/Semester Project/Master Thesis},% + pdfkeywords={keyword1, keyword2, keyword3},% + pdfproducer={Overleaf},% + pdfcreator={Author},% + linktocpage=true,% + linkcolor=lightblue,% + colorlinks=true,% + citecolor=lightblue,% + urlcolor=lightblue,% + bookmarks=false,% + hypertexnames=true,% + pdfpagelayout=TwoPageRight% + ]{hyperref}% hyperlinks +% +%%%%%%%%%%%%%%%%%%%% +%% Reference file %% +%%%%%%%%%%%%%%%%%%%% +% +\addbibresource{./chapters/references.bib} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Define larger brackets %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\makeatletter% +\newcommand{\Bigger}{\bBigg@{2}}% +\newcommand{\vast}{\bBigg@{3.25}}% +\newcommand{\Vast}{\bBigg@{4.5}}% +% +%%%%%%%%%%%%%%%%%%%%%%% +%% define new colors %% +%%%%%%%%%%%%%%%%%%%%%%% +% +\definecolor{darkblue}{rgb}{0.,0.,0.4}% +\definecolor{lightblue}{HTML}{2c5499}% +\definecolor{greenplot}{HTML}{808000}% +\definecolor{blueplot}{HTML}{0088aa}% +\definecolor{redplot}{HTML}{ff0000}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% set eqref brackets color to lightblue %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\eqref#1{\textcolor{lightblue}{(\ref{#1})}}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% define header and footer %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\pagestyle{fancy}% +\renewcommand{\sectionmark}[1]{\markright{#1}} +\renewcommand{\subsectionmark}[1]{} + +\fancypagestyle{plain}{%chapter's first page style % + \fancyhf{}% + \fancyfootoffset[OR]{1.85cm}% + \fancyfoot[OR]{% + \leftmark% + \hspace*{0.75cm}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{10pt}% + \begin{minipage}[b]{42pt}% + \normalsize\textbf{\thepage}% + \end{minipage}% + }% + \fancyfootoffset[EL]{1.85cm}% + \fancyfoot[EL]{% + \begin{minipage}[b]{42pt}% + \raggedleft\normalsize\textbf{\thepage}% + \end{minipage}% + \hspace*{10pt}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{0.75cm}% + \MakeUppercase{\chaptername\ \thechapter}% + }% + \renewcommand{\headrulewidth}{0pt}% + \renewcommand{\footrulewidth}{0pt}% +}% +% +\fancypagestyle{mainmatter}{% + \fancyhf{}% + \renewcommand{\headrulewidth}{0pt}% + \fancyfootoffset[OR]{1.85cm}% + \fancyfoot[OR]{% + \leftmark% + \hspace*{0.75cm}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{10pt}% + \begin{minipage}[b]{42pt}% + \normalsize\textbf{\thepage}% + \end{minipage}% + }% + \fancyfootoffset[EL]{1.85cm}% + \fancyfoot[EL]{% + \begin{minipage}[b]{42pt}% + \raggedleft\normalsize\textbf{\thepage}% + \end{minipage}% + \hspace*{10pt}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{0.75cm}% + \MakeUppercase{\chaptername\ \thechapter}% + }% +}% +% +\fancypagestyle{frontmatter}{% + \fancyhf{}% + \renewcommand{\headrulewidth}{0pt}% + \fancyfootoffset[OR]{1.85cm}% + \fancyfoot[OR]{% + \rule[-90pt]{1pt}{100pt}% + \hspace*{10pt}% + \begin{minipage}[b]{42pt}% + \normalsize\textbf{\thepage}% + \end{minipage}% + }% + \fancyfootoffset[EL]{1.85cm}% + \fancyfoot[EL]{% + \begin{minipage}[b]{42pt}% + \raggedleft\normalsize\textbf{\thepage}% + \end{minipage}% + \hspace*{10pt}% + \rule[-90pt]{1pt}{100pt}% + }% +}% +% +\fancypagestyle{backmatter}{% + \fancyhf{}% + \renewcommand{\headrulewidth}{0pt}% + \fancyfootoffset[OR]{1.85cm}% + \fancyfoot[OR]{% + \leftmark% + \hspace*{0.75cm}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{10pt}% + \begin{minipage}[b]{42pt}% + \normalsize\textbf{\thepage}% + \end{minipage}% + }% + \fancyfootoffset[EL]{1.85cm}% + \fancyfoot[EL]{% + \begin{minipage}[b]{42pt}% + \raggedleft\normalsize\textbf{\thepage}% + \end{minipage}% + \hspace*{10pt}% + \rule[-90pt]{1pt}{100pt}% + }% +}% +% +\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\quad{#1}}}{}}% +\renewcommand{\sectionmark}[1]{\markright{\MakeUppercase{\thesection\quad{#1}}}}% +% +%%%%%%%%%%%%%%%%%%%% +%% figure editing %% +%%%%%%%%%%%%%%%%%%%% +% +\renewcommand{\floatpagefraction}{.8}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% redefine chapter, section, subsection title displaying %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\titleformat{\chapter}{\huge\scshape}{\thechapter}{1em}{}% +\titleformat{\section}{\LARGE}{\thesection}{1em}{}% +\titleformat{\subsection}{\Large}{\thesubsection}{1em}{}% +\titleformat{\subsubsection}{\large}{\thesubsubsection}{1em}{}% +% +%%%%%%%%%%%%%%%%%% +%% text editing %% +%%%%%%%%%%%%%%%%%% +% +%\setlength\parindent{0pt}% zero indentation in the whole document +\onehalfspacing% 1.5 x spacing +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% enumerate and itemize options %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\newenvironment{tight_enumerate}{ +\begin{enumerate} + \setlength{\itemsep}{0pt} + \setlength{\parskip}{0pt} +}{\end{enumerate}} +% +\newenvironment{tight_itemize}{ +\begin{itemize} + \setlength{\itemsep}{0pt} + \setlength{\parskip}{0pt} +}{\end{itemize}} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% define blank page and blank page subs %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\blankpage{\clearpage\thispagestyle{empty}\null\clearpage}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% edit the toc style and numbering %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{plain}}}% +% \setcounter{tocdepth}{4}% set toc depth +% \setcounter{secnumdepth}{4}% set toc numbering depth +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% edit the bibliography spacing %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\let\OLDthebibliography\thebibliography +\renewcommand\thebibliography[1]{ + \OLDthebibliography{#1} + \setlength{\parskip}{2pt} + \setlength{\itemsep}{0pt plus 0.3ex} +} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% define absolute path to images %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\graphicspath{{./images/}}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Declare authoryear as a hyperlink to bibliography entry %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\DeclareFieldFormat{citehyperref}{% + \DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested link + \bibhyperref{#1}} +% +\DeclareFieldFormat{textcitehyperref}{% + \DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links + \bibhyperref{% + #1% + \ifbool{cbx:parens}% + {\bibcloseparen\global\boolfalse{cbx:parens}}% + {}}}% +% +\savebibmacro{cite}% +\savebibmacro{textcite}% +% +\renewbibmacro*{cite}{% + \printtext[citehyperref]{% + \restorebibmacro{cite}% + \usebibmacro{cite}}}% +% +\renewbibmacro*{textcite}{% + \ifboolexpr{% + ( not test {\iffieldundef{prenote}} and% + test {\ifnumequal{\value{citecount}}{1}} )% + or% + ( not test {\iffieldundef{postnote}} and% + test {\ifnumequal{\value{citecount}}{\value{citetotal}}} )% + }% + {\DeclareFieldAlias{textcitehyperref}{noformat}}% + {}% + \printtext[textcitehyperref]{% + \restorebibmacro{textcite}% + \usebibmacro{textcite}}}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Make "et al." italic in bibliography entry %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\DefineBibliographyStrings{english}{% + andothers = {\mkbibemph{et\addabbrvspace al\adddot}}% +}% +% diff --git a/overleaf/chapters/00_abstract.tex b/overleaf/chapters/00_abstract.tex new file mode 100644 index 0000000..49d0ec9 --- /dev/null +++ b/overleaf/chapters/00_abstract.tex @@ -0,0 +1,16 @@ +\newpage% +\clearpage% +\chapter*{Abstract}% +\markboth{\MakeUppercase{Abstract}}{\MakeUppercase{Abstract}}% +\addcontentsline{toc}{chapter}{Abstract}% +\phantomsection% + +The abstract should succinctly summarize the research gap, the methods you employed, your results, conclusions, and recommendations. Don’t use acronyms if possible, and keep the language as general as possible. + +\medskip + +Keep the abstract to a maximum of 500 words. + +\medskip + +The abstract stays on its own page. \ No newline at end of file diff --git a/overleaf/chapters/01_introduction.tex b/overleaf/chapters/01_introduction.tex new file mode 100644 index 0000000..cc67ca4 --- /dev/null +++ b/overleaf/chapters/01_introduction.tex @@ -0,0 +1,25 @@ +\cleardoublepage% +\chapter{\label{chap:intro}Introduction}% + +Here you introduce the topic, give an overview of what you’re going to discuss, and why the topic is important. In the following sections, you will introduce different components that require a specific discussion. Start from the most general and proceed to the most specific. For example, start with solid waste, then waste in Africa, then the informal waste collection systems in Durban. + +\section{\label{sec:intro_swm}Solid Waste Management}% + +Here you can start with a broad overview of SWM, one of your main background topics: what it is, which SDGs are important, some global statistics, etc. This is going to prepare the reader for the next sections, which will provide more detail on specific sub-sectors or processes. + +\section{\label{sec:intro_swm_africa}Solid Waste Management in Africa}% + +Maybe now you dive into the global differences in collection. + +\subsection{\label{sec:intro_level3}Heading level three} + +Going down to level 3 is not something that you should need to do often, but in this case, maybe you want to have separate subheadings for East Africa, West Africa, and North Africa. All the third level headings are similar and can be compared, and all of them are logically beneath the level 2 heading. + +\subsubsection{\label{sec:intro_level4}Heading level four} + +There are not many instances when level 4 would be necessary, but just in case, here’s the format for it. Do not go to Level 5 unless your life depends on it. + + +\section{\label{sec:intro_res_quest}Justification and Research Questions} + +In your final paragraph, you need to clearly frame the justification for the study -- this should be obvious at this point from the clear discussion that you have presented thus far. Here, you spell it out in concise terms. Here, or in a separate subsection, you also spell out the specific research questions that you have, along with, if relevant, your hypotheses. The combination of the justification and research questions will be a clear and obvious bridge to the next chapter: Methods. diff --git a/overleaf/chapters/02_methods.tex b/overleaf/chapters/02_methods.tex new file mode 100644 index 0000000..509710f --- /dev/null +++ b/overleaf/chapters/02_methods.tex @@ -0,0 +1,32 @@ +\cleardoublepage% +\chapter{\label{chap:methods}Methods}% + +This is arguably the most important section of your work. In the methods section you need to explain exactly what you did, how you did it and why you did it. Describe the work you did with enough detail that someone could replicate your work exactly. + +Be sure to include the types of chemicals you used, the equipment employed, and the experimental design and sampling plans. + +Below are some common subheadings that are used, but the exact list will depend on your specific project design and method. + +\section{\label{sec:methods_site_sel}Site Selection} + +If you are collecting data outside the laboratory, explain where your site is, how you decided on it, and what makes it especially interesting or important for answering your research questions. Photos and maps are usually appropriate here. + +\section{\label{sec:methods_samp_size}Sample size} + +Those of you conducting household surveys or monitoring programs will need to explain how you arrived at the number of samples that you included. There are various calculations that can be used, but usually, the explanation will relate to access, budget constraints, or logistics. Every explanation is fine as long as it is explained well. + +\section{\label{sec:methods_ethics}Ethics} + +If you have obtained ethical approval for your study, cite the approval number here. Otherwise, describe the potential ethical issues associated with your project and the steps you have taken. + +\section{\label{sec:methods_exp_des}Experimental design} + +Explain your overall research design: is it a qualitative, descriptive study? A randomized control trial? A $2 \times 2$ factorial field trial? As before, explain how you decided on this design and how it will help you answer your research questions. You may need to use the lower-level sections, such as Sec.~\ref{sec:methods_exp1} and Sec.~\ref{sec:methods_exp2}. + +\subsection{\label{sec:methods_exp1}Experiment 1} + +This could also be referred to as phase one if you are not doing experimental work. If you are doing design work, this would be your first iteration and the steps you took to redesign it. Explain how you structured this work and what, if there is a second step, it does not address. + +\subsection{\label{sec:methods_exp2}Experiment 2} + +In phase 2, we will modify the pH of the anaerobic reactor by sequentially dosing 5~mg/L of calcium carbonate each day until the reactor fails. \ No newline at end of file diff --git a/overleaf/chapters/03_results.tex b/overleaf/chapters/03_results.tex new file mode 100644 index 0000000..2e2c720 --- /dev/null +++ b/overleaf/chapters/03_results.tex @@ -0,0 +1,119 @@ +\cleardoublepage% +\chapter{\label{chap:res}Results and discussion}% + +This is where you present your findings. As much as possible, structure your results along the lines of your research questions. Start with the simplest results first and proceed to more complex ones. Tables and Figures should be clear enough that they need little explanation: do not simply re-write the numbers as text to fill space. Rather, highlight trends, outliers, or gaps. + +\section{\label{sec:res_disc}Discussion} + +Sometimes, the discussion section is separate from the results. Where to include it is personal, though it is often easier to include the discussion with the results. The discussion simply refers to the interpretation and contextualization of the results. + +You present your findings (results) and then explain what they mean; how they relate to what other people have found; how they match or contradict the literature. The discussion requires references to other published works. Results sections that only present data are fine, but when there are multiple results, it is sometimes difficult for the reader to bounce back and forth between the results and the discussion. + +\section{\label{sec:res_tab_fig_math}Tables, Figures, and Mathematics} + +Tables and Figures are key to communicating your results, so they need to be clear, organized, and well-presented. \textbf{Both Tables and Figures have to always be referenced in text}. They should be referenced on the same page as they appear, in the worst case, they can be referenced on the adjacent page of the two-page document, so the reader does not need to flip five pages to find the desired figure/table. The above rule applies to the first reference of figure/table in text. You can refer to the tables and figures, you have shown earlier, as many times as you reasonably need. + +\subsection{\label{sec:res_tab}Tables} + +Tables are numerical values or text displayed in rows and columns. When appearing in a document, tables should be numbered and appear sequentially. \textbf{Tables MUST always be referred to in text. They must be referred to by their number; the same applies to figures}. It is not appropriate to ask a reader to refer to a Table “above” or “below” as printing, screens, and downloads may all modify the location. \textbf{The table title ALWAYS appears at the top}. If there is not enough space on a page for a full table, move it. Actually, latex should do it for you. Only split the table between multiple pages if it is very long. Do not force your reader to flip back and forth in an effort to remember what the column headings are, the proper formatting of a long table (with the \texttt{longtable} package) should help keeping the headings organized on multiple pages. For an example of a well-formatted Table, see Table~\ref{tab:waste_gen}. + +\begin{table} + \begin{center} + \caption{\label{tab:waste_gen}Waste generation and collection in urban area of Africa for the year 2012} + \begin{tabular}{lcccc} + \toprule + Region & Generation & Generation & Collection & \% collected \\ + & ${\rm kg~/~(capita~year)}$ & ${\rm 10^6~t~/~year}$ & ${\rm 10^6~t~/~year}$ & - \\ + \midrule + Eastern Africa & 185.73 & 12.86 & 4.92 & 38.25 \\ + Western Africa & 175.37 & 27.02 & 10.66 & 39.45 \\ + Central Africa & 194.57 & 11.09 & 4.83 & 40.56 \\ + Southern Africa & 247.00 & 26.34 & 13.05 & 49.54 \\ + Northern Africa & 441.80 & 43.95 & 32.27 & 73.41 \\ + Sub-Saharan Africa & 200.67 & 78.12 & 33.46 & 42.83 \\ + \bottomrule + \end{tabular} + \end{center} +\end{table} + +\subsection{\label{sec:res_fig}Figures} + +\begin{figure} + \centering + \includegraphics[width=\linewidth]{small-multiple.png} + \caption{\label{fig:mortality_temp}Heterogeneity in the Mortality-Temperature Relationship (Age > 64 Mortality Rate) \citep[soruce:][]{carleton2022valuing}.} +\end{figure} + +Figures are everything else, be it a chart graph, a photograph, a drawing, or any other illustration or non-textual depiction. In APA, any type of illustration other than a Table is referred to as a Figure. Figures are arguably the most important representations of your work. Therefore, consider the following: + +\begin{tight_itemize} +\item Every figure should be of high quality. If it is not, seriously consider if it is worth including. +\item Before you include a figure, think, what value does it add to your work? +\item Figures should be centered. They must have a descriptive title that can also include copyright information or a citation. +\item Figure~\ref{fig:mortality_temp} gives the viewer the greatest number of ideas in the shortest time with the least ink in the smallest space \citep{englander2024timeless}. That is what every figure should attempt to do. This figure has nine subfigures, arranged in three rows and three columns, but because the x and y variables are the same in each subfigure, once the reader learns how to interpret one of them, they can quickly understand the others. +\item Figure~\ref{fig:mortality_temp} tells a clear narrative about the relationship between temperature, mortality, and adaptation across different income levels and climates. Subfigures are indexed by average income (rows) and climate (columns). Within a row, moving from left to right reveals how the temperature-mortality relationship compares in colder vs. hotter climates. Within a column, moving from bottom to top, shows how the temperature-mortality relationship changes as a function of income. +\item To increase your data-ink ratio, ask yourself of each figure element: can I erase this without losing clarity? +\item Use color sparingly. When using color, opt for colorblind-friendly pallettes, e.g., \texttt{viridis} in \texttt{matplotlib}. +\item According to \citet{carleton2022valuing}, a table is nearly always better than a dumb pie chart; the only worse design than a pie chart is several of them... Given their low data-density and failure to order numbers along a visual dimension, pie charts should never be used. +\end{tight_itemize} + +\subsection{\label{sec:res_maths}Mathematics} + +All equations appearing in your manuscript are numbered. Equations should also be looked at as a part of a sentence. It is a good practice to describe all variables, together with their units, right after the equation. An example is provided as a complete paragraph below. + +According to the second law of thermodynamics, heat flows from the hot environment to the cold one as the temperature difference is equalized by diffusion. This is quantified in terms of a heat flux $\dot{q}$ in ${\rm W~m^{-2}}$ as + +\begin{equation}\label{eq:conduction} + \dot{q} = - k \frac{T_2 - T_1}{L}, +\end{equation} + +\noindent where $k$ is the thermal conductivity in ${\rm W~(m~K)^{-1}}$, $T_1$ is the hot environment temperature in K, $T_2$ is the cold environment temperature in K, and $L$ is the separation distance between the two environments in m. + +The numbering of Eq.~(\ref{eq:conduction}) suggests that it is the first equation in Chapter~\ref{chap:res}, it is automatically assigned by \LaTeX. + +According to the \href{https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-7-rules-and-style-conventions-expressing-values}{NIST guide to the SI}, variables should be written in italic type and units in Roman type, e.g., the temperature $T_1 = 300~{\rm K}$. The above guide specifies that the expression for the value of a quantity, the unit symbol is placed after the numerical value and a space is left between the numerical value and the unit symbol. The only exceptions to this rule are for the unit symbols for degree, minute, and second for plane angle: \degree, ', and ", respectively, in which case no space is left between the numerical value and the unit symbol. + +\section{\label{sec:res_lic}Licensing} + +Remember, it is your responsibility to comply with the terms and conditions of the license of anything you include in your work. The very often used licenses are the variations of Creative Commons, referred to as CC, according to which you are free: + +\begin{tight_itemize} + \item to share – to copy, distribute and transmit the work, + \item to remix – to adapt the work, +\end{tight_itemize} + +under the following conditions: + +\begin{tight_itemize} + \item attribution – you must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. + \item share alike – if you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original. +\end{tight_itemize} + +The example of how to fulfil the above conditions is provided in Figure~\ref{fig:tree}. Remember to check for license terms and conditions when using an element covered by a license. \textbf{If not license is explicitly provided, full copyright applies, therefore, you are not allowed to use a given piece of work without written consent of the author.} + +\begin{figure} + \centering + \includegraphics[width=0.6\linewidth]{Tree_example_VIS.jpg} + \caption{\label{fig:tree}Tree on Mount Victoria Devonport, New Zealand. Image taken by \href{https://commons.wikimedia.org/wiki/User:Dschwen}{Daniel Schwen} (\href{https://creativecommons.org/licenses/by-sa/2.5/deed.en}{CC BY-SA 2.5}).} +\end{figure} + +\section{\label{sec:latex}\LaTeX} + +The file \texttt{main.tex} contains basic settings for the document. If you want to add a new chapter, add a line in the \texttt{main.tex} and create a new file with respective name in the \texttt{chapters} directory. + +File \texttt{StyleAndSettings.sty} contains all the loaded packages and settings for formatting the document, text, figures, tables, and bibliography. Open the file, find the \texttt{hyperlink} package, and change the following lines: + +\begin{verbatim} + pdfauthor={Author},% + pdftitle={Title},% + pdfsubject={Bachelor Thesis/Semester Project/Master Thesis},% + pdfkeywords={keyword1, keyword2, keyword3},% + pdfproducer={Overleaf},% + pdfcreator={Author},% +\end{verbatim} + +\noindent so they describe your name (note that the \texttt{Author}'s name appears twice), the title of your work, the level, and the keywords. They will be embedded in the final PDF as its metadata. + +\section{\label{sec:res_app}Appendices}% + +You may need to use elements which distract the reader from the main plot line of your manuscript. You may also not have space because of the page limit. In either case, do not hesitate to use appendices. An appendix should appear after the bibliography, and it should contain a comprehensive set of information/drawings/tables which are helpful for the reader to understand your statements or choices more in-detail. Every appendix you add should be cited in the main matter of the manuscript, e.g., for details, see Appendix~\ref{chap:apx_exp_data}. \ No newline at end of file diff --git a/overleaf/chapters/04_conclusions.tex b/overleaf/chapters/04_conclusions.tex new file mode 100644 index 0000000..8d6688f --- /dev/null +++ b/overleaf/chapters/04_conclusions.tex @@ -0,0 +1,4 @@ +\cleardoublepage% +\chapter{Conclusions}% + +This section does not need to be long, but it needs to be concrete. Explain what you found, what you did not find, and what needs to be done next. No more than two pages maximum. \ No newline at end of file diff --git a/overleaf/chapters/05_biblio_descr.tex b/overleaf/chapters/05_biblio_descr.tex new file mode 100644 index 0000000..86bf59b --- /dev/null +++ b/overleaf/chapters/05_biblio_descr.tex @@ -0,0 +1,22 @@ +\cleardoublepage% +\chapter{\label{chap:bib_des}Few words on bibliography}% + +The references come last. Using a reference manager while writing, e.g., Zotero, will allow the flexibility to change between different styles in the same manuscript, while streamlining organization, and facilitating transparency with your co-authors or supervisor. When you are using a reference manager, it will create the reference list at the end of the document, though you will need to check each reference to make sure the information is complete. Update within the manager and reload the list if necessary. + +GHE uses APA 7th edition for our references. There are others, but this is one of the more common formats and is easy to follow. Please view the sample section below for a visual example of in-text citations. Citations should follow references to other author’s work, either in the form of a paraphrase, where you summarize their material in your own words, or a direct quote. Quotes should be used sparingly and very specifically. When you quote another author, you need to include the relevant page number at the end of the citation. When you mention an author by name in the text, the citation appears after the name, and you omit their name in the citation, and only include the year. + +\section{\label{sec:bib_des_format}Reference format} + +References should be left-justified, with the first line hanging. This helps to identify individual references and keeps them from flowing into each other. + +\section{\label{sec:bib_tools}Other tools} + +You can proceed a citation with (see,) if you don’t want to reference a specific work, but want to point the reader towards specific reading (i.e. look here). (cf.) as a prefix to a citation, in APA, works as a compare, as if you want to draw comparisons between two texts. + +You can cite multiple authors at once, and it is often appropriate to do so, but do not be excessive. Concision is key, and that includes referencing. A wall of citations hurts the flow of manuscript. Gratuitous referencing is likewise bad. Unless it is a hallmark contribution within your field, or some grand theoretical piece that keeps getting built upon, I would seriously reflect on the necessity of including anything more than a decade old. Always think, what are the key, most topical sources to include? + +\section{\label{sec:bib_sample}Referencing sample} + +Human activities on land are, without a doubt, the principal source of marine litter, and rivers are one of the primary channels funneling this waste to the sea \citep{crosti_down_2018, emmerik_plastic_2020}. In addition to the impact that this pathway has had on the health of our riverine ecosystems, the growing flood of waste, and plastic waste in particular, has shaped a growing and evocative dialogue around the world’s oceans in crisis, which has captured immense popular and scholarly attention \citep[see][]{kalina_treating_2020, phelan_ocean_2020, stafford_viewpoint_2019}. With this spotlight on our oceans, citizen knowledge and awareness around riverine and marine waste has become an increasing topic of study. For most investigations, spatial analysis has centered on the coastline, or most specifically the beach, the space where most respondents (urban, northern, middle class), encounter marine litter \citep[see][]{locritani_assessing_2019, rayon-vina_marine_2018}. \citet{kusumawati_public_2018} also centers their investigation on the beach, though within a South context, while \citet{lewin_recreational_2020} and \citet{ferreira_organic_2020} also center on coastlines, but through the lens of recreational or subsistence fishing. As \citet{ferreira_organic_2020} point out, awareness and perception plays a key role in ecosystem management. + +According to \citet{bacchi_turn_2015}, problematizations (the noun) generally refers to the outcomes of processes of problem formation, either in the way in which problems are framed, or governmental problematizing processes, while ‘problematize’ (the verb) tends to be used to describe what individuals or governments do in the face of problems. In other words, problematize may refer to the ways in which an individual puts an issue, object, etc. forward, or designate something, as problematic -- “that, is to give a shape to something as a ‘problem’” \citep[][p. 3]{bacchi_turn_2015}. diff --git a/overleaf/chapters/07_appendix_A.tex b/overleaf/chapters/07_appendix_A.tex new file mode 100644 index 0000000..ed53498 --- /dev/null +++ b/overleaf/chapters/07_appendix_A.tex @@ -0,0 +1,14 @@ +\cleardoublepage% +\refstepcounter{chapter}% +\phantomsection +\chapter[Appendix A - Experimental data from some measurements]{\label{chap:apx_exp_data}Appendix A - Experimental data\\from some measurements\chaptermark{Appendix A}}% +\chaptermark{Appendix A}% + +The first appendix is here. The purpose of appendices is to keep the main part of the document clear and readable. There can be many appendices, everyone should form an integral part. The following should be considered as the candidates to build appendices: + +\begin{tight_itemize} + \item Multi-page tables disturbing the reading with important information which you want to include in your manuscript; + \item detailed schematics for which you provided a simplified version in text (you can refer to the more complex scheme in an Appendix and only show the simplified scheme inside the main text). + \item important pieces of code allowing for validation of the results. Most of the code will probably go to the git repository anyway. + \item multiple figures of some properties, showing that the solution described in the manuscript is capable of calculating the properties shown in an Appendix, but the values in figures do not have the crucial significance for the research/engineering plot line of your manuscript. +\end{tight_itemize} \ No newline at end of file diff --git a/overleaf/chapters/acknowledgements.tex b/overleaf/chapters/acknowledgements.tex new file mode 100644 index 0000000..6fcb186 --- /dev/null +++ b/overleaf/chapters/acknowledgements.tex @@ -0,0 +1,10 @@ +\newpage% +\cleardoublepage% +\chapter*{Acknowledgements}% +\thispagestyle{empty}% + +I would not have made it without the help of many people. + +\medskip + +If you want to thank someone in particular, this is the place. If not, the section can be removed. \ No newline at end of file diff --git a/overleaf/chapters/references.bib b/overleaf/chapters/references.bib new file mode 100644 index 0000000..bf251da --- /dev/null +++ b/overleaf/chapters/references.bib @@ -0,0 +1,163 @@ +@article{stafford_viewpoint_2019, + title = {Viewpoint – {Ocean} plastic pollution: {A} convenient but distracting truth?}, + volume = {103}, + issn = {0308597X}, + shorttitle = {Viewpoint – {Ocean} plastic pollution}, + doi = {10.1016/j.marpol.2019.02.003}, + language = {en}, + journal = {Marine Policy}, + author = {Stafford, R. and Jones, P.J.S.}, + year = {2019}, + pages = {187--191}, +} + +@article{bacchi_turn_2015, + title = {The {Turn} to {Problematization}: {Political} {Implications} of {Contrasting} {Interpretive} and {Poststructural} {Adaptations}}, + volume = {05}, + issn = {2164-0505, 2164-0513}, + shorttitle = {The {Turn} to {Problematization}}, + doi = {10.4236/ojps.2015.51001}, + number = {01}, + journal = {Open Journal of Political Science}, + author = {Bacchi, Cr.}, + year = {2015}, + pages = {1--12}, +} + +@article{crosti_down_2018, + title = {‘{Down} to the river’: amount, composition, and economic sector of litter entering the marine compartment, through the {Tiber} river in the {Western} {Mediterranean} {Sea}}, + volume = {29}, + issn = {2037-4631, 1720-0776}, + shorttitle = {‘{Down} to the river’}, + doi = {10.1007/s12210-018-0747-y}, + language = {en}, + number = {4}, + journal = {Rendiconti Lincei. Scienze Fisiche e Naturali}, + author = {Crosti, R. and Arcangeli, A. and Campana, I. and Paraboschi, M. and González-Fernández, D.}, + year = {2018}, + pages = {859--866}, +} + +@article{kalina_treating_2020, + title = {Treating the symptom: {A} {Marxist} reflection on 'zero waste' and {Sardinia} 2019}, + issn = {2611-4135}, + shorttitle = {{TREATING} {THE} {SYMPTOM}}, + doi = {10.31025/2611-4135/2020.13918}, + language = {en}, + number = {9}, + journal = {Detritus}, + author = {Kalina, M.}, + year = {2020}, + pages = {4--10}, +} + +@article{kusumawati_public_2018, + title = {Public perspective towards marine litter in {West} {Aceh} {City}}, + volume = {139}, + issn = {1755-1307, 1755-1315}, + doi = {10.1088/1755-1315/139/1/012031}, + journal = {IOP Conference Series: Earth and Environmental Science}, + author = {Kusumawati, I. and Setyowati, M. and Riana, E. and Prartono, T.}, + year = {2018}, + pages = {012031}, +} + +@article{lewin_recreational_2020, + title = {Recreational anglers’ perceptions, attitudes and estimated contribution to angling related marine litter in the {German} {Baltic} {Sea}}, + volume = {272}, + issn = {03014797}, + doi = {10.1016/j.jenvman.2020.111062}, + language = {en}, + journal = {Journal of Environmental Management}, + author = {Lewin, W.-C. and Weltersbach, M.S. and Denfeld, G. and Strehlow, H.V.}, + year = {2020}, + pages = {111062}, +} + +@article{locritani_assessing_2019, + title = {Assessing the citizen science approach as tool to increase awareness on the marine litter problem}, + volume = {140}, + issn = {0025326X}, + doi = {10.1016/j.marpolbul.2019.01.023}, + language = {en}, + journal = {Marine Pollution Bulletin}, + author = {Locritani, M. and Merlino, S. and Abbate, M.}, + year = {2019}, + pages = {320--329}, +} + +@article{phelan_ocean_2020, + title = {Ocean plastic crisis—{Mental} models of plastic pollution from remote {Indonesian} coastal communities}, + volume = {15}, + issn = {1932-6203}, + doi = {10.1371/journal.pone.0236149}, + language = {en}, + number = {7}, + journal = {PLOS ONE}, + author = {Phelan, A. and Ross, H. and Setianto, N.A. and Fielding, K. and Pradipta, L.}, + editor = {Borrelle, Stephanie Belle}, + year = {2020}, + pages = {e0236149}, +} + +@article{rayon-vina_marine_2018, + title = {Marine litter in south {Bay} of {Biscay}: {Local} differences in beach littering are associated with citizen perception and awareness}, + volume = {131}, + issn = {0025326X}, + shorttitle = {Marine litter in south {Bay} of {Biscay}}, + doi = {10.1016/j.marpolbul.2018.04.066}, + language = {en}, + journal = {Marine Pollution Bulletin}, + author = {Rayon-Viña, F. and Miralles, L. and Gómez-Agenjo, M. and Dopico, E. and Garcia-Vazquez, E.}, + year = {2018}, + pages = {727--735}, +} + +@article{emmerik_plastic_2020, + title = {Plastic debris in rivers}, + volume = {7}, + issn = {2049-1948, 2049-1948}, + doi = {10.1002/wat2.1398}, + language = {en}, + number = {1}, + journal = {WIREs Water}, + author = {Emmerik, T. and Schwarz, A.}, + year = {2020}, +} + +@article{ferreira_organic_2020, + title = {Organic {Matter} {Decomposition} and {Ecosystem} {Metabolism} as {Tools} to {Assess} the {Functional} {Integrity} of {Streams} and {Rivers}–{A} {Systematic} {Review}}, + volume = {12}, + issn = {2073-4441}, + doi = {10.3390/w12123523}, + language = {en}, + number = {12}, + journal = {Water}, + author = {Ferreira, V. and Elosegi, A. and D. Tiegs, S. and Von Schiller, D. and Young, R.}, + year = {2020}, + pages = {3523}, +} + +@article{carleton2022valuing, + title = {Valuing the {{Global Mortality Consequences}} of {{Climate Change Accounting}} for {{Adaptation Costs}} and {{Benefits}}}, + author = {Carleton, Tamma and Jina, Amir and Delgado, Michael and Greenstone, Michael and Houser, Trevor and Hsiang, Solomon and Hultgren, Andrew and Kopp, Robert E and McCusker, Kelly E and Nath, Ishan and Rising, James and Rode, Ashwin and Seo, Hee Kwon and Viaene, Arvid and Yuan, Jiacan and Zhang, Alice Tianbo}, + year = {2022}, + month = sep, + journal = {The Quarterly Journal of Economics}, + volume = {137}, + number = {4}, + pages = {2037--2105}, + issn = {0033-5533, 1531-4650}, + doi = {10.1093/qje/qjac020}, + copyright = {https://academic.oup.com/journals/pages/open\_access/funder\_policies/chorus/standard\_publication\_model}, + langid = {english} +} + +@misc{englander2024timeless, + title = {Timeless principles for better figure design}, + url = {https://blogs.worldbank.org/en/impactevaluations/timeless-principles-for-better-figure-design?CID=WBW_AL_BlogNotification_en_EXT}, + journal = {World Bank Blogs}, + author = {Englander, Gabriel}, + year = {2024}, + month = may +} \ No newline at end of file diff --git a/overleaf/chapters/title.tex b/overleaf/chapters/title.tex new file mode 100644 index 0000000..1449a89 --- /dev/null +++ b/overleaf/chapters/title.tex @@ -0,0 +1,30 @@ +\newpage% +\clearpage% +\begin{titlepage}% + \begin{center}% + \begin{figure}% + \centering% + \begin{subfigure}[b]{0.7\textwidth}% + \includegraphics[width=\textwidth]{ghe-logo-vector.pdf}% + \end{subfigure}% + \\% + \begin{subfigure}[b]{0.5\textwidth}% + \includegraphics[width=\textwidth]{eth_logo_kurz_pos.pdf}% + \end{subfigure}% + \end{figure}% + + \vspace*{1cm}% + + {\LARGE Development of a Smart System Education Platform \\ . \par}% + + \vspace{1.0cm}% + {\large\begin{tabular}{rl} + Author : & Nicolas Y.C. Triebold \\ + Supervisors :& Prof. Elizabeth Tilley \\ + & Prof. Chris Rogers \\ + % Tutors :& Tutor's name + \end{tabular}}% + \vfill% + \today% defense date + \end{center}% +\end{titlepage}% \ No newline at end of file diff --git a/overleaf/habbrv.bst b/overleaf/habbrv.bst new file mode 100644 index 0000000..adeb579 --- /dev/null +++ b/overleaf/habbrv.bst @@ -0,0 +1,1211 @@ +% 2017-11-13 Gautam Iyer: Modified to include DOI links. +% +% habbrv: adds eprint field (www-admin@xxx.lanl.gov) +% an extension of: +% BibTeX standard bibliography style `abbrv' + % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09. + % Copyright (C) 1985, all rights reserved. + % Copying of this file is authorized only if either + % (1) you make absolutely no changes to your copy, including name, or + % (2) if you do make changes, you name it something other than + % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst. + % This restriction helps ensure that all standard styles are identical. + % The file btxbst.doc has the documentation for this style. + +ENTRY + { address + author + booktitle + chapter + edition + editor + eprint + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + url + doi + volume + year + } + {} + { label } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} + +STRINGS { s t } + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem{" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { numnames #2 > + { "," * } + 'skip$ + if$ + t "others" = + { " et~al." * } + { " and " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + editor num.names$ #1 > + { ", editors" * } + { ", editor" * } + if$ + } + if$ +} + +FUNCTION {format.title} +{ title empty$ + { "" } + { title "t" change.case$ } + if$ +} + +FUNCTION {format.eprint} +{ eprint empty$ + { "" } + { "\burlalt{" eprint * "}{http://arxiv.org/abs/" * eprint * "}" * } + if$ +} + +FUNCTION {format.url} +{ doi empty$ not + url empty$ + or + { "" } + { "\urlprefix\url{" url * "}" * } + if$ +} + +FUNCTION {format.doi} +{ doi empty$ + { "" } + { "\doi{" doi * "}" * } + if$ +} + + +FUNCTION {n.dashify} +{ 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { month " " * year * } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title emphasize +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { "volume" volume tie.or.space.connect + series empty$ + 'skip$ + { " of " * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { "number" } + { "Number" } + if$ + number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " in " * series * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { output.state mid.sentence = + { edition "l" change.case$ " edition" * } + { edition "t" change.case$ " edition" * } + if$ + } + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "pages" pages n.dashify tie.or.space.connect } + { "page" pages tie.or.space.connect } + if$ + } + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null + number empty$ + 'skip$ + { "(" number * ")" * * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ + pages empty$ + 'skip$ + { duplicate$ empty$ + { pop$ format.pages } + { ":" * pages n.dashify * } + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { "chapter" } + { type "l" change.case$ } + if$ + chapter tie.or.space.connect + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { "In " booktitle emphasize * } + { "In " format.editors * ", " * booktitle emphasize * } + if$ + } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { "Technical Report" } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "In {\em " journal * "\/}" * } + if$ + } + { "In " key * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ editor #1 "{vv~}{ll}" format.name$ + editor num.names$ duplicate$ + #2 > + { pop$ " et~al." * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " et~al." * } + { " and " * editor #2 "{vv~}{ll}" format.name$ * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "In " + } + { "Volume" volume tie.or.space.connect + " of " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { "{\em " * series * "\/}" * } + if$ + } + { key * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "In {\em " booktitle * "\/}" * } + if$ + } + { "In " key * } + if$ + } + { "In " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { journal emphasize "journal" output.check + format.vol.num.pages output + format.date "year" output.check + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + new.block + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.chapter.pages "chapter and pages" output.check + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { format.chapter.pages "chapter and pages" output.check + new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.chapter.pages output + new.sentence + publisher "publisher" output.check + address output + format.edition output + format.date "year" output.check + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.pages output + address empty$ + { organization publisher new.sentence.checkb + organization output + publisher output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + organization output + publisher output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + new.block + format.btitle "title" output.check + author empty$ + { organization empty$ + { address new.block.checka + address output + } + 'skip$ + if$ + } + { organization address new.block.checkb + organization output + address output + } + if$ + format.edition output + format.date output + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + "Master's thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + title howpublished new.block.checkb + format.title output + howpublished new.block.checka + howpublished output + format.date output + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.btitle "title" output.check + new.block + "PhD thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output } + { format.editors output.nonnull } + if$ + new.block + format.btitle "title" output.check + format.bvolume output + format.number.series output + address empty$ + { editor empty$ + { publisher new.sentence.checka } + { organization publisher new.sentence.checkb + organization output + } + if$ + publisher output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + editor empty$ + 'skip$ + { organization output } + if$ + publisher output + } + if$ + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + format.eprint output + new.block + format.doi output + new.block + format.url output + new.block + note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + note "note" output.check + format.date output + format.eprint output + new.block + format.url output + new.block + format.doi output + fin.entry +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"Jan."} + +MACRO {feb} {"Feb."} + +MACRO {mar} {"Mar."} + +MACRO {apr} {"Apr."} + +MACRO {may} {"May"} + +MACRO {jun} {"June"} + +MACRO {jul} {"July"} + +MACRO {aug} {"Aug."} + +MACRO {sep} {"Sept."} + +MACRO {oct} {"Oct."} + +MACRO {nov} {"Nov."} + +MACRO {dec} {"Dec."} + +MACRO {acmcs} {"ACM Comput. Surv."} + +MACRO {acta} {"Acta Inf."} + +MACRO {cacm} {"Commun. ACM"} + +MACRO {ibmjrd} {"IBM J. Res. Dev."} + +MACRO {ibmsj} {"IBM Syst.~J."} + +MACRO {ieeese} {"IEEE Trans. Softw. Eng."} + +MACRO {ieeetc} {"IEEE Trans. Comput."} + +MACRO {ieeetcad} + {"IEEE Trans. Comput.-Aided Design Integrated Circuits"} + +MACRO {ipl} {"Inf. Process. Lett."} + +MACRO {jacm} {"J.~ACM"} + +MACRO {jcss} {"J.~Comput. Syst. Sci."} + +MACRO {scp} {"Sci. Comput. Programming"} + +MACRO {sicomp} {"SIAM J. Comput."} + +MACRO {tocs} {"ACM Trans. Comput. Syst."} + +MACRO {tods} {"ACM Trans. Database Syst."} + +MACRO {tog} {"ACM Trans. Gr."} + +MACRO {toms} {"ACM Trans. Math. Softw."} + +MACRO {toois} {"ACM Trans. Office Inf. Syst."} + +MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."} + +MACRO {tcs} {"Theoretical Comput. Sci."} + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { " " * } + 'skip$ + if$ + s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := + nameptr numnames = t "others" = and + { "et al" * } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.organization.sort} +{ author empty$ + { organization empty$ + { key empty$ + { "to sort, need author, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.organization.sort} +{ editor empty$ + { organization empty$ + { key empty$ + { "to sort, need editor, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.organization.sort + { type$ "manual" = + 'author.organization.sort + 'author.sort + if$ + } + if$ + } + if$ + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ + "\expandafter\ifx\csname url\endcsname\relax" + write$ newline$ + " \def\url#1{\texttt{#1}}\fi" + write$ newline$ + "\expandafter\ifx\csname doi\endcsname\relax" + write$ newline$ + " \def\doi#1{\burlalt{doi:#1}{http://dx.doi.org/#1}}\fi" + write$ newline$ + "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi" + write$ newline$ + "\expandafter\ifx\csname href\endcsname\relax" + write$ newline$ + " \def\href#1#2{#2}\fi" + write$ newline$ + "\expandafter\ifx\csname burlalt\endcsname\relax" + write$ newline$ + " \def\burlalt#1#2{\href{#2}{#1}}\fi" + write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} \ No newline at end of file diff --git a/overleaf/images/Tree_example_VIS.jpg b/overleaf/images/Tree_example_VIS.jpg new file mode 100644 index 0000000..b766c0d Binary files /dev/null and b/overleaf/images/Tree_example_VIS.jpg differ diff --git a/overleaf/images/dmavt-logo.pdf b/overleaf/images/dmavt-logo.pdf new file mode 100644 index 0000000..c3a6965 Binary files /dev/null and b/overleaf/images/dmavt-logo.pdf differ diff --git a/overleaf/images/eth_logo_kurz_pos.pdf b/overleaf/images/eth_logo_kurz_pos.pdf new file mode 100644 index 0000000..7396114 Binary files /dev/null and b/overleaf/images/eth_logo_kurz_pos.pdf differ diff --git a/overleaf/images/ghe-logo-vector.pdf b/overleaf/images/ghe-logo-vector.pdf new file mode 100644 index 0000000..b1145d9 Binary files /dev/null and b/overleaf/images/ghe-logo-vector.pdf differ diff --git a/overleaf/images/small-multiple.png b/overleaf/images/small-multiple.png new file mode 100644 index 0000000..3aaf00c Binary files /dev/null and b/overleaf/images/small-multiple.png differ diff --git a/overleaf/main.tex b/overleaf/main.tex new file mode 100644 index 0000000..ff34f70 --- /dev/null +++ b/overleaf/main.tex @@ -0,0 +1,81 @@ +% Template created by Jakub Tkaczuk at the Department of Cryogenic Engineering of CEA-Grenoble +% and modified for the Global Health Engineering chair of ETH Zurich +% +\documentclass[ + 12pt,% + a4paper,% + %oneside% uncomment this line if you want to remove the blank pages at the end of the chapter +]{book}% +\usepackage{import} +\usepackage{StyleAndSettings} +% +%%%%%%%%%%%%%% +%% document %% +%%%%%%%%%%%%%% +% +\begin{document}% +% +%%%%%%%%%%%%%%%%%% +%% front matter %% +%%%%%%%%%%%%%%%%%% +% +\frontmatter% +% +\pagenumbering{roman}% +% +\clearpage% +\pagestyle{empty}% +\input{./chapters/title.tex}% +\blankpage% +\input{./chapters/acknowledgements.tex}% +\blankpage% +% +\clearpage% +\pagestyle{frontmatter}% +\tableofcontents% +% +\listoftables% +\addcontentsline{toc}{chapter}{List of Tables}% +\phantomsection% +% +\listoffigures% +\addcontentsline{toc}{chapter}{List of Figures}% +\phantomsection% +% +\clearpage% +\pagestyle{backmatter}% +\input{./chapters/00_abstract.tex}% +% +%%%%%%%%%%%%%%%%% +%% main matter %% +%%%%%%%%%%%%%%%%% +% +\mainmatter% +\pagestyle{mainmatter}% +% +\pagenumbering{arabic}% +\input{./chapters/01_introduction.tex}% +\input{./chapters/02_methods.tex}% +\input{./chapters/03_results.tex}% +\input{./chapters/04_conclusions.tex}% +\input{./chapters/05_biblio_descr.tex}% +% +%%%%%%%%%%%%%%%%% +%% back matter %% +%%%%%%%%%%%%%%%%% +% +\backmatter% +\pagestyle{backmatter}% +% +\begin{singlespace}% +\cleardoublepage% +\phantomsection% +\addcontentsline{toc}{chapter}{Bibliography}% +\printbibliography +\end{singlespace}% +% +\appendix% +\input{./chapters/07_appendix_A.tex}% +% +\end{document}% +% \ No newline at end of file diff --git a/overleaf/main.tex.bak b/overleaf/main.tex.bak new file mode 100644 index 0000000..13b257d --- /dev/null +++ b/overleaf/main.tex.bak @@ -0,0 +1,164 @@ +\documentclass[12pt, twoside, a4paper]{report}% +\usepackage[top=72pt,% 72 pt = 1 inch + bottom=108pt,% 5/4 inch + inner=108pt,% 5/4 inch + outer=54pt% 3/4 inch +]{geometry}% interface to document dimensions +\usepackage[utf8]{inputenc}% translates various standards into LaTeX +\usepackage[T1]{fontenc}% font encoding +\usepackage{titlesec}% alternative section titles +\usepackage[bitstream-charter]{mathdesign}% font Charter BT +\usepackage{amsmath}% most of the needed math features +\usepackage{mathtools}% an addition to amsmath +\usepackage[english]{babel}% spelling check +\usepackage{array}% extensive implementation of array and tabular environments +\usepackage{caption}% customize captions in floating environments like figures, tables +\usepackage{subcaption}% analogous to the caption package but for subcaptions +\usepackage{fancyhdr}% extensive control of page headers and footers +\usepackage{color}% foreground and background color management +\usepackage{xcolor}% personalize the font colors +\usepackage{hyperref}% handles cross-referencing commands +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% define the header and footer %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\fancypagestyle{plain}{% define the chapter first page style % + \fancyhf{}% + \fancyfootoffset[OR]{1.85cm}% + \fancyfoot[OR]{% + \leftmark% + \hspace*{0.75cm}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{10pt}% + \begin{minipage}[b]{42pt}% + \normalsize\textbf{\thepage}% + \end{minipage}% + }% + \fancyfootoffset[EL]{1.85cm}% + \fancyfoot[EL]{% + \begin{minipage}[b]{42pt}% + \raggedleft\normalsize\textbf{\thepage}% + \end{minipage}% + \hspace*{10pt}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{0.75cm}% + \MakeUppercase{\chaptername\ \thechapter}% + }% + \renewcommand{\headrulewidth}{0pt}% + \renewcommand{\footrulewidth}{0pt}% +}% +% +\fancypagestyle{maincontentstyle}{% define the normal page style % + \pagestyle{plain}% + \fancyhf{}% + \fancyfootoffset[OR]{1.85cm}% + \fancyfoot[OR]{% + \leftmark% + \hspace*{0.75cm}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{10pt}% + \begin{minipage}[b]{42pt}% + \normalsize\textbf{\thepage}% + \end{minipage}% + }% + \fancyfootoffset[EL]{1.85cm}% + \fancyfoot[EL]{% + \begin{minipage}[b]{42pt}% + \raggedleft\normalsize\textbf{\thepage}% + \end{minipage}% + \hspace*{10pt}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{0.75cm}% + \MakeUppercase{\chaptername\ \thechapter}% + }% +}% +% +\fancypagestyle{bibstyle}{% define the bibliography style % + \fancyhf{}% + \fancyfootoffset[OR]{1.85cm}% + \fancyfoot[OR]{% + \leftmark% + \hspace*{0.75cm}% + \rule[-90pt]{1pt}{100pt}% + \hspace*{10pt}% + \begin{minipage}[b]{42pt}% + \normalsize\textbf{\thepage}% + \end{minipage}% + }% + \fancyfootoffset[EL]{1.85cm}% + \fancyfoot[EL]{% + \begin{minipage}[b]{42pt}% + \raggedleft\normalsize\textbf{\thepage}% + \end{minipage}% + \hspace*{10pt}% + \rule[-90pt]{1pt}{100pt}% + }% +}% +% +\pagestyle{maincontentstyle}% +\pagestyle{fancy}% +\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\quad{#1}}}{}}% +\renewcommand{\sectionmark}[1]{\markright{\MakeUppercase{\thesection\quad{#1}}}}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% redefine the chapter, section, subsection title displaying %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\titleformat{\chapter}{\huge\scshape}{\thechapter}{1em}{}% +\titleformat{\section}{\LARGE}{\thesection}{1em}{}% +\titleformat{\subsection}{\Large}{\thesubsection}{1em}{}% +\titleformat{\subsubsection}{\large}{\thesubsubsection}{1em}{}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% define zero-indentation in the whole document %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\setlength\parindent{0pt}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% define the blankpage and blankpagesubs %% +%% (the second one subtracts 1 from the page counter) %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\blankpage{\clearpage\thispagestyle{empty}\null\clearpage}% +% +%% document %% +\begin{document}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% define new colors %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +%\definecolor{myblue}{rgb}{0.0000, 0.4470, 0.7410} +\definecolor{myblue}{RGB}{46, 48, 146} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% front matter %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\pagenumbering{roman}% +\blankpage% +\input{./chapters/title_recto.tex}% +\input{./chapters/title_verso.tex}% +\input{./chapters/second_title.tex}% +\blankpage% +\input{./chapters/disclaimer.tex}% +\blankpage% +\addtocounter{page}{-6}% do not count the pages above % +\input{./chapters/abstract_EN.tex}% +\input{./chapters/abstrait_FR.tex}% +\tableofcontents% +\cleardoublepage% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% main matter %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\clearpage\pagenumbering{arabic}% +\input{./chapters/introduction.tex}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% back matter %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\input{./chapters/biblio.tex}% +% +\end{document}% \ No newline at end of file diff --git a/overleaf/unsrtDOI.bst b/overleaf/unsrtDOI.bst new file mode 100644 index 0000000..a42fca3 --- /dev/null +++ b/overleaf/unsrtDOI.bst @@ -0,0 +1,976 @@ +% By copying bits of http://www-2.nersc.no/~even/tex/apalike-doi.bst +% I am creating unsrt that shows DOI in the bibliography. +% I am calling it unsrtDOI.bst +% +% This comes with no guarantees at all. I have never modified a bst +% file before. If it works, then a miracle has occurred. +% +% IT ONLY AFFECTS THE ARTICLE CLASS +% +% Best wishes +% +% Darren Goossens, 22 March 2013 +% darrengoossens.wordpress.com +% +% ------------------------------------------------------------------- +% BibTeX standard bibliography style `unsrt' + % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09. + % Copyright (C) 1985, all rights reserved. + % Copying of this file is authorized only if either + % (1) you make absolutely no changes to your copy, including name, or + % (2) if you do make changes, you name it something other than + % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst. + % This restriction helps ensure that all standard styles are identical. + % The file btxbst.doc has the documentation for this style. + +ENTRY + { address + author + booktitle + chapter + edition + editor + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + volume + year + doi + } + {} + { label } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} + +STRINGS { s t } + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem{" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { numnames #2 > + { "," * } + 'skip$ + if$ + t "others" = + { " et~al." * } + { " and " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + editor num.names$ #1 > + { ", editors" * } + { ", editor" * } + if$ + } + if$ +} + +FUNCTION {format.title} +{ title empty$ + { "" } + { title "t" change.case$ } + if$ +} + +FUNCTION {format.doi} +{ + doi empty$ + { "" } + { "doi:" doi * } + if$ +} + +FUNCTION {n.dashify} +{ 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { month " " * year * } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title emphasize +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { "volume" volume tie.or.space.connect + series empty$ + 'skip$ + { " of " * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { "number" } + { "Number" } + if$ + number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " in " * series * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { output.state mid.sentence = + { edition "l" change.case$ " edition" * } + { edition "t" change.case$ " edition" * } + if$ + } + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "pages" pages n.dashify tie.or.space.connect } + { "page" pages tie.or.space.connect } + if$ + } + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null + number empty$ + 'skip$ + { "(" number * ")" * * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ + pages empty$ + 'skip$ + { duplicate$ empty$ + { pop$ format.pages } + { ":" * pages n.dashify * } + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { "chapter" } + { type "l" change.case$ } + if$ + chapter tie.or.space.connect + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { "In " booktitle emphasize * } + { "In " format.editors * ", " * booktitle emphasize * } + if$ + } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { "Technical Report" } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "In {\em " journal * "\/}" * } + if$ + } + { "In " key * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ editor #1 "{vv~}{ll}" format.name$ + editor num.names$ duplicate$ + #2 > + { pop$ " et~al." * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " et~al." * } + { " and " * editor #2 "{vv~}{ll}" format.name$ * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "In " + } + { "Volume" volume tie.or.space.connect + " of " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { "{\em " * series * "\/}" * } + if$ + } + { key * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "In {\em " booktitle * "\/}" * } + if$ + } + { "In " key * } + if$ + } + { "In " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { journal emphasize "journal" output.check + format.vol.num.pages output + format.date "year" output.check + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.doi output + new.block + note output + fin.entry +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + new.block + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + new.block + note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.chapter.pages "chapter and pages" output.check + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { format.chapter.pages "chapter and pages" output.check + new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.chapter.pages output + new.sentence + publisher "publisher" output.check + address output + format.edition output + format.date "year" output.check + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + new.block + note output + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.pages output + address empty$ + { organization publisher new.sentence.checkb + organization output + publisher output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + organization output + publisher output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + new.block + note output + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + new.block + format.btitle "title" output.check + author empty$ + { organization empty$ + { address new.block.checka + address output + } + 'skip$ + if$ + } + { organization address new.block.checkb + organization output + address output + } + if$ + format.edition output + format.date output + new.block + note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + "Master's thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + title howpublished new.block.checkb + format.title output + howpublished new.block.checka + howpublished output + format.date output + new.block + note output + fin.entry + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.btitle "title" output.check + new.block + "PhD thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output } + { format.editors output.nonnull } + if$ + new.block + format.btitle "title" output.check + format.bvolume output + format.number.series output + address empty$ + { editor empty$ + { publisher new.sentence.checka } + { organization publisher new.sentence.checkb + organization output + } + if$ + publisher output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + editor empty$ + 'skip$ + { organization output } + if$ + publisher output + } + if$ + new.block + note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + note "note" output.check + format.date output + fin.entry +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"January"} + +MACRO {feb} {"February"} + +MACRO {mar} {"March"} + +MACRO {apr} {"April"} + +MACRO {may} {"May"} + +MACRO {jun} {"June"} + +MACRO {jul} {"July"} + +MACRO {aug} {"August"} + +MACRO {sep} {"September"} + +MACRO {oct} {"October"} + +MACRO {nov} {"November"} + +MACRO {dec} {"December"} + +MACRO {acmcs} {"ACM Computing Surveys"} + +MACRO {acta} {"Acta Informatica"} + +MACRO {cacm} {"Communications of the ACM"} + +MACRO {ibmjrd} {"IBM Journal of Research and Development"} + +MACRO {ibmsj} {"IBM Systems Journal"} + +MACRO {ieeese} {"IEEE Transactions on Software Engineering"} + +MACRO {ieeetc} {"IEEE Transactions on Computers"} + +MACRO {ieeetcad} + {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} + +MACRO {ipl} {"Information Processing Letters"} + +MACRO {jacm} {"Journal of the ACM"} + +MACRO {jcss} {"Journal of Computer and System Sciences"} + +MACRO {scp} {"Science of Computer Programming"} + +MACRO {sicomp} {"SIAM Journal on Computing"} + +MACRO {tocs} {"ACM Transactions on Computer Systems"} + +MACRO {tods} {"ACM Transactions on Database Systems"} + +MACRO {tog} {"ACM Transactions on Graphics"} + +MACRO {toms} {"ACM Transactions on Mathematical Software"} + +MACRO {toois} {"ACM Transactions on Office Information Systems"} + +MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} + +MACRO {tcs} {"Theoretical Computer Science"} + +READ + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} \ No newline at end of file diff --git a/software/README.md b/software/README.md index c68cae5..7a1ee4b 100644 --- a/software/README.md +++ b/software/README.md @@ -38,6 +38,7 @@ The repository has the following directory tree. │ ├── net code.py │ ├── networking new backup.py │ ├── networking2.py + │ ├── networking_backup copy.py │ ├── networking_backup.py │ ├── networking_old copy.py │ ├── networking_old.py @@ -74,11 +75,9 @@ The repository has the following directory tree. └── release ├── README.md ├── README.qmd - ├── __pycache__ ├── adxl345.py ├── boot.py ├── config.py - ├── file_list.py ├── files.py ├── hm1.py ├── icons.py diff --git a/software/release/README.md b/software/release/README.md index ec73791..856fe8e 100644 --- a/software/release/README.md +++ b/software/release/README.md @@ -16,12 +16,9 @@ The repository has the following directory tree. ├── README.md ├── README.qmd ├── README.rmarkdown - ├── __pycache__ - │ └── config.cpython-310.pyc ├── adxl345.py ├── boot.py ├── config.py - ├── file_list.py ├── files.py ├── hm1.py ├── icons.py