# Issue with \Sun symbol in ifsym package

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

\usepackage{ifsym}


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 '17 at 14:08
• try \usepackage[weather]{ifsym} – Troy May 16 '17 at 14:10
• Possible duplicate of How to use the ifsym package? – Troy May 16 '17 at 14:14
• \usepackage[weather]{ifsym} worked for me, thank you! – Tonechas May 16 '17 at 14:18

[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:

MWE

\documentclass{article}
\usepackage[weather]{ifsym}

\begin{document}
We are \Sun\ when the question has been answered.
\end{document}


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