How to include or exclude the correct answer when exporting exam document to pdf?

I’m trying to write a multiple choices quiz with texmacs. In latex using exam package, I can print the answers with adding command \printanswers. How to achieve this in texmacs?

When you select the “exam” style, you should get an icon of an “eye” on the toolbar. There you can select whether you want show or hide answers

1 Like