fix issue about logo width (#16)

* fix issue about logo width

* Update wbh.tex

fixed typo - thanks kreativ 🐒

Co-authored-by: Sebastian / sebbo <sebastian@1337lounge.de>
main
aslmx 3 years ago committed by GitHub
parent 9f3040847a
commit afd4faffdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,5 @@
--- ---
logo: Bilder/logo.png
title: Pandoc und Markdown für deine Texte title: Pandoc und Markdown für deine Texte
author: Sebastian Preisner author: Sebastian Preisner
student: student:
@ -6,7 +7,7 @@ student:
email: wbh@calyrium.org email: wbh@calyrium.org
matrikelnr: 900266 matrikelnr: 900266
studium: studium:
studiengang: Technische Informatike studiengang: Technische Informatik
studiengangnr: 1140 studiengangnr: 1140
fach: Freizeitgestaltung fach: Freizeitgestaltung
aufgabe: aufgabe:

@ -52,6 +52,8 @@ $endif$
\usepackage[subfigure,titles]{tocloft} \usepackage[subfigure,titles]{tocloft}
\usepackage{helvet} \usepackage{helvet}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage[export]{adjustbox} % also loads graphicx, to have max width for graphics
$if(tables)$ $if(tables)$
\usepackage{longtable,booktabs} % This two Packages are needet for Pandoc Table support. Issue is opened: https://github.com/jgm/pandoc/issues/1023 \usepackage{longtable,booktabs} % This two Packages are needet for Pandoc Table support. Issue is opened: https://github.com/jgm/pandoc/issues/1023
@ -258,7 +260,7 @@ $endif$
\thispagestyle{empty} \thispagestyle{empty}
\begin{center} \begin{center}
$if(logo)$ $if(logo)$
\includegraphics[]{$logo$}\\ \includegraphics[max width=\textwidth]{$logo$}\\
$endif$ $endif$
\vspace*{2cm} \vspace*{2cm}
\Large \Large

Loading…
Cancel
Save