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

Silly question: I want to use a heart (♥) character in my presentation.

I'm already using xelatex as engine so it doesn't complain for the character itself but it doesn't render it. Just a blank space where the character should be.

Here is the snippet of the offending code:

    (Celery + RabbitMQ) ♥  Django

Notice that I'm using markdown for the input format.

This is how I make the pdf

pandoc -t beamer --latex-engine=xelatex \
    in.md -oout.pdf --slide-level=2

I'm new to pandoc and latex in general.

♥ Thanks ♥

share|improve this question
Maybe you need this : tex.stackexchange.com/a/9643/9467 – kiss my armpit Aug 22 '12 at 16:20
Great! used $\heartsuit$ instead of ♥ and it worked great. If you put that as an answer i'll accept it. – tutuca Aug 22 '12 at 16:49
Could newunicodechar help? – clemens Aug 22 '12 at 21:38
There was nothing wrong with the edit, so why the bitter remark in the edit reasoning? – percusse Aug 22 '12 at 22:30
Oh, we are kind of hiding in this obscure corner of SE. It's very easy to get rep here so people don't bother with 2 points. Besides, we have the amazing lockstep who is the edit/tag master (probably will visit this question too, check his edit stats :P). Just a reminder Not upvoting is preferred over Downvoting, hence less hassle and moar fun. If you see a question stuck at -1, it means that there is something seriously wrong about that question so we don't downvote more than -1. Other than that it's a pretty relaxed place. – percusse Aug 23 '12 at 6:42
up vote 11 down vote accepted

Maybe you need this answer.

enter image description here

share|improve this answer
I just needed to use the latex sintax in the document. Time to learn some more latex. I'm loving pandoc. – tutuca Aug 22 '12 at 22:25

The following works for me:



share|improve this answer

If you want a tikzsolution this works

\draw[fill=black,thick,domain=0:2*pi,variable=\t,samples=100] %
plot ({16*sin(\t r)^3} , {13*cos(\t r) - 5*cos(2*\t r) - 2*cos(3*\t r) - cos(4*\t r) });

This code was a result from a small discussion in chat, thanks to percusse.

Parametric equation for an heart.

share|improve this answer
For the current scale and samples values, there is a glitch at the bottom corner. Increasing either one can get rid of such a glitch. – kiss my armpit Aug 23 '12 at 3:20

Just another fun stuff with PSTricks. Compile the given code with xelatex because the code use JPEG image with which latex-dvips-ps2pdf sequence cannot work.

User Defined Data



enter image description here

enter image description here

Complete Code


% user defined data

% internal used data

    \psparametricplot{0}{2.5 .25 exp}{t^2  | 0.8*(sqrt(2.5-t^4)+t)}
    \psparametricplot{2.5 .25 exp}{0}{t^2  | 0.8*(-sqrt(2.5-t^4)+t)}
    \psparametricplot{0}{2.5 .25 exp}{-t^2 | 0.8*(-sqrt(2.5-t^4)+t)}
    \psparametricplot{2.5 .25 exp}{0}{-t^2 | 0.8*(sqrt(2.5-t^4)+t)}





share|improve this answer
I'm not sure if I should feel amused, flattered or disturbed :D – tutuca Aug 23 '12 at 1:06
@tutuca: hopefully it is not the last one. :-) – kiss my armpit Aug 23 '12 at 1:08

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.