I am designing gamecards in LaTeX
Everything is going pretty ok so far but when i try to insert the %-sign for a question about percentages my file keeps giving errors.
I tried putting the percentage between dollarsigns because i know just % will make it a 'remark' and that the dollarsign makes it 'mathematical data'.
Whats the reason for the error?
P.s. the error says: file ended while scanning use of \kaart. ...
Codesample:
{\kaart{Bekijk statistiek kaart F:
Schat het percentage mensen dat als lievelingseten spaghetti opgaven, je mag er slechts $ 2% $ langs zitten. } { $ 11% $}}

%is a comment character, leading to errors (in most cases). You want to use\%or, better usesiunitxand\SI{11}{\percent}for example. There's\textpercentalso – May 24 '16 at 14:37%,#,_,$etc. They all must be escaped with , i.e.\%,\#,\_,\$to get their literal meaning, otherwise, they act as commands, switching to a certain behaviour, like$entering the math mode – May 24 '16 at 14:41\textpercent,\textdollar– May 24 '16 at 14:44\textpercentcommand, apparently – May 24 '16 at 15:50