TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am creating a presentation and for the Q&A session slide, I want to show question marks (?) in various colors and sizes in random locations on the screen.

Is this possible in beamer?

share|improve this question
up vote 7 down vote accepted

Yes, with beamer and tikz it is:

\documentclass[xcolor=rgb]{beamer}
\usepackage{tikz}

\begin{document}

\begin{frame}{Questions}
  \begin{tikzpicture}
    \foreach \i in {1,...,30} {
      \pgfmathparse{rnd}
      \definecolor{MyColor}{hsb}{\pgfmathresult,1,1}
      \pgfmathparse{3.0*rnd+1.0}
      \node[text=MyColor] at (8*rnd,6*rnd) {\scalebox{\pgfmathresult}{?}};
    };
  \end{tikzpicture}
\end{frame}

\end{document}

Here's the result:

enter image description here

share|improve this answer
    
+1 this is great! – cmhughes Feb 26 '13 at 22:39
    
This works great, thanks... – ATOzTOA Feb 27 '13 at 6:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.