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 want to create a custom beamer line , for my template to look something like crayon like picture below:

. How can I create it ?

share|improve this question
It is not about beamer but diagramming. – kiss my armpit Nov 17 '13 at 19:08
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document. Also it would be great if you could elaborate a bit more on what you mean with "beamer line". – Benedikt Bauer Nov 17 '13 at 19:08
If I understand correctly, the OP asks for a specific style of line, not a particular diagram. – mbork Nov 17 '13 at 19:43

This should get you going:


\begin{tikzpicture}[crayon/.style={very thick, line cap=round, line join=round,
  decoration={random steps, segment length=0.5pt, amplitude=0.25pt}, decorate}]

\foreach \l/\c [count=\y] in {A/blue!50!gray, B/orange, C/green!50!brown, D/brown!50!black}
   \path [crayon, draw=\c] (0,-\y/2) -- (6,-\y/2) node [at start, left, font=\sffamily, text=\c] {\l};

\path [crayon, draw=red!75!black] (0,0) -- (3,-3) -- (6,0);


enter image description here

share|improve this answer

With PSTricks just for fun!

\pstVerb{realtime srand}

    \curvepnodes[plotpoints=#6]{#2}{#4}{t #5 #3 sub #4 #2 sub div t #2 sub mul #3 add .25 Rand sub 30 div add}{P}

\foreach \y/\l/\c in {0/A/red,-1/B/green,-2/C/blue}{\rput(-2.2,\y){\textcolor{\c}{\l}}\curlyline[linecolor=\c](-2,\y)(2,\y){150}}

enter image description here

share|improve this answer

Your Answer


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.