mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2025-01-09 06:22:39 +00:00
added page-logo in .tex
This commit is contained in:
parent
27fb7e4555
commit
32c845ac4c
20
eisvogel.tex
20
eisvogel.tex
@ -564,6 +564,10 @@ $if(page-background)$
|
|||||||
\usepackage[pages=all]{background}
|
\usepackage[pages=all]{background}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
|
$if(page-logo)$
|
||||||
|
\usepackage[pages=all]{background}
|
||||||
|
$endif$
|
||||||
|
|
||||||
%
|
%
|
||||||
% for the background color of the title page
|
% for the background color of the title page
|
||||||
%
|
%
|
||||||
@ -873,6 +877,22 @@ contents={%
|
|||||||
}%
|
}%
|
||||||
}
|
}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
|
$if(page-logo)$
|
||||||
|
\backgroundsetup{
|
||||||
|
scale=1,
|
||||||
|
color=black,
|
||||||
|
opacity=$if(page-logo-opacity)$$page-logo-opacity$$else$0.5$endif$,
|
||||||
|
angle=0,
|
||||||
|
position=current page.south east,
|
||||||
|
nodeanchor=south east,
|
||||||
|
hshift=-$if(page-logo-hshift)$$page-logo-hshift$$else$2.5cm$endif$,
|
||||||
|
contents={%
|
||||||
|
\ifnum\value{page}=1 \else \includegraphics[height=$if(page-logo-high)$$page-logo-high$$else$2cm$endif$]{$page-logo$} \fi
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
$endif$
|
||||||
|
|
||||||
$endif$
|
$endif$
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user