mirror of
https://github.com/tu-darmstadt-informatik/tudadesign.git
synced 2025-12-13 09:55:48 +00:00
Patch by David Kreitschmann, fixing problem with colorback
This commit is contained in:
parent
d723553ffc
commit
c104bb4d5a
@ -139,6 +139,8 @@
|
|||||||
\fi%
|
\fi%
|
||||||
\addtolength{\textwidth}{\marginparwidth + \marginparsep}%
|
\addtolength{\textwidth}{\marginparwidth + \marginparsep}%
|
||||||
\setlength{\linewidth}{\textwidth}%
|
\setlength{\linewidth}{\textwidth}%
|
||||||
|
\newlength{\@TUD@tmp@parwidth}
|
||||||
|
\setlength{\@TUD@tmp@parwidth}{\marginparwidth + \marginparsep}
|
||||||
\setlength{\marginparwidth}{0pt}\setlength{\marginparsep}{0pt}%
|
\setlength{\marginparwidth}{0pt}\setlength{\marginparsep}{0pt}%
|
||||||
%\@parskipfalse\@parskip@indent%
|
%\@parskipfalse\@parskip@indent%
|
||||||
\parskip=0pt%
|
\parskip=0pt%
|
||||||
@ -413,20 +415,20 @@
|
|||||||
\setlength{\TUD@colorbackheight}{\textheight-\TUD@colorbacktitleheight+\headsep+\footskip-\TUD@sponsorheight}
|
\setlength{\TUD@colorbackheight}{\textheight-\TUD@colorbacktitleheight+\headsep+\footskip-\TUD@sponsorheight}
|
||||||
\ifTUD@colorbacktitle%
|
\ifTUD@colorbacktitle%
|
||||||
\AddToShipoutPicture*{%
|
\AddToShipoutPicture*{%
|
||||||
\AtTextUpperLeft{\put(0,\LenToUnit{\headsep}){%
|
\AtTextUpperLeft{\put(\LenToUnit{\@TUD@tmp@parwidth},\LenToUnit{\headsep}){%
|
||||||
\TUD@accentcolor{\rule[-\TUD@colorbacktitleheight]{\textwidth}{\TUD@colorbacktitleheight}}%
|
\TUD@accentcolor{\rule[-\TUD@colorbacktitleheight]{\textwidth}{\TUD@colorbacktitleheight}}%
|
||||||
}}%
|
}}%
|
||||||
}%
|
}%
|
||||||
\fi%
|
\fi%
|
||||||
\ifTUD@titlepicture%
|
\ifTUD@titlepicture%
|
||||||
\AddToShipoutPicture*{%
|
\AddToShipoutPicture*{%
|
||||||
\AtTextLowerLeft{\put(0,\LenToUnit{-\footskip}){\put(0,\LenToUnit{\TUD@sponsorheight}){%
|
\AtTextLowerLeft{\put(\LenToUnit{\@TUD@tmp@parwidth},\LenToUnit{-\footskip}){\put(0,\LenToUnit{\TUD@sponsorheight}){%
|
||||||
\resizebox*{\textwidth}{\TUD@colorbackheight}{\@TUD@includetitlepicture}%
|
\resizebox*{\textwidth}{\TUD@colorbackheight}{\@TUD@includetitlepicture}%
|
||||||
}}}%
|
}}}%
|
||||||
}%
|
}%
|
||||||
\else\ifTUD@colorback%
|
\else\ifTUD@colorback%
|
||||||
\AddToShipoutPicture*{%
|
\AddToShipoutPicture*{%
|
||||||
\AtTextLowerLeft{\put(0,\LenToUnit{-\footskip}){\put(0,\LenToUnit{\TUD@sponsorheight}){%
|
\AtTextLowerLeft{\put(\LenToUnit{\@TUD@tmp@parwidth},\LenToUnit{-\footskip}){\put(0,\LenToUnit{\TUD@sponsorheight}){%
|
||||||
\TUD@accentcolor{\rule{\textwidth}{\TUD@colorbackheight}}%
|
\TUD@accentcolor{\rule{\textwidth}{\TUD@colorbackheight}}%
|
||||||
}}}%
|
}}}%
|
||||||
}%
|
}%
|
||||||
@ -438,7 +440,7 @@
|
|||||||
\fi%
|
\fi%
|
||||||
\ifx\@sponsor\@empty\else%
|
\ifx\@sponsor\@empty\else%
|
||||||
\AddToShipoutPicture*{%
|
\AddToShipoutPicture*{%
|
||||||
\AtTextLowerLeft{\put(0,\LenToUnit{-\footskip}){%
|
\AtTextLowerLeft{\put(\LenToUnit{\@TUD@tmp@parwidth},\LenToUnit{-\footskip}){%
|
||||||
\usebox{\TUD@sponsorbox}%
|
\usebox{\TUD@sponsorbox}%
|
||||||
}}%
|
}}%
|
||||||
}%
|
}%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user