I have the command \underline in several parts of my document. I would like to check how it looks without any underlining. But I don't want to recover all the instances of the \underline command in case I change my mind.

How can I achieve this? Instructing the compiler to ignore all instances of a command would work, I guess? But I don't know how to.

I use the Overleaf platform.

  • Welcome to TeX.SE.
    – Mico
    Commented Feb 12 at 4:58

1 Answer 1


I suggest you run


enter image description here



You must log in to answer this question.

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