summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
blob: 8df3daa088bbea497c19121b92d1141d4d957222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\documentclass{article}
\usepackage[papersize={2cm,2cm},margin=1pt]{geometry}
\usepackage{color}
\definecolor{yellow}{rgb}{1,1,0.9}
\def\cislo#1{
  \begin{flushright}
    \fcolorbox{red}{yellow}{
    \begin{minipage}{0.3\linewidth}
      \LARGE #1
    \end{minipage}}
  \end{flushright}
\newpage
}
\begin{document}
\begin{flushright}
  \fcolorbox{red}{yellow}{{\begin{minipage}{0.8\linewidth}
      Einstein:\\[4pt]
    $E=mc^2$
  \end{minipage}}}
\end{flushright}
\newpage
 \cislo{1}
 \cislo{2}
 \cislo{3}
 \cislo{4}
 \cislo{5}
 \cislo{6}

\end{document}