Skip to content
Snippets Groups Projects
Commit 003a892c authored by Martin Mareš's avatar Martin Mareš
Browse files

Diplomy/sazba: Lepší zarovnání podpisů

parent bb4a9939
No related branches found
No related tags found
1 merge request!137Sazba diplomů
......@@ -84,6 +84,20 @@
\def\signatures{
\edef\tmp{\signerAname\signerAtitle\signerBname\signerBtitle}
\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{%
\hss
\sign{\signerAname}{\signerAtitle}
......@@ -100,13 +114,14 @@
\hss
}
\fi
\fi
}
\def\sign#1#2{\hlap{\vtop{\halign{%
\def\sign#1#2{\vtop{\halign{%
\hfil\fontsize{12}##\hfil\cr
#1\cr\noalign{\vskip 3pt}
#2\cr
}}}}
}}}
\def\bottomline{
\line{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment