summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-02-22 19:55:16 +0000
committerKarl Berry <karl@freefriends.org>2007-02-22 19:55:16 +0000
commit2f5894cda3e5c9c65f3a7c15097ccab670381247 (patch)
tree53c749decfdbb74760a33b4861a93d3cc0562458 /Master/texmf-dist/doc/latex/fancytooltips/tip.tex
parent7144b710518294eb640d7f28ff4ff08b656fd35d (diff)
new latex package fancytooltips, 19feb07
git-svn-id: svn://tug.org/texlive/trunk@3982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/fancytooltips/tip.tex')
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/tip.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/tip.tex b/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
new file mode 100644
index 00000000000..8df3daa088b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
@@ -0,0 +1,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}