\def\exx{\exwith{*}}
\def\exxx{\exwith{*\kern-0.1em*}}
-% Napoveda, pise se pod cviceni, ale casem se bude sama sazet na jinem miste knizky
-\long\def\hint#1{\par
-\>\em{Hint:} #1}
+% Napovedy (pise se pod cviceni, sazi se samostatne pomoci \hints)
+
+\newwrite\hintaux
+\immediate\openout\hintaux=hints.aux
+
+\long\def\hint#1{
+% \par\>\em{Hint:} #1
+\immediate\write\hintaux{\noexpand\realhint{\the\excount}{\unexpanded{#1}}
+}}
+
+\def\realhint#1#2{\par
+\>\llap{\hbox to 1.5em{#1.\hfil}}%
+#2}
+
+\def\hints{
+\immediate\closeout\hintaux
+\h{Nápovìdy ke cvièením}
+\nobreak
+{
+\advance\leftskip by 1.5em
+\parindent=0pt
+\input hints.aux
+\par
+}
+}
% Reseni cviceni, pise pod cviceni (a pripadne pod \hint)
-\long\def\solution#1{\par
-\>\em{Øe¹ení:} #1}
+%\long\def\solution#1{\par
+%\>\em{Øe¹ení:} #1}
%%% Odkazy na kapitoly a jine objekty %%%