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?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this community[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
\usepackage[weather]{ifsym}
\usepackage[weather]{ifsym}
worked for me, thank you!