I would like to comment multiple lines in TeXworks (installed as part of MiKTeX) and I need to know the keyboard trick for commenting/uncommenting at once.


1 Answer 1


MiKTeX installs the TeXworks editor as standard. This has the ability to add/remove comments from multiple line (placing % at the start) using the shortcuts Ctrl+Shift+] (insert comment)/Ctrl+Shift+[ (remove comment). The key binds can be customised (particularly useful if your keyboard makes these combinations inconvenient).


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .