WeBWorK Main Forum

inserting space in a latex formula

inserting space in a latex formula

by joel robbin -
Number of replies: 1
The code
$BR
\( \hspace{1in} x=\}\{ ans_rule(20)\}
$BR
works as expected but the code
$BR
\( \hspace{1in} x=\}\{ ans_rule(20)\}\( \hspace{1in} y=\}\{ ans_rule(20)\}
$BR
does not. What do I do to insert space as I want?
In reply to joel robbin

Re: inserting space in a latex formula

by joel robbin -
There is a pg command $SPACE.
$BR
\( \hspace{1in} x=\)\{ ans_rule(20)\} $SPACE \(y=\}\{ ans_rule(20)\}
$BR
does what I want.