\input opmac

\newdimen\maxhdepth
\newdimen\lastdepth
\newbox\clanekA

\letfont\nadpisfont=\tenbf at40pt

\chyph \emergencystretch=2em \widowpenalty=0 \clubpenalty=0
\hbadness=6000

\tmpdim=\baselineskip  \splittopskip=\tmpdim plus.1pt minus.1pt
\def\ulom[#1]{\setbox0=\vsplit\celybox to #1\baselineskip 
   \vtop{\kern-.3\baselineskip \unvbox0 
         \nointerlineskip\lastbox \global\lastdepth=\prevdepth}%
   \ifhmode \ifdim\lastdepth<\maxhdepth \global\lastdepth=\maxhdepth \fi
            \maxhdepth=\lastdepth \fi}
\def\ulamuj#1{\let\celybox=#1\setbox0=\vsplit\celybox to0pt}
\def\vynech[#1]{\vskip-.7\baselineskip\vskip#1\baselineskip \prevdepth=\lastdepth}

\def\placepic [#1,#2,#3]#4{\tmpdim=\prevdepth \nointerlineskip
   \vbox to0pt{\vss\rlap{\hbox to#2{\hss #3\inspic #4 \hss}}\kern#1}\prevdepth=\tmpdim}

\newdimen\colsep    \colsep=15pt
\newdimen\colwidth  \colwidth=5cm
\newdimen\twocols   \twocols=2\colwidth \advance\twocols by\colsep
                    \hsize=3\colwidth   \advance\hsize by2\colsep

\setbox\clanekA=\vbox{\hsize=\colwidth \penalty0 \input clanekA.tex }
\ulamuj\clanekA

\centerline  {\nadpisfont Odborník}

\hbox{\ulom[18]\kern\colsep
      \vtop{\hbox {\ulom[3]\kern\colsep \ulom[3]}
            \vynech[13] \placepic[0pt,\twocols,\picw=9cm]{ovce1.jpg}
            \hbox {\ulom[2]\kern\colsep \ulom[2]}
     }}

\bigskip \hrule \bigskip

\hbox{\ulom[21]\kern\colsep
      \vtop{\ulom[3]%
            \vynech[14] \placepic[0pt,\twocols,\picw=10.5cm]{ovce2.jpg}
            \ulom[4]}\kern\colsep
      \vtop{\ulom[3]\vynech[14]\ulom[4]}%
     }

\end
