5

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?

Tonechas
  • 976

1 Answers1

9

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

sunny

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

Troy
  • 13,741