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 having plots in my text. In the plots, the data sets are represented by different symbols. I'd like to explain data sets by using the symbols in the caption of the figure too. How can I insert that symbols into te caption ?

for example:

Caption of a Figure

share|improve this question
unfortunately, I don't have any idea how to solve this problem and I don't even know what the \protect is for – Yirmidokuz Mar 17 '13 at 18:27
I'd recommend (a) keeping the caption short and (b) putting the This work: ... [blue open pentagon]. material into a legend. – Mico Mar 17 '13 at 18:53
I think the Mico's recomendation is the best idea. – jpayansomet Mar 17 '13 at 19:26
up vote 5 down vote accepted

You can find the symbols you need in symbols-a4.pdf. You can change their colour using the color package or the xcolor package.

\centering\rule{4cm}{4cm} %Replace with image.

It might take some effort to get all the colours and sizes exactly right, though.

share|improve this answer
wow thanks, I didn't expect the solution will be that difficult. – Yirmidokuz Mar 17 '13 at 20:32

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.