Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.09k stars 959 forks source link

Question: Adjust position of title page logo #251

Closed tagnullde closed 2 years ago

tagnullde commented 3 years ago

Hey thanks for this great template. I don't speak latex at all, so I have a hard to to figure out how to move the logo. As a first step it would be sufficient to move it from it's default position (on the title page that is) more to to the right. How can I do this? I looked into the latex file for "logo" - but didn't find any X/Y coordinates that tells the logo where it should show up.

Wandmalfarbe commented 2 years ago

The logo is currently embedded in the normal text and is not positioned absolute on the page:

$if(logo)$
\noindent
\includegraphics[width=$if(logo-width)$$logo-width$$else$35mm$endif$, left]{$logo$}
$endif$

You could modify this by placing \hspace{4cm} or some other command in the right place:

$if(logo)$
\noindent
\hspace{4cm}\includegraphics[width=$if(logo-width)$$logo-width$$else$35mm$endif$, left]{$logo$}
$endif$

This is untested code and may not work. However, it should point you in the right direction.