Commit c8452c68 authored by Matej Čižik's avatar Matej Čižik Committed by Jan Kasprzak
Browse files

istimetables.tex: vyhodena prestvba boxu podla vysky - uz by nemala byt potrebna

parent 4c65a129
Loading
Loading
Loading
Loading
+28 −28
Original line number Diff line number Diff line
@@ -614,36 +614,36 @@ filecolor= cyan% color of local files links
     }}{#5}}}
}
% konec boxu - pokud je vyssi nex max., prestavime ho dle vysky:
\ifdim\ht\zahlavi>\maxlogoheight
\mbox{\noindent\setsmalllogo\hfill\raisebox{-0.2\logowidth}[0pt][0pt]%
    {\textbf{\scaletoheight{\maxlogoheight}%
    {\saytimetable %
     \ifx\ttcode\teacher%
      \ifnum#2>1\sayteachers\else\sayteacher
       \setcounter{nofont}{7}\fi\ \else%
        \ifx\ttcode\dept%
         \ifnum#2>1\saydepts\else\saydept
          \setcounter{nofont}{6}\fi\ \else%
           \ifx\ttcode\room \ifnum#2>1\sayrooms\else\sayroom%
            \setcounter{nofont}{5}\fi\ \else%
             \ifx\ttcode\all\sayall\else%
              \ifx\ttcode\student%
               \ifnum#2>1\saystudents\else\saystudent\fi\ \else% 
                \ifx\ttcode\course%
                 \ifnum#2>1\saycourses\else\saycourse
                  \setcounter{nofont}{9}\fi\ \else%
                \fi%
              \fi%
             \fi%
           \fi%
        \fi%
     \fi%
     \ifnum#2>3 \xxx#3\endxxx\,\ldots\else#3\fi 
     }}}\hfill\setsmalllogo}
\else
%\ifdim\ht\zahlavi>\maxlogoheight
%\mbox{\noindent\setsmalllogo\hfill\raisebox{-0.2\logowidth}[0pt][0pt]%
%    {\textbf{\scaletoheight{\maxlogoheight}%
%    {\saytimetable %
%     \ifx\ttcode\teacher%
%      \ifnum#2>1\sayteachers\else\sayteacher
%       \setcounter{nofont}{7}\fi\ \else%
%        \ifx\ttcode\dept%
%         \ifnum#2>1\saydepts\else\saydept
%          \setcounter{nofont}{6}\fi\ \else%
%           \ifx\ttcode\room \ifnum#2>1\sayrooms\else\sayroom%
%            \setcounter{nofont}{5}\fi\ \else%
%             \ifx\ttcode\all\sayall\else%
%              \ifx\ttcode\student%
%               \ifnum#2>1\saystudents\else\saystudent\fi\ \else% 
%                \ifx\ttcode\course%
%                 \ifnum#2>1\saycourses\else\saycourse
%                  \setcounter{nofont}{9}\fi\ \else%
%                \fi%
%              \fi%
%             \fi%
%           \fi%
%        \fi%
%     \fi%
%     \ifnum#2>3 \xxx#3\endxxx\,\ldots\else#3\fi 
%     }}}\hfill\setsmalllogo}
%\else
\mbox{\noindent\setsmalllogo\hfill\raisebox{-0.2\logowidth}[0pt][0pt]%
	{\box\zahlavi}\hfill\setsmalllogo}
\fi
%\fi
\vspace*{-4mm}
% don't typeset room's code in its timetable
\ifnum\value{nofont}=5