-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.tex
461 lines (404 loc) · 15.2 KB
/
Main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
\documentclass{EESD}
% To change the slides size go to EESD.cls file and edit the preamble as explained.
% ---- Add your Meta-data to the PDF (Copyrights Kinda!) ----
\hypersetup{
pdfinfo={
Title={Presentation: 3D finite element modeling of historical masonry walls},
Author={Mahmoud S. Shaqfa, Katrin Beyer},
Subject={EPFL - ENAC - EESD Lab},
Keywords={Stone masonry, Detailed micro-mechanical, 3D micro-structure}
}
}
% Important packages to be called
\usepackage{subcaption} % for adding sub-figures
\usepackage{graphicx}
\usepackage{tikz} % for cool graphics and drawings
\usepackage[absolute,overlay]{textpos} % To place the figures by coordinates (x,y) - Beamer doesn't support floats XD
\usepackage{multicol} % To adjust items and stuff automatically in a number of a pre-specified columns
\graphicspath{{Figures/}}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{lipsum} % Just a dummy text generator
\usepackage{hyperref}
% fonts packages
\usepackage{ragged2e} % Justified typesetting
% For References Only
\usepackage[style=authortitle,backend=bibtex]{biblatex}
\addbibresource{References.bib} % Call the references database
\AtBeginBibliography{\tiny} % Specify font size (Size matters)
\renewcommand{\footnotesize}{\tiny}
% For adding code blocks
\usepackage{listings}
\lstset
{
language=[LaTeX]TeX,
breaklines=true,
basicstyle=\tt\scriptsize,
keywordstyle=\color{blue},
identifierstyle=\color{magenta},
commentstyle=\color{red},
rulecolor=\color{black},
numbers=left,
numberstyle=\tiny\color{black},
% framexleftmargin=15pt,
frame = single,
}
\author{The Templator}
\title[Your tiny title here]{My long, detailed, and flashy title}
\institute[ENAC]{{\'Ecole Polytechnique F\'ed\'erale de Lausanne (EPFL)}{\newline\newline School of Architecture, Civil and Environmental Engineering (ENAC)}}
\subject{Candidacy Exam}
\date{May 2019}
\begin{document}
{ % <-- don't forget the scope resolution (Brackets) to limit the background change only for the cover page; otherwise, it will override the whole document's background :)
\usebackgroundtemplate{} % To add a background for this slide XD - Empty one
\coverpage{
\titlepage{~}
% To add additional text to the title components
{\newline Supervisor: Prof. Katrin Beyer}
}
} % <-- and yeah close them too :)
% To define the cover-page here .. I prefer this
{
\usebackgroundtemplate{\includegraphics[width=1.\paperwidth, height=1.\paperheight]{cover169.pdf}} % To add a background for this slide XD - change it
\coverpage{
\titlepage{~}
% To add additional text to the title components
{\newline Supervisor: Prof. Katrin Beyer}
}
}
{
% Add background and adjust the opacity
\usebackgroundtemplate{
\begin{tikzpicture}%
\node[opacity=0.1]{\includegraphics[width=1.\paperwidth, height=1.\paperheight]{homer-simpson.jpg}
};%
\end{tikzpicture}
} % To add a background for this slide XD - Homer Simpson - Source: https://www.kcbi.org/to-be-understand-the-bible-we-need-to-listen-to-homer-simpson/
\coverpage{
\titlepage{~}
% To add additional text to the title components
{\newline Supervisor: Prof. Katrin Beyer}
}
}
\setbeamertemplate{logo}{} % To override the logo from the other slides and delete it completely
% -----------------------Table of contents TOC Three Styles
% Explicitly split the TOC if it's too long
% \begin{frame}[allowframebreaks]{Outlines}
% \tableofcontents[sections={1-3}] % Explicitly split TOC
% \framebreak
% \tableofcontents[sections={4-7}] % Explicitly split TOC
% \end{frame}
% % Just a normal TOC
% \begin{frame}[allowframebreaks]{Outlines}
% \tableofcontents
% \end{frame}
% Use smart division for the TOC
\begin{frame}{Outlines}
\begin{multicols}{2}
\tableofcontents
\end{multicols}
\end{frame}
% -----------------------Introduction
\section{Introduction}
\breakingframe{
\begin{textblock*}{3cm}[0.5,0.5](0.5\textwidth, 0.5\textheight)
\Huge\textbf{\textcolor{black}{Introduction}}
\end{textblock*}
}
\subsection{Copyright}
\begin{frame}[t]{Copyright}
\begin{textblock*}{13cm}(1.0cm, 1.7cm)
{\fontfamily{qcr}\selectfont
This file is a customized "beamer" template made for the EESD laboratory at EPFL (see \href{https://www.epfl.ch/labs/eesd/}{https://www.epfl.ch/labs/eesd/}). The author of this file is \textbf{Mahmoud S. Shaqfa}. This file is free: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. To receive a copy of GNU License refer to: \href{https://www.gnu.org/licenses/}{https://www.gnu.org/licenses/}
}
\end{textblock*}
\end{frame}
\subsection{Cover page}
\begin{frame}[fragile]
\frametitle{Cover page}
To define the cover page use the following code:
\vspace{10pt}
\begin{lstlisting}
{ % <-- Important to add those brackets; to affect only the background in this frame.
\usebackgroundtemplate{\includegraphics[]{}} % <-- Define the background here
\coverpage{
\titlepage % make the title here
{\newline Additional text like the supervisors, jury .. etc}
}
}
} % <-- end of the environment
\end{lstlisting}
\vspace{10pt}
\end{frame}
\begin{frame}
\frametitle{Honest-to-god!}
\begin{columns}
\begin{column}{0.7\textwidth}
\textcolor{red}{\textbf{A dummy note:}} to define a very \textcolor{blue}{\#swaggy} background you can create a PDF file of the slide size and place it with any graphical effect by using Inkscape\footnotemark or Adobe Illustrator.
\begin{block}{Inkscape advice}
Make all your drawings/charts vectorized. In this way, they will look important and professional. And use Inkscape it is free, open-source, easy to use, and again FREE! Unfortunately, \LaTeX~ doesn't deal directly with *.SVG, *.EPS, or *.EMF drawings; convert them to *.PDF. *.PDF files come with price! They're bigger in size.
\end{block}
\end{column}
\footcitetext{Inkscape}
\begin{column}{0.30\textwidth}
\centering{My secret weapon for perfect drawings:
\begin{enumerate}
\item Blender\footnotemark
\item Inkscape
\end{enumerate}
}
\vspace{0.7cm}
\includegraphics[height=0.3\textheight]{Blender_Inkscape.pdf}
\end{column}
\footcitetext{REF:30}
\end{columns}
\end{frame}
\subsection{Table of contents (TOC)}
\begin{frame}[fragile]
\frametitle{TOC options}
\vspace{5pt}
\begin{lstlisting}
\tableofcontents % <-- Traditional TOC
\end{lstlisting}
\vspace{5pt}
\begin{lstlisting}
\tableofcontents[sections={1-3}] % <-- Explicitly split TOC
\end{lstlisting}
\vspace{5pt}
\begin{lstlisting}
\usepackage{multicol}
\begin{multicols}{2} % <-- Smart division (2, 3, ..etc any number of columns)
\tableofcontents
\end{multicols}
\end{lstlisting}
\vspace{5pt}
And define the frame to automatically divide itself when the TOC is too long to fit in a single frame:
\begin{lstlisting}
% \begin{frame}[allowframebreaks]{Table of contents}
% \end{frame}
\end{lstlisting}
\end{frame}
\section{EESD logo}
\breakingframe{
\begin{textblock*}{5cm}[0.5,0.5](0.45\textwidth, 0.55\textheight)
\includegraphics[height = 0.3\textheight]{EESD_white.pdf}
\end{textblock*}
}
\subsection{A new visual identity}
\begin{frame}
\frametitle{A new visual identity}
\centering{It has been derived from the new EPFL logo. It reflects the same simplicity and consistency.}
\end{frame}
\begin{frame}
\frametitle{The logo}
\includegraphics[height=0.37\textheight]{EESD_different_bg.pdf}
\end{frame}
\begin{frame}
\frametitle{How we do it?}
\hspace{1.7cm}
\includegraphics[height=0.7\textheight]{EESD_how_1.pdf}
\end{frame}
\begin{frame}
\frametitle{How we do it?}
\hspace{1.7cm}
\includegraphics[height=0.7\textheight]{EESD_how_2.pdf}
\end{frame}
\begin{frame}
\frametitle{How to dee?}
\begin{textblock*}{1cm}[0.50,0.5](0.15\textwidth, 0.65\textheight)
\includegraphics[height=0.35\textheight]{EESD_how_3.pdf}
\end{textblock*}
\end{frame}
\section{How to use?}
\breakingframe{
\begin{textblock*}{5cm}[0.3,0.5](0.5\textwidth, 0.5\textheight)
\textbf{\Huge{How to use?}}
\end{textblock*}
}
\subsection{Beamer blocks}
\begin{frame}[fragile]
\frametitle{How to use blocks?}
Basically, the blocks style have been modified in "beamer" in this customized version. Programmatic samples can be found in the next three slides.
\vspace{10pt}
\begin{lstlisting}
\begin{block}{The block title}
The block body .. add meaningful stuff
\end{block}
\end{lstlisting}
\vspace{10pt}
It can be used for definitions, equations, theories, examples, alerts, and important stuff to highlight.
\end{frame}
\begin{frame}
\frametitle{Blocky block}
\begin{block}{Just a Block}
\lipsum[1]
\end{block}
\end{frame}
\begin{frame}
\frametitle{Blocky block}
\begin{exampleblock}{Example Block}
\lipsum[1]
\end{exampleblock}
\end{frame}
\begin{frame}
\frametitle{Blocky block}
\begin{alertblock}{Alert Block}
\lipsum[1]
\end{alertblock}
\end{frame}
\subsection{Frames breaker}
\begin{frame}[fragile]
\frametitle{How to use frame-breakings?}
In this template, and only this, I defined a "breakingframe" template frame that should not hold any useful information. The background of this frame is pinkish solid and it is not countable as a separate frame. You can use this as a transitioning page between different topics or for any funny funky stuff to release the tense of the poor audience during your presentation.
\vspace{10pt}
\begin{lstlisting}
\breakingframe{
Put your contents here, such as images, text ..etc. Be as silly as possible .. or not!
}
\end{lstlisting}
\vspace{10pt}
Look at the next slide, in code, as an example!
\end{frame}
\breakingframe{
\begin{textblock*}{10cm}[0.40,0.5](0.55\textwidth, 0.5\textheight)
\textbf{\Huge{I'm just an example!}}
\end{textblock*}
\begin{textblock*}{7cm}[0.40,0.5](0.4\textwidth, 0.8\textheight)
\includegraphics[height = 0.3\textheight]{cat.jpeg}
\end{textblock*}
}
{
\usebackgroundtemplate{\includegraphics[width=1.\paperwidth]{Coordinates.pdf}}
\setbeamertemplate{headline}{}
\setbeamertemplate{footline}{}
\begin{frame}[t]{}
\begin{textblock*}{0.001cm}[0.5,0.5](0.5\textwidth, 0.5\textheight)
\includegraphics[height = 0.25\textheight]{cat.jpeg}
\end{textblock*}
\end{frame}
}
\subsection{Preamble}
\begin{frame}[t]{Preamble}\vspace{4pt}
\begin{itemize}
\item Historical structures are part of the cultural heritage\vspace{10pt}\pause
\item Stone masonry is one of the oldest construction materials\vspace{10pt}\pause
\item Historical stone masonry structures are designed to handle gravity loads\vspace{10pt}\pause
\item Stone masonry structure are vulnerable under seismic actions:\vspace{5pt}
\begin{itemize}
\item Low tensile strength
\item Poor interlocking
\item Large masses
\item Built with rules-of-thumb
\end{itemize}
\end{itemize}
\end{frame}
\breakingframe{
\begin{textblock*}{10cm}(4.7cm,2.8cm)
\Huge\textbf{\textcolor{black}{State-of-the-art}}
\end{textblock*}
\begin{textblock*}{10cm}(1.5cm,4.8cm)
\small\textbf{\textcolor{black}{{\cite{REF:5} (2018)}
}}
\end{textblock*}
}
\begin{frame}[t]{The research questions}\vspace{10pt}
\begin{textblock*}{13cm}(1.3cm,2.8cm)
\begin{itemize}
\item[\textbf{Q1}] What are the expected gains of using 3D micro-mechanical modeling of stone masonry walls?\vspace{10pt}\pause
\item[\textbf{Q2}] What tools/methods will be used to relax the 3D FE models' complexity?\vspace{20pt}\pause
\item[\textbf{Q3}] How to estimate the stone-mortar interface strength of a simplified surfaces?
\end{itemize}
\end{textblock*}
\end{frame}
\breakingframe{
\begin{textblock*}{10cm}(3.7cm,2.9cm)
\Huge\textbf{\textcolor{black}{Why we are shifting to 3D micro-mechanical modeling?}}
\end{textblock*}
}
\begin{frame}[t]{Motivation: \textcolor{myviolet}{{\textbf{Q1}}}}\vspace{10pt}
\begin{textblock*}{13cm}(1.7cm,2.7cm)
\begin{enumerate}[<+->]
\setlength\itemsep{10pt}
\item Stone masonry walls are usually not homogeneous through the thickness
\item Leaf-separation effects on the strength capacity
\item In-plane and out-of-plane behaviours interaction
\item Internal cracking onsets and 3D crack paths (cannot be captured experimentally)
\end{enumerate}
\end{textblock*}
\end{frame}
\subsection{Methodology}
\begin{frame}[t]{The study main phases}\vspace{10pt}
\begin{textblock*}{13cm}(3.8cm,0.7cm)
\includegraphics[height = 0.6\textwidth]{loop.pdf}
\end{textblock*}
\end{frame}
\breakingframe{
\begin{textblock*}{13cm}(3.5cm,4cm)
\Huge\textbf{\textcolor{black}{How to arrange stones?}}
\end{textblock*}
}
\begin{frame}[t]{Objective function}\vspace{1pt}
\begin{columns}
\begin{column}{0.49\textwidth}
\begin{overprint}
\onslide<1->\begin{block}{Packing objective}
\begin{equation*}
\text{Minimize}~F(\vec{X_i})_{i}~=~\mid\mid \vec{S}_{i} - \vec{S}_{i-1} \mid\mid
\end{equation*}
\begin{equation*}
Fitness\Big(F(\vec{X_i})\Big)_{i} = F(\vec{X_i})_{i}(1 + \xi_{1} P_A)^{\xi_{2}}
\end{equation*}
\end{block}
\end{overprint}
\end{column}
\end{columns}
\begin{textblock*}{3.2cm}(12.5cm,1.5cm)
\tiny{
\begin{itemize}
\item $S_{i}, S_{i-1}$: locations of $i$ and $i-1$ stones
\item $\xi_{1}$: penalty multiplier
\item $\xi_{2}$: penalty exponent
\item $P_{A}$: penalties summation
\end{itemize}
}
\end{textblock*}
\begin{textblock*}{3cm}(12.5cm,1.55cm)
\includegraphics[height = 0.6\linewidth]{brace.pdf}
\end{textblock*}
\end{frame}
\section{Detailed plan}
\begin{frame}{Interface identification: \textcolor{myviolet}{\textbf{Q3}}}\vspace{4pt}
\begin{textblock*}{10cm}(0.3cm, 2.5cm)
\includegraphics[height = 0.5\textwidth]{Interface.pdf}
\end{textblock*}
\begin{textblock*}{10cm}(6.7cm, 2.0cm)
\begin{enumerate}
\setlength\itemsep{10pt}
\item Prepare real samples of stones and mortar\pause
\item Scan the interface surface using the laser scanner\pause
\item Test the samples (direct shear test)\pause
\item Apply different smoothing cycles on the interfaces\pause
\item Use the soft computing algorithms to identify the smoothed interfaces inputs (Benchmark)
\end{enumerate}
\end{textblock*}
\end{frame}
\begin{frame}{Call another section}
\input{Sections/SomeSection.tex}
\end{frame}
% -----------------------References
% Thank you slide should be here
\breakingframe{
\begin{textblock*}{10cm}(3.2cm,4cm)
\Huge\textbf{\textcolor{black}{Merci de votre attention}}
\end{textblock*}
}
% -----------------------References
\section{Bibliography}
% \begin{frame}[allowframebreaks]{\\References}\vspace{4pt}
\begin{frame}{References}\vspace{4pt}
\tiny{\printbibliography}
\end{frame}
\normalsize
\end{document}