% Definice makra \smajlik:
\def\smajlik #1{\hbox to1.59cm{\usmev{#1}\vbox to1cm{}\pdfliteral{
  q .1 0 0 .1 0 0 cm
  0 214.857 444 -215 re W n
  0.701961 g
  443.43 107.427 m 443.43 48.099 344.164 0.002 221.715 0.002 c 99.266
  0.002 0 48.099 0 107.427 c 0 166.759 99.266 214.857 221.715 214.857 c
  344.164 214.857 443.43 166.759 443.43 107.427 c h
  443.43 107.427 m f
  0 g
  194.285 133.713 m 194.285 128.033 176.379 123.427 154.285 123.427 c
  132.195 123.427 114.285 128.033 114.285 133.713 c 114.285 139.396
  132.195 144.002 154.285 144.002 c 176.379 144.002 194.285 139.396
  194.285 133.713 c h
  194.285 133.713 m f
  317.715 132.572 m 317.715 118.685 304.41 107.427 288 107.427 c 271.59
  107.427 258.285 118.685 258.285 132.572 c 258.285 146.459 271.59
  157.713 288 157.713 c 304.41 157.713 317.715 146.459 317.715 132.572 c
  h
  317.715 132.572 m f
  0.776471 0 0 RG
  15.68 w
  1 J
  0 j
  [] 0.0 d
  4 M q 1 0 0 -1 0 214.857132 cm
  130.285 130.285 m 130.285 130.285 214.855 \theusmev 306.285 134.855 c S Q
  Q
}\hfil}}

\newcount\unum
\def\usmev#1{\unum=#1 \multiply\unum by10 \advance\unum by130 
  \edef\theusmev{\the\unum\space}}


% Použití makra \smajlik:
Smajlíky: 

\noindent \smajlik{-3}, \smajlik{-2}, \smajlik{-1}, \smajlik{0},
\smajlik1, \smajlik2, \smajlik3, \smajlik4, \smajlik5.

To je vše.

\end

