Skip to content
Snippets Groups Projects

Sazba diplomů

Merged Martin Mareš requested to merge diplomy into devel
Compare and Show latest version
1 file
+ 17
2
Compare changes
  • Side-by-side
  • Inline
+ 17
2
@@ -84,6 +84,20 @@
@@ -84,6 +84,20 @@
\def\signatures{
\def\signatures{
\edef\tmp{\signerAname\signerAtitle\signerBname\signerBtitle}
\edef\tmp{\signerAname\signerAtitle\signerBname\signerBtitle}
\ifx\tmp\empty\else
\ifx\tmp\empty\else
 
\setbox0=\sign{\signerAname}{\signerAtitle}
 
\setbox1=\sign{\signerBname}{\signerBtitle}
 
\ifdim\wd0=0pt
 
\line{\hss\box1\hss}
 
\else\ifdim\wd1=0pt
 
\line{\hss\box0\hss}
 
\else
 
\dimen0=\wd0
 
\ifdim\wd1 > \dimen0
 
\dimen0=\wd1
 
\fi
 
\line{\hss\hbox to \dimen0{\hfil\box0\hfil}\hskip 0pt plus 0.7fil\hbox to \dimen0{\hfil\box1\hfil}\hss}
 
\fi\fi
 
\iffalse
\line{%
\line{%
\hss
\hss
\sign{\signerAname}{\signerAtitle}
\sign{\signerAname}{\signerAtitle}
@@ -99,14 +113,15 @@
@@ -99,14 +113,15 @@
\sign{\signerBname}{\signerBtitle}
\sign{\signerBname}{\signerBtitle}
\hss
\hss
}
}
 
\fi
\fi
\fi
}
}
\def\sign#1#2{\hlap{\vtop{\halign{%
\def\sign#1#2{\vtop{\halign{%
\hfil\fontsize{12}##\hfil\cr
\hfil\fontsize{12}##\hfil\cr
#1\cr\noalign{\vskip 3pt}
#1\cr\noalign{\vskip 3pt}
#2\cr
#2\cr
}}}}
}}}
\def\bottomline{
\def\bottomline{
\line{
\line{
Loading