File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ Note that the drawing presented in \autoref{fig:language} was obtained using \La
291
291
\vspace* {\fill}
292
292
\begin{figure}
293
293
\centering
294
- \includegraphics{pictures/languages_overview.pdf}
294
+ \includegraphics[ width=\textheight ] {pictures/languages_overview.pdf}
295
295
\caption{Difference between programming languages (simplified)}
296
296
\label{fig: language }
297
297
\end{figure}
Original file line number Diff line number Diff line change 16
16
\usepackage [english ]{datetime2 } % To extract the month and year from the date.
17
17
\usepackage {chngcntr } % To obtain a "global numbering" of tables and figures.
18
18
19
+ % Package to display images
20
+ \usepackage {graphicx }
21
+ % Option to set maximum width, courtesy of https://github.com/jgm/pandoc-templates/blob/master/default.latex.orig
22
+ \makeatletter
23
+ \def\maxwidth {\ifdim \Gin@nat@width >\linewidth\linewidth \else \Gin@nat@width \fi }
24
+ \def\maxheight {\ifdim \Gin@nat@height >\textheight\textheight \else \Gin@nat@height \fi }
25
+ \makeatother
26
+ % Scale images if necessary, so that they will not overflow the page
27
+
19
28
% %%%%%%%%%%%%%
20
29
% Cover page %
21
30
% %%%%%%%%%%%%%
You can’t perform that action at this time.
0 commit comments