I have installed the ifsym package and added the following line to my .tex file:


When I try printing the sun symbol through \Sun I get this error:

! Undefined control sequence. l.226
Testing \Sun

What am I missing?

  • Hi, welcome to TeX.SX, you could be missing one of many things, or none at all... It's hard to tell without a Minimal Working Example (MWE). Please add that so we can try and see what's up.
    – Elad Den
    May 16, 2017 at 14:08
  • 2
    try \usepackage[weather]{ifsym}
    – Troy
    May 16, 2017 at 14:10
  • Possible duplicate of How to use the ifsym package?
    – Troy
    May 16, 2017 at 14:14
  • \usepackage[weather]{ifsym} worked for me, thank you!
    – Tonechas
    May 16, 2017 at 14:18

1 Answer 1


[Converting my comment into an answer]

You need to pass the appropriate option when loading the ifsym package to access the symbols. In your case, you need to pass the option weather, like so:



    We are \Sun\ when the question has been answered.


Related answer provided by Andrew: https://tex.stackexchange.com/a/100578/117534

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .