From 3a81b76d1b22c0109b6f3d81c83af91378fb8800 Mon Sep 17 00:00:00 2001 From: mjkwiatkowski Date: Wed, 8 Jul 2026 13:24:39 +0200 Subject: style: added a nice tcolorbox overview for each chapter --- content/background.tex | 15 +++++++++++++-- content/design.tex | 21 ++++++++++++--------- style/style.tex | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 11 deletions(-) diff --git a/content/background.tex b/content/background.tex index 4fa67c5..6671537 100644 --- a/content/background.tex +++ b/content/background.tex @@ -1,4 +1,15 @@ \chapter{Background}\label{s:background} + +\begin{mynote} + The contribution in this chapter is three-fold: + + \begin{enumerate}[label=\emph{C\textsubscript{\arabic*}}, itemsep=0.2pt] + \item We provide a brief overview on datacenter simulation (\Cref{sss:simulation}), compute failures (\Cref{sss:failures}), and digital twinning (\Cref{sss:what_is_digital_twinning}). + \item We survey the state-of-the-art concerning datacenter digital twinning (\Cref{sss:digital_twins_for_datacenters}). + \item We construct a system model for existing datacenter digital twins (\Cref{ss:system_model_for_dcdts}) + \end{enumerate} +\end{mynote} + \section{Datacenters}\label{ss:datacenters} In this section we provide a short background on datacenter simulation and hardware failures. We find it useful to provide a brief introduction to both topics so as to ensure reader's fullest understanding of subsequent chapters. @@ -171,8 +182,8 @@ Kalibre takes the best of both \gls{ml} and \gls{cfd} approaches and achieves su % Documentation: https://learn.microsoft.com/en-us/azure/digital-twins/ % Moreover, NVIDIA is doing too as well https://www.nvidia.com/en-sg/omniverse/ -%\subsection{System Model for Datacenter Digital Twinning} -%\label{ss:system_model_for_dcdts} +\section{System Model for Datacenter Digital Twinning} +\label{ss:system_model_for_dcdts} \begin{figure}[t] \centering diff --git a/content/design.tex b/content/design.tex index 693f3d9..a6fd23f 100644 --- a/content/design.tex +++ b/content/design.tex @@ -1,11 +1,14 @@ \chapter{Design}\label{s:design} - - -\todo{ - In this section, you would provide a high-level description of the system or - solution and explain your design choices. -} - - -\lipsum[1-10] +\begin{mynote} + Our contribution in this chapter is three-fold: + \vspace{-0.2cm} + \begin{enumerate}[label=\emph{C\textsubscript{\arabic*}}, itemsep=0.2pt] + \item We analyze the requirements for \mysystem (\Cref{ss:requirements_analysis}). + \item We propose a conceptual design for \mysystem's architecture (\Cref{ss:design_of_mysystem}) + \item We describe how \mysystem enables predictive analytics through digital twinning (\Cref{ss:design_discussion}) + \end{enumerate} +\end{mynote} +\section{Requirements Analysis}\label{ss:requirements_analysis} +\section{Design of \emph{Sunfish}}\label{ss:design_of_mysystem} +\section{Discussion}\label{ss:design_discussion} diff --git a/style/style.tex b/style/style.tex index ed43238..2cbd0f2 100644 --- a/style/style.tex +++ b/style/style.tex @@ -1,6 +1,10 @@ \usepackage[T1]{fontenc} \usepackage[inline]{enumitem} \usepackage[dvipsnames]{xcolor} +\usepackage[many]{tcolorbox} +\tcbuselibrary{skins, breakable} +\usetikzlibrary{calc} + \usepackage{xspace,hyperref, lipsum, booktabs, caption, fancyhdr, footmisc, nomencl, rotating, setspace, subfigure,tocbibind, vmargin, watermark, graphicx, pifont, float, array, ipsum, circledsteps, inconsolata, listings} \hypersetup { @@ -24,6 +28,7 @@ \newcommand{\etc}{\emph{etc.}\xspace} \newcommand{\etal}{\emph{et~al.}\xspace} \newcommand{\todo}[1]{\textcolor{blue}{#1}} +\newcommand{\mysystem}{\emph{Sunfish}\xspace} \newcommand\myCircled[1]{\scalebox{0.75}{\Circled[fill color=black,inner color=white]{{\sffamily#1}}}} @@ -59,4 +64,32 @@ \lstset{style=mystyle} + + +\definecolor{ChapterBackground}{HTML}{101010} +\definecolor{ChapterForeground}{HTML}{e93820} +\definecolor{CoverForeground}{HTML}{ee0000} + +%borderline west = {0.5cm}{0pt}{yellow!50!black}, +\newtcolorbox{mynote}{% + enhanced, + breakable, + boxrule = 0.2mm, + colback = yellow!60!white, + colframe=yellow!60!black, + sharp corners, + rounded corners = southeast, + arc is angular, + arc = 3mm, + drop fuzzy shadow=gray!90, + leftrule=0.6cm, + overlay unbroken = {% + \path[fill = tcbcolback!80!black,draw=yellow!60!black] + ([yshift = 3mm]interior.south east) -- ++(-0.4,-0.1) -- ++(0.1,-0.2); + + \node[inner sep=0pt,xshift=.3cm, anchor=center] + at ($ (frame.north west)!.5!(frame.south west) $) {\Huge \textbf{\textcolor{white}{!}}}; + }, +} + \renewcommand\baselinestretch{1.2} -- cgit v1.2.3