3
0
Fork 0
mirror of https://github.com/fsr/nopanic synced 2025-01-19 00:11:42 +01:00

fix timetable for 2 col parallel events

This commit is contained in:
Peter Nerlich 2021-09-21 23:39:42 +02:00
parent f3bdfb5634
commit 01175b30fd

View file

@ -222,7 +222,7 @@
} }
\addcase\dothis{1}{} \addcase\dothis{1}{}
\addcase\dothis{7}{} \addcase\dothis{7}{}
\addcase\dothis{2}{\addtolength{\@startposx}{\@colwdth}\addtolength{\@offset}{\@colwdth}} \addcase\dothis{2}{\addtolength{\@startposx}{\@colwdth}}
\addcase\dothis{3}{ \addcase\dothis{3}{
\addtolength{\@startposx}{\@colwidth-10pt} \addtolength{\@startposx}{\@colwidth-10pt}
% \addtolength{\@offset}{60pt} % \addtolength{\@offset}{60pt}
@ -333,6 +333,12 @@
\ifthenelse{#9 = 7}{ \ifthenelse{#9 = 7}{
\addtolength{\@newcolleft}{10pt} \addtolength{\@newcolleft}{10pt}
}{} }{}
\ifthenelse{#9 = 1 \OR #9 = 2}{
\addtolength{\@newcolwidth}{-\@colwidth*\real{0.5}}
\ifthenelse{#9 = 2}{
\addtolength{\@newcolleft}{+\@colwidth*\real{0.5}}
} {}
} {}
\ifthenelse{#9 = 3}{ \ifthenelse{#9 = 3}{
\addtolength{\@newcolwidth}{-\@colwidth*\real{0.5}} \addtolength{\@newcolwidth}{-\@colwidth*\real{0.5}}
\addtolength{\@newcolwidth}{11pt} \addtolength{\@newcolwidth}{11pt}
@ -398,7 +404,7 @@
\put(\strip@pt\@newcolleft,\strip@pt\@newrowtop) \put(\strip@pt\@newcolleft,\strip@pt\@newrowtop)
{\begin{minipage}[t]{1.0\@newcolwidth}% {\begin{minipage}[t]{1.0\@newcolwidth}%
\hspace*{\@offset} \hspace*{\@offset}
\@ttfont\raggedright\color{@timetable#8text}{\@bottomstyle #6% \@ttfont\raggedright\color{@timetable#8text}{\@bottomstyle #6%
\vphantom{A}} \vphantom{A}}
\ifthenelse{\value{@printtimestamps} = 1}% \ifthenelse{\value{@printtimestamps} = 1}%
{{\@timestyle \@fmtTime{@endHour}{@endMinute}}}% {{\@timestyle \@fmtTime{@endHour}{@endMinute}}}%