Commit f8481c69 by Remus M. Prunescu

Fixed bug in aspect ratio 16:9: a wild white bar appeared at the top of the…

Fixed bug in aspect ratio 16:9: a wild white bar appeared at the top of the beamer frame when background color was changed. Replaced the white DTU logo.
parent dfb8c553
\documentclass[aspectratio=43]{beamer}
\documentclass[aspectratio=169]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
......@@ -9,7 +9,7 @@
\usepackage{siunitx}
% Latin Modern
%\usepackage{lmodern}
\usepackage{lmodern}
% Verdana font type
%\usepackage{verdana}
% Helvetica
......@@ -17,8 +17,8 @@
% Times (text and math)
%\usepackage{newtx, newtxmath}
% Nice font combination
\usepackage{mathptmx} % math
\usepackage{sourcesanspro} % sans-serif
%\usepackage{mathptmx} % math
%\usepackage{sourcesanspro} % sans-serif
\usepackage{charter} % serif
\usetheme[department=miljo]{DTU}
......@@ -183,7 +183,7 @@
\small
\begin{tikzpicture}
\begin{axis}[
width=0.6\textwidth,
width=0.4\textwidth,
grid=major,
title={Model Validation},
xlabel={X},
......
......@@ -94,13 +94,13 @@
\ifdefstring{\inLanguage}{danish}
{
\renewcommand{\institutetitle}{Danmarks Tekniske Universitet}
\renewcommand{\insertDTUWhiteLogo}{\includegraphics[height=\dimDTULogoHeight]{tex_dtu_dk_a1_neg}}
\renewcommand{\insertDTUWhiteLogo}{\includegraphics[width=\dimDTULogoWidth]{tex_dtu_logo_white}}
}
{
\ifdefstring{\inLanguage}{english}
{
\renewcommand{\institutetitle}{Technical University of Denmark}
\renewcommand{\insertDTUWhiteLogo}{\includegraphics[height=\dimDTULogoHeight]{tex_dtu_uk_a1_neg}}
\renewcommand{\insertDTUWhiteLogo}{\includegraphics[width=\dimDTULogoWidth]{tex_dtu_logo_white}}
}
{
% Undefined language
......@@ -222,8 +222,8 @@
\color{white}
}
\define@key{beamerframe}{bgfilename}{%
\setbeamertemplate{background}{
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{#1}
\setbeamertemplate{background}{%
\includegraphics[width=\paperwidth,height=\paperheight]{#1}
}
}
% Default framestyle
......
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: cairo 1.15.2 (http://cairographics.org)
%%CreationDate: Mon Apr 24 23:36:50 2017
%%Pages: 1
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%BoundingBox: 0 -1 39 57
%%EndComments
%%BeginProlog
save
50 dict begin
/q { gsave } bind def
/Q { grestore } bind def
/cm { 6 array astore concat } bind def
/w { setlinewidth } bind def
/J { setlinecap } bind def
/j { setlinejoin } bind def
/M { setmiterlimit } bind def
/d { setdash } bind def
/m { moveto } bind def
/l { lineto } bind def
/c { curveto } bind def
/h { closepath } bind def
/re { exch dup neg 3 1 roll 5 3 roll moveto 0 rlineto
0 exch rlineto 0 rlineto closepath } bind def
/S { stroke } bind def
/f { fill } bind def
/f* { eofill } bind def
/n { newpath } bind def
/W { clip } bind def
/W* { eoclip } bind def
/BT { } bind def
/ET { } bind def
/pdfmark where { pop globaldict /?pdfmark /exec load put }
{ globaldict begin /?pdfmark /pop load def /pdfmark
/cleartomark load def end } ifelse
/BDC { mark 3 1 roll /BDC pdfmark } bind def
/EMC { mark /EMC pdfmark } bind def
/cairo_store_point { /cairo_point_y exch def /cairo_point_x exch def } def
/Tj { show currentpoint cairo_store_point } bind def
/TJ {
{
dup
type /stringtype eq
{ show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse
} forall
currentpoint cairo_store_point
} bind def
/cairo_selectfont { cairo_font_matrix aload pop pop pop 0 0 6 array astore
cairo_font exch selectfont cairo_point_x cairo_point_y moveto } bind def
/Tf { pop /cairo_font exch def /cairo_font_matrix where
{ pop cairo_selectfont } if } bind def
/Td { matrix translate cairo_font_matrix matrix concatmatrix dup
/cairo_font_matrix exch def dup 4 get exch 5 get cairo_store_point
/cairo_font where { pop cairo_selectfont } if } bind def
/Tm { 2 copy 8 2 roll 6 array astore /cairo_font_matrix exch def
cairo_store_point /cairo_font where { pop cairo_selectfont } if } bind def
/g { setgray } bind def
/rg { setrgbcolor } bind def
/d1 { setcachedevice } bind def
%%EndProlog
%%BeginSetup
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
%%PageBoundingBox: 0 -1 39 57
%%EndPageSetup
q 0 -1 39 58 rectclip q
1 g
2.5 56.66 m 2.348 56.66 2.254 56.613 2.184 56.543 c 2.113 56.476 2.07 56.383
2.07 56.226 c 2.07 36.515 l 2.07 36.359 2.113 36.265 2.184 36.199 c 2.254
36.129 2.348 36.082 2.5 36.082 c 7.656 36.082 l 9.66 36.082 10.883 36.539
11.621 37.5 c 12.715 38.808 12.75 40.922 12.75 44.16 c 12.75 48.582 l 12.75
51.82 12.715 53.933 11.621 55.246 c 10.883 56.203 9.66 56.66 7.656 56.66
c h
5.344 54.254 m 7.156 54.254 l 7.965 54.254 8.441 54.121 8.813 53.676 c
9.387 52.992 9.434 51.605 9.434 48.808 c 9.434 43.933 l 9.434 41.137 9.387
39.75 8.813 39.062 c 8.441 38.621 7.965 38.488 7.156 38.488 c 5.344 38.488
l h
36.66 56.226 m 36.66 56.383 36.613 56.476 36.547 56.543 c 36.477 56.613
36.383 56.66 36.227 56.66 c 33.816 56.66 l 33.664 56.66 33.57 56.613 33.504
56.543 c 33.434 56.476 33.387 56.383 33.387 56.226 c 33.387 41.676 l 33.387
40.156 33.27 39.254 32.777 38.711 c 32.445 38.344 31.973 38.164 31.309
38.164 c 30.703 38.164 30.25 38.328 29.898 38.715 c 29.434 39.226 29.289
40.101 29.289 41.676 c 29.289 56.226 l 29.289 56.383 29.246 56.476 29.176
56.547 c 29.109 56.613 29.016 56.66 28.859 56.66 c 26.449 56.66 l 26.297
56.66 26.199 56.613 26.133 56.547 c 26.063 56.476 26.02 56.383 26.02 56.226
c 26.02 41.672 l 26.02 39.551 26.309 38.222 27.148 37.297 c 28.023 36.332
29.348 35.824 31.352 35.824 c 33.379 35.824 34.684 36.367 35.484 37.301
c 36.43 38.394 36.66 39.703 36.66 41.672 c h
21.102 36.515 m 21.102 36.359 21.055 36.265 20.984 36.195 c 20.918 36.129
20.824 36.082 20.672 36.082 c 18.031 36.082 l 17.879 36.082 17.785 36.129
17.719 36.195 c 17.648 36.265 17.602 36.359 17.602 36.515 c 17.602 54.058
l 14.508 54.058 l 14.352 54.058 14.258 54.105 14.188 54.172 c 14.117 54.242
14.074 54.336 14.074 54.488 c 14.074 56.226 l 14.074 56.383 14.117 56.476
14.188 56.543 c 14.258 56.613 14.352 56.66 14.508 56.66 c 24.195 56.66
l 24.352 56.66 24.445 56.613 24.516 56.543 c 24.582 56.476 24.629 56.383
24.629 56.226 c 24.629 54.492 l 24.629 54.336 24.582 54.242 24.516 54.172
c 24.445 54.105 24.352 54.058 24.195 54.058 c 21.102 54.058 l 21.102 36.515
l f
38.844 25.785 m 30.574 21.449 l 19.871 25.609 18.973 25.609 8.266 21.449
c 0 25.785 l 8.266 30.129 l 18.973 25.961 19.871 25.961 30.574 30.129 c
h
38.844 15.062 m 30.574 10.722 l 19.871 14.887 18.973 14.887 8.266 10.722
c 0 15.062 l 8.266 19.402 l 18.973 15.238 19.871 15.238 30.574 19.402 c
h
38.844 4.336 m 30.574 -0 l 19.871 4.16 18.973 4.16 8.266 -0 c 0 4.336 l
8.266 8.676 l 18.973 4.512 19.871 4.512 30.574 8.676 c 38.844 4.336 l f
Q Q
showpage
%%Trailer
end restore
%%EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment